tools/templates/pixlabel.h
author koda
Tue, 20 Jul 2010 03:14:43 +0200 (2010-07-20)
changeset 3659 f8d5ac50e307
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
half reworking of the settings page with delegation some graphical enhancements, leaks and fixes
#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);
};