tools/templates/pixlabel.h
author unc0rr
Tue, 01 Sep 2009 17:46:13 +0000
changeset 2340 3b35fd5f67c7
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Fix a bug when you are unable to do anything in lobby when room is closed during round

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