tools/templates/pixlabel.h
author Wolfgang Steffens <WolfgangSteff@gmail.com>
Mon, 25 Jun 2012 12:01:19 +0200
changeset 7292 18430abfbcd2
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
added missing uBinPacker.pas and uAtlas.pas

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