tools/templates/pixlabel.h
author Palewolf
Sun, 26 Dec 2010 15:50:21 +0100
branch0.9.15
changeset 4691 d07fa8480491
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Turn off dust when drilling through air

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