tools/templates/pixlabel.h
author Xeli
Thu, 04 Aug 2011 17:37:40 +0200
branchhedgeroid
changeset 5475 06a87ff38ffb
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
The start of the IPC transers to the engine

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