tools/templates/pixlabel.h
author smxx
Fri, 26 Mar 2010 12:34:18 +0000
changeset 3075 b4ef08187d22
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Engine: * Lowered Birdy's vertical acceleration while increasing his horizontal acceleration * End turn after Birdy disappears * Added English and German locale strings for birdy * Reordered weapon menu

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