tools/templates/pixlabel.h
author Xeli
Fri, 24 Jun 2011 13:22:17 +0200
branchhedgeroid
changeset 5359 86b76c93a612
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
put back GLUnit in the uses clause, indentation fix, path fix

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