tools/templates/pixlabel.h
author unc0rr
Sun, 17 Jun 2007 14:48:15 +0000
changeset 542 ec26095f1bed
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
- Get rid of ammoProp_AttackInFall and gstFalling - Fix some regressions

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