tools/templates/pixlabel.h
author koda
Mon, 01 Nov 2010 04:33:54 +0100
changeset 4078 da01196fb5ab
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
rotation stuff for iphone now works

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