tools/templates/pixlabel.h
author unc0rr
Tue, 14 Oct 2008 14:35:52 +0000
changeset 1353 c72d37d4eb4e
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
- Perform lupdate-qt4 && lrelease-qt4 - Update russian translation

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