tools/templates/pixlabel.h
author Mitchell Kember <mk12360@gmail.com>
Sat, 01 Dec 2012 21:32:34 -0500
changeset 8183 9b1c206a6cf2
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Merged changes from upstream. HK: changed QTfrontend/ui/page/pageadmin.h

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