tools/templates/pixlabel.h
author nemo
Thu, 01 Jul 2010 00:34:39 -0400
changeset 3601 8a74c9ceaf71
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Revert most of optimisation except for some obvious fixes to errors someone or other introduced. Something in the rest appears related to a crash in translation. Until I determine why or what, this stays out to not ruin people's games

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