tools/templates/pixlabel.h
author unc0rr
Tue, 09 Nov 2010 09:46:45 +0300
changeset 4228 c386a61887de
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
More png optimizations

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