tools/templates/pixlabel.h
author smxx
Mon, 01 Mar 2010 12:55:54 +0000
changeset 2898 c53636f556f8
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Frontend: * Added language selection to options menu to allow using other languages than the one detected by Qt

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