tools/templates/pixlabel.h
author nemo
Fri, 14 May 2010 16:02:27 +0000
changeset 3460 d957d5f7b58d
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
sheepluva adds back non-vgt health tag due to desyncs. we should still see about solving the desync though.

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