tools/templates/pixlabel.h
author bovi
Sun, 15 Jan 2012 22:48:34 +0100
changeset 6571 da5cfded818b
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
GCI task: iOS _language_ 3 (Romanian)

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