tools/templates/pixlabel.h
author unc0rr
Sun, 07 Aug 2011 22:27:57 +0400
changeset 5524 40b7f95d9f18
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Oh, and fix cursor visibility correlations between gsConfirm state and paused state

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