tools/templates/pixlabel.h
author Xeli
Sun, 27 Nov 2011 00:54:00 +0100
changeset 6446 a49d01b96185
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
android: cleaned up the code a bit and removed a bug with the parsing of the xml

#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);
};