tools/templates/pixlabel.h
author Xeli
Sat, 08 Oct 2011 14:55:13 +0200
branchhedgeroid
changeset 6039 d75329716a02
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Removed the need for duplicate libraries, the android build now uses lua, freetype and tremor from misc/

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