tools/templates/pixlabel.h
author tiyuri@gmail.com
Thu, 02 Sep 2010 12:43:46 +0100
changeset 3801 4905236735db
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Added descriptions for new weapons

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