tools/templates/pixlabel.h
author unc0rr
Sat, 15 Dec 2007 22:57:22 +0000
changeset 671 a8970859f50e
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Actually pass host and port values to NetConnect method

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