tools/templates/pixlabel.h
author smxx
Thu, 25 Feb 2010 13:04:31 +0000
changeset 2864 bb0726eb85ba
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Engine: * Fixed copy and paste typo in English locale * Updated German locale (still working on tooltips)

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