tools/templates/pixlabel.h
author tiyuri@gmail.com
Mon, 06 Sep 2010 23:14:12 +0100
changeset 3838 56e1cb3de456
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Underwater updates and fixes by Palewolf

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