tools/templates/pixlabel.h
author koda
Sat, 01 May 2010 21:54:08 +0000
changeset 3395 095273ad0e08
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
adding a somewhat working autoration for ipad (uStore.pas and uWorld.pas got mixed in the last two commits)

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