diff options
Diffstat (limited to 'languages/cpp/debugger/label_with_double_click.h')
-rw-r--r-- | languages/cpp/debugger/label_with_double_click.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/languages/cpp/debugger/label_with_double_click.h b/languages/cpp/debugger/label_with_double_click.h new file mode 100644 index 00000000..11dec898 --- /dev/null +++ b/languages/cpp/debugger/label_with_double_click.h @@ -0,0 +1,20 @@ + +#ifndef LABEL_WITH_DOUBLE_CLICK_HPP_VP_2006_04_04 +#define LABEL_WITH_DOUBLE_CLICK_HPP_VP_2006_04_04 + +#include <qlabel.h> + +class LabelWithDoubleClick : public QLabel +{ + Q_OBJECT +public: + LabelWithDoubleClick(const QString& s, QWidget* parent); + +signals: + void doubleClicked(); + +protected: + void mouseDoubleClickEvent(QMouseEvent*); +}; + +#endif |