tools/templates/pixlabel.h
author nemo
Sun, 03 May 2009 17:35:10 +0000
changeset 2023 41d3afaa20c7
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Artillery mode, sniper rifle, speech bubble tweaks, fix of rope bug introduced by enabling hats in jump

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