tools/templates/pixlabel.h
author unc0rr
Mon, 12 May 2008 15:00:20 +0000
changeset 928 b9064b48b001
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Some preparation work for attacking from rope, parachute and etc.

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