tools/templates/pixlabel.h
author unc0rr
Mon, 21 May 2007 18:07:25 +0000
changeset 517 ba560c17c24c
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
- Don't kick cases by moving hedgehog - Fix hedgehog not registering in collisions array when changing direction without making a step - Fix old rope regression (attaching didn't work properly, when hedgehog is jumping)

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