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; };
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
virtual const QWidget * getQWidget(void) const override
Definition SpinBox.h:29
void valueChangeCompleted(int _value)
virtual QWidget * getQWidget(void) override
Returns a pointer to the root widget of this object.
Definition SpinBox.h:28