tools/templates/pixlabel.h
author nemo
Mon, 22 Mar 2010 11:52:16 +0000
changeset 3043 3acdb4dac6eb
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Just tidying up a bit. Comments, moving uMisc to end of frees in case ones above it need logging

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