tools/templates/pixlabel.h
author sheepluva
Sat, 22 Oct 2011 06:55:14 +0200
changeset 6180 0992fc5a4ad9
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
some changes to the css... display:none; works now (e.g. you can use it for user join/leave messages that are not your friends)

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