tools/templates/pixlabel.h
author koda
Sun, 27 Mar 2011 01:53:59 +0100
changeset 5053 a767954cfa03
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
this should help people hacking the cmake files (removes old comments, BUNDLE and other macros, updates to INSTALL file)

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