tools/templates/pixlabel.h
author unc0rr
Tue, 06 Jan 2009 11:30:50 +0000
changeset 1585 9f9138531070
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Escape html characters in chat messages, nicknames and info to prevent screwing chat

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