tools/templates/pixlabel.h
author unc0rr
Mon, 19 Mar 2007 21:28:16 +0000
changeset 501 35b8c6c4e7e1
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Increase "proto version", as the current engine isn't compatible with 0.9 one

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