tools/templates/pixlabel.h
author unc0rr
Wed, 21 Oct 2009 16:50:02 +0000
changeset 2573 a7db29d7e2d0
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Set version to 0.9.13-dev, protocol number to 30 due to changes in engine

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