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.
21 lines
355 B
21 lines
355 B
15 years ago
|
|
||
|
#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
|