tools/templates/pixlabel.h
author nemo
Mon, 02 May 2011 01:55:14 -0400
changeset 5197 9fa96377a69c
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Basic TARDIS implementation. Still needs proper animation, and probably a check to force reappearance on death of last team mate

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