tools/templates/pixlabel.h
author nemo
Thu, 01 Nov 2012 13:22:52 -0400
branch0.9.18
changeset 7920 4760f92481ab
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Added tag 0.9.18-release for changeset be11c26a3a0b

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