tools/templates/pixlabel.h
author koda
Wed, 23 Jan 2013 03:37:27 +0100
changeset 8425 4f226963faef
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
restored ios project file, updated Game() interface, tweaked arg parsing, updated log writing, minor warnings

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