tools/templates/pixlabel.h
author sheepluva
Thu, 01 Apr 2010 08:26:16 +0000
changeset 3231 a578cbf5d543
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
* fix SmokeTrace and EvilTrace to be centered instead of 2 pixel off * ran "optipng -o5 -np -nc -nb *.png" on Data/Graphics

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