#include "SpinBox.h"
Signals | |
| void | valueChangeCompleted (int _value) |
Public Member Functions | |
| SpinBox (QWidget *_parentWidget=(QWidget *) nullptr) | |
| SpinBox (int _min, int _max, int _value, QWidget *_parentWidget=(QWidget *) nullptr) | |
| virtual | ~SpinBox () |
| virtual QWidget * | getQWidget (void) override |
| Returns a pointer to the root widget of this object. | |
| void | setChangeDelay (int _delayInMs) |
Public Member Functions inherited from ot::QWidgetInterface | |
| QWidgetInterface () | |
| virtual | ~QWidgetInterface () |
| void | setOTWidgetFlags (const WidgetFlags &_flags) |
| const WidgetFlags & | otWidgetFlags (void) const |
| virtual void | otWidgetFlagsChanged (const WidgetFlags &_flags) |
| void | centerOnParent (const QWidget *const _parentWidget) |
| Centers this widget on the parent. If no parent is provided the widget will center on the screen. | |
| QPoint | calculateCenterOnParentPos (const QWidget *const _parentWidget) |
| Calculates the top left corner of this widget centered on the parent widget. If no parent is provided the widget will center on the screen. | |
Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *_event) override |
| virtual void | focusOutEvent (QFocusEvent *_event) override |
Additional Inherited Members | |
Protected Attributes inherited from ot::QWidgetInterface | |
| WidgetFlags | m_widgetFlags |
| ot::SpinBox::SpinBox | ( | QWidget * | _parentWidget = (QWidget*)nullptr | ) |
| ot::SpinBox::SpinBox | ( | int | _min, |
| int | _max, | ||
| int | _value, | ||
| QWidget * | _parentWidget = (QWidget*)nullptr ) |
|
virtual |
|
overrideprotectedvirtual |
|
inlineoverridevirtual |
Returns a pointer to the root widget of this object.
Implements ot::QWidgetInterface.
|
overrideprotectedvirtual |
| void ot::SpinBox::setChangeDelay | ( | int | _delayInMs | ) |
|
signal |