tools/templates/pixlabel.h
author nemo
Mon, 01 Nov 2010 18:07:36 -0400
changeset 4085 6bbc5a167a21
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
check for subs first

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