From 603e969bb8cef91534a1785e27106ba71eb03ba6 Mon Sep 17 00:00:00 2001 From: hakan Date: Sat, 09 Mar 2002 11:39:21 +0000 Subject: Added a WeekLst view showing an entire week and appointment descriptions and made default view configurable --- (limited to 'core/pim/datebook/clickablelabel.h') diff --git a/core/pim/datebook/clickablelabel.h b/core/pim/datebook/clickablelabel.h new file mode 100644 index 0000000..b6d33ad --- a/dev/null +++ b/core/pim/datebook/clickablelabel.h @@ -0,0 +1,20 @@ +#ifndef CLICKABLELABEL +#define CLICKABLELABEL + +#include + +class ClickableLabel: public QLabel +{ + Q_OBJECT +public: + ClickableLabel(QWidget* parent = 0, const char* name = 0, + WFlags fl = 0); + protected: + void mousePressEvent( QMouseEvent *e ); + void mouseReleaseEvent( QMouseEvent *e ); + void mouseMoveEvent( QMouseEvent *e ); + signals: + void clicked(); +}; + +#endif -- cgit v0.9.0.2