tools/templates/pixlabel.h
author smxx
Fri, 07 May 2010 20:38:55 +0000
changeset 3448 b79908461a11
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Graphics: * Made tinted cap hat lighter and added a team colored version of the animated headband made by "The Pope"

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