![]() |
VR-Forces 4.10 Class Documentation
|
A customized spin box that supports signals for return key pressed event and focus in/out events. More...

Signals | |
| void | focussed (bool focus) |
| void | returnPressed () |
Public Member Functions | |
| DtEntityAttributeSpinBox (QWidget *parent=NULL) | |
| ~DtEntityAttributeSpinBox () | |
| virtual void | clear () |
| virtual void | setActualValue (double actualValue) |
| set the spin box value with additional settings (e.g. More... | |
| virtual void | setLeadingZeroes (int leadingZeroes) |
| set/get the leading zeroes count. More... | |
| virtual bool | leadingZeroes () const |
Protected Member Functions | |
| virtual void | focusInEvent (QFocusEvent *e) |
| virtual void | focusOutEvent (QFocusEvent *e) |
| virtual QString | textFromValue (double val) const |
Protected Attributes | |
| QString | mySuffix |
| bool | myActualValueEnabled |
| int | myLeadingZeroes |
A customized spin box that supports signals for return key pressed event and focus in/out events.
It's used in some parts of the entity control panel to display various values and display units.
|
explicit |
| makVrf::DtEntityAttributeSpinBox::~DtEntityAttributeSpinBox | ( | ) |
|
virtual |
|
virtual |
set the spin box value with additional settings (e.g.
colored text) use value() to get the current value.
|
virtual |
set/get the leading zeroes count.
default is 0 this is only relevant when decimals property is 0
|
virtual |
|
signal |
|
signal |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |