tools/templates/pixlabel.h
author Palewolf
Mon, 01 Nov 2010 23:13:58 +0100
changeset 4086 54185e353242
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
New land texture for Nature theme

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