tools/templates/pixlabel.h
author sheepluva
Sun, 11 Sep 2011 18:35:59 +0200
changeset 5859 285b3fd862e7
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
added some changes I remembered/saw in the logs to the changelog

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