tools/templates/pixlabel.h
author koda
Thu, 22 Jul 2010 12:47:32 +0200
changeset 3663 8c28abf427f5
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
reduce the number of keywords used and switch to BMP format for screenshots fixed a few little things from previous commit

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