tools/templates/pixlabel.h
author nemo
Sun, 28 Nov 2010 12:55:57 -0500
changeset 4428 2bc3d3475edf
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
Try to kill off all teams if the player returns to the lobby in mid-game. Also leave game room open for admins to kick/restrict joins etc. NEEDS TESTING PROBABLY BROKE SOMETHING OR OTHER

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