summaryrefslogtreecommitdiffstats
path: root/pacman-c++/client/clicklabel.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-05-05 00:57:07 +0200
committermanuel <manuel@mausz.at>2011-05-05 00:57:07 +0200
commitce48af53646cd9e7ec762fc1ac176b3aa620b11d (patch)
treef8fbf2cae8c7d0cbac2696a8f4cf94410bfb4928 /pacman-c++/client/clicklabel.h
parente54ccad07e256ba877bd41d70bd358bd0085bd1e (diff)
downloadfoop-ce48af53646cd9e7ec762fc1ac176b3aa620b11d.tar.gz
foop-ce48af53646cd9e7ec762fc1ac176b3aa620b11d.tar.bz2
foop-ce48af53646cd9e7ec762fc1ac176b3aa620b11d.zip
- refactorized the whole project and made a few subprojects
- replaced tcp with enet - added connect dialog - some smaller bugfixes
Diffstat (limited to 'pacman-c++/client/clicklabel.h')
-rw-r--r--pacman-c++/client/clicklabel.h21
1 files changed, 21 insertions, 0 deletions
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 @@
1#ifndef CLICKLABEL_H
2#define CLICKLABEL_H
3
4#include <QLabel>
5
6class ClickLabel
7 : public QLabel
8{
9 Q_OBJECT
10
11public:
12 ClickLabel(const QString &text, QWidget *parent = 0, Qt::WindowFlags f = 0);
13
14signals:
15 void clicked();
16
17protected:
18 void mouseReleaseEvent(QMouseEvent *event);
19};
20
21#endif // CLICKLABEL_H