tools/templates/pixlabel.h
author unc0rr
Thu, 20 Jan 2011 21:12:50 +0300
branch0.9.15
changeset 4762 59eb6319c950
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Impement 60 seconds ban after kick from server. Not tested at all.

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