You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/debugger/label_with_double_click.h

21 lines
355 B

#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