diff options
Diffstat (limited to 'widgets/DoubleClickableRadioButton.hpp')
| -rw-r--r--[-rwxr-xr-x] | widgets/DoubleClickableRadioButton.hpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/widgets/DoubleClickableRadioButton.hpp b/widgets/DoubleClickableRadioButton.hpp index 84914fbd..dec715ab 100755..100644 --- a/widgets/DoubleClickableRadioButton.hpp +++ b/widgets/DoubleClickableRadioButton.hpp @@ -1,27 +1,27 @@ -#ifndef DOUBLE_CLICKABLE_RADIO_BUTTON_HPP_
-#define DOUBLE_CLICKABLE_RADIO_BUTTON_HPP_
-
-#include <QRadioButton>
-
-//
-// DoubleClickableRadioButton - QRadioButton that emits a mouse double
-// click signal
-//
-// Clients should be aware of the QWidget::mouseDoubleClickEvent()
-// notes about receipt of mouse press and mouse release events.
-//
-class DoubleClickableRadioButton
- : public QRadioButton
-{
- Q_OBJECT
-
-public:
- DoubleClickableRadioButton (QWidget * = nullptr);
-
- Q_SIGNAL void doubleClicked ();
-
-protected:
- void mouseDoubleClickEvent (QMouseEvent *) override;
-};
-
-#endif
+#ifndef DOUBLE_CLICKABLE_RADIO_BUTTON_HPP_ +#define DOUBLE_CLICKABLE_RADIO_BUTTON_HPP_ + +#include <QRadioButton> + +// +// DoubleClickableRadioButton - QRadioButton that emits a mouse double +// click signal +// +// Clients should be aware of the QWidget::mouseDoubleClickEvent() +// notes about receipt of mouse press and mouse release events. +// +class DoubleClickableRadioButton + : public QRadioButton +{ + Q_OBJECT + +public: + DoubleClickableRadioButton (QWidget * = nullptr); + + Q_SIGNAL void doubleClicked (); + +protected: + void mouseDoubleClickEvent (QMouseEvent *) override; +}; + +#endif |
