tools/templates/pixlabel.h
author nemo
Sun, 21 Mar 2010 03:51:53 +0000
changeset 3028 d17cf923d7c3
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Add a 2nd timer variable due to conflicts. This could perhaps use renaming

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