tools/templates/pixlabel.h
author sheepluva
Sat, 03 Apr 2010 01:22:30 +0000
changeset 3273 d398b7bb3ecd
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
* add some tiny translation from inu * remove useless line * burn another revision x)

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