14#include <QtWidgets/qspinbox.h>
25 DoubleSpinBox(
double _min,
double _max,
double _value,
int _precision = 2, QWidget* _parentWidget = (QWidget*)
nullptr);
28 virtual QWidget*
getQWidget(
void)
override {
return this; };
29 virtual const QWidget*
getQWidget(
void)
const override {
return this; };
31 void setChangeDelay(
int _delayInMs);
37 virtual void keyPressEvent(QKeyEvent* _event)
override;
38 virtual void focusOutEvent(QFocusEvent* _event)
override;
41 void slotValueChanged(
void);
42 void slotValueChangedTimeout(
void);
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
Definition DoubleSpinBox.h:20
virtual const QWidget * getQWidget(void) const override
Definition DoubleSpinBox.h:29
virtual QWidget * getQWidget(void) override
Returns a pointer to the root widget of this object.
Definition DoubleSpinBox.h:28
void valueChangeCompleted(double _value)