tools/templates/pixlabel.h
author nemo
Tue, 14 Dec 2010 20:41:33 -0500
changeset 4533 8d35c3e0e6ba
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
add optional state parameter to hogsay

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