summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/label_with_double_click.h
blob: 11dec898bf6ca5b5f15f0e77747bb2992cf1b2d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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