tools/templates/pixlabel.h
author koda
Tue, 07 Feb 2012 00:34:25 +0100
changeset 6634 e00762923086
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
ios game configuration page supports rotation, with some enhancements (like the new slider); some glitches here and there

#include <QLabel>
#include <QRect>
#include <QList>
#include <QMouseEvent>

class PixLabel : public QLabel
{
	Q_OBJECT

public:

	PixLabel();
	QList<QRect> rects;

public slots:
	void AddRect();

private:
	void paintEvent(QPaintEvent * event);
	void mousePressEvent(QMouseEvent * e);
};