tools/templates/pixlabel.h
author koda
Mon, 29 Jun 2009 20:01:05 +0000
changeset 2211 288360b78f30
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
- fade in/out functions merged, but kept binary compatibility - reworked memory initialization, now uses less memory and allocates more only when needed - other fixes to openalbridge

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