tools/templates/pixlabel.h
author nemo
Thu, 15 Apr 2010 20:46:34 +0000
changeset 3342 b4f01613dcd7
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Some initial stubs for portal just so Tiy will quit nagging. Also let folks know what approximation of physics I plan to try, here.

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