tools/templates/pixlabel.h
author koda
Mon, 29 Oct 2012 05:12:24 +0100
changeset 7870 e031c963c5df
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
this commit is a no-op

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