tools/templates/pixlabel.h
author jose1711
Fri, 12 Nov 2010 18:32:29 -0500
changeset 4288 e31edc523f18
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
translation update for the release (transplanted from 21f168609f53ffcd27db8c9d86399a2c9fc4894b)

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