tools/templates/pixlabel.h
author Xeli
Mon, 22 Aug 2011 03:57:11 +0200
branchhedgeroid
changeset 5647 28ab6763da9d
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
tiny tweak in how lua is moved + added two reverts

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