tools/templates/pixlabel.h
author koda
Mon, 26 Mar 2012 03:24:50 +0200
changeset 6822 206db098f8c5
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
ios headers cleanup, with tweaks to +randomPort and grenade timer handling in overlay

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