OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::SpinBox Class Reference

#include "SpinBox.h"

Inheritance diagram for ot::SpinBox:
ot::QWidgetInterface

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.
 
virtual const QWidget * getQWidget (void) const override
 
void setChangeDelay (int _delayInMs)
 
- Public Member Functions inherited from ot::QWidgetInterface
 QWidgetInterface ()
 
virtual ~QWidgetInterface ()
 
void setOTWidgetFlags (const WidgetFlags &_flags)
 
const WidgetFlagsotWidgetFlags (void) const
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *_event) override
 
virtual void focusOutEvent (QFocusEvent *_event) override
 
- Protected Member Functions inherited from ot::QWidgetInterface
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 

Constructor & Destructor Documentation

◆ SpinBox() [1/2]

ot::SpinBox::SpinBox ( QWidget * _parentWidget = (QWidget*)nullptr)

◆ SpinBox() [2/2]

ot::SpinBox::SpinBox ( int _min,
int _max,
int _value,
QWidget * _parentWidget = (QWidget*)nullptr )

◆ ~SpinBox()

ot::SpinBox::~SpinBox ( )
virtual

Member Function Documentation

◆ focusOutEvent()

void ot::SpinBox::focusOutEvent ( QFocusEvent * _event)
overrideprotectedvirtual

◆ getQWidget() [1/2]

virtual const QWidget * ot::SpinBox::getQWidget ( void ) const
inlineoverridevirtual

Implements ot::QWidgetInterface.

◆ getQWidget() [2/2]

virtual QWidget * ot::SpinBox::getQWidget ( void )
inlineoverridevirtual

Returns a pointer to the root widget of this object.

Implements ot::QWidgetInterface.

◆ keyPressEvent()

void ot::SpinBox::keyPressEvent ( QKeyEvent * _event)
overrideprotectedvirtual

◆ setChangeDelay()

void ot::SpinBox::setChangeDelay ( int _delayInMs)

◆ valueChangeCompleted

void ot::SpinBox::valueChangeCompleted ( int _value)
signal

The documentation for this class was generated from the following files: