tools/templates/pixlabel.h
author mikade
Wed, 14 Sep 2011 18:05:54 +0200
changeset 5900 37516a3bdb0e
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Revert currently unneccessary changes to uScript. Don't allow way-points to be placed in land or outside of border boundaries

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