tools/templates/pixlabel.h
author Vatten
Tue, 30 Oct 2012 14:40:40 -0400
branch0.9.18
changeset 7893 50e8f6714b22
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
new script specialising in altering weapon behaviour

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