tools/templates/pixlabel.h
author koda
Sat, 31 Jul 2010 10:52:43 +0200
changeset 3695 c11abf387a7d
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
reverted stereo craziness - the experimental3D branch has been created for a reason

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