tools/templates/pixlabel.h
author nemo
Thu, 01 Nov 2012 16:22:40 -0400
branch0.9.18
changeset 7925 de3814a13f65
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Added tag 0.9.18-release for changeset 2fc02902c7cb

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