tools/templates/pixlabel.h
author nemo
Mon, 27 Aug 2012 16:52:50 -0400
changeset 7614 3ae60c8a15f2
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Starting to rewrite uFloat routines to avoid QWordValue - in the interests of JS which may get uint64/int64 in the spec in the future but does not have it now.

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