tools/templates/pixlabel.h
author smxx
Sat, 27 Mar 2010 14:03:30 +0000
changeset 3107 1fa539758c10
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Engine: * Added possibility to fade the screen in/out using black or white * Added flash effect to screenshot key * Added fade in for round start * Added fade out for round end * Goal display now ignores first tick. So long loading times no longer "eat" their visibility time.

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