tools/templates/pixlabel.h
author koda
Thu, 24 Mar 2011 16:06:03 +0100
changeset 5045 f215eb5d4b75
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
this supposedly makes hwengine work with sdl 1.3 past rev 5296

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