tools/templates/pixlabel.h
author koda
Sun, 19 Sep 2010 04:12:03 +0200
changeset 3881 e570268a9d52
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
re-add City theme with the UpdateDataFolder script (and revert changes made to the flake sprite) add the check for max 6 teams

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