tools/templates/pixlabel.h
author sheepluva
Fri, 31 Dec 2010 21:39:12 +0100
changeset 4798 84fb1ff0a1c0
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
fix sticky rope issue

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