tools/templates/pixlabel.h
author koda
Sun, 31 Oct 2010 04:16:10 +0100
changeset 4032 4aeab704d006
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
can move the new ammo menu freely

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