From ce48af53646cd9e7ec762fc1ac176b3aa620b11d Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 5 May 2011 00:57:07 +0200 Subject: - refactorized the whole project and made a few subprojects - replaced tcp with enet - added connect dialog - some smaller bugfixes --- pacman-c++/client/clicklabel.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pacman-c++/client/clicklabel.h (limited to 'pacman-c++/client/clicklabel.h') diff --git a/pacman-c++/client/clicklabel.h b/pacman-c++/client/clicklabel.h new file mode 100644 index 0000000..494b1ee --- /dev/null +++ b/pacman-c++/client/clicklabel.h @@ -0,0 +1,21 @@ +#ifndef CLICKLABEL_H +#define CLICKLABEL_H + +#include + +class ClickLabel + : public QLabel +{ + Q_OBJECT + +public: + ClickLabel(const QString &text, QWidget *parent = 0, Qt::WindowFlags f = 0); + +signals: + void clicked(); + +protected: + void mouseReleaseEvent(QMouseEvent *event); +}; + +#endif // CLICKLABEL_H -- cgit v1.2.3