14#include <QtWidgets/qspinbox.h>
24 SpinBox(QWidget* _parentWidget = (QWidget*)
nullptr);
25 SpinBox(
int _min,
int _max,
int _value, QWidget* _parentWidget = (QWidget*)
nullptr);
28 virtual QWidget*
getQWidget(
void)
override {
return this; };
30 void setChangeDelay(
int _delayInMs);
33 void valueChangeCompleted(
int _value);
36 virtual void keyPressEvent(QKeyEvent* _event)
override;
37 virtual void focusOutEvent(QFocusEvent* _event)
override;
40 void slotValueChanged(
void);
41 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
virtual QWidget * getQWidget(void) override
Returns a pointer to the root widget of this object.
Definition SpinBox.h:28