tools/templates/pixlabel.h
author Xeli
Thu, 23 Jun 2011 13:52:19 +0200
branchhedgeroid
changeset 5309 6f33c623d64c
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Updated the path of hwLibrary.pas

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