tools/templates/pixlabel.h
author Henek
Wed, 30 Nov 2011 23:16:44 +0100
changeset 6472 bced12412f94
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
present somthing that could be taken as a structure enable structures again disable sudden death music as a mood effect

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