|
typedef QDoubleSpinBox | Superclass |
|
|
| itomQDoubleSpinBox (DoubleSpinBoxPrivate *pimpl, QWidget *widget) |
|
void | setInvertedControls (bool invertedControls) |
|
bool | invertedControls () const |
|
virtual void | stepBy (int steps) |
|
virtual QLineEdit * | lineEdit () const |
|
virtual double | valueFromText (const QString &text) const |
|
virtual QString | textFromValue (double value) const |
|
virtual int | decimalsFromText (const QString &text) const |
|
virtual QValidator::State | validate (QString &input, int &pos) const |
|
void | initStyleOptionSpinBox (QStyleOptionSpinBox *option) |
| Expose publicly QAbstractSpinBox::initStyleOption()
|
|
|
void | focusOutEvent (QFocusEvent *event) |
|
virtual StepEnabled | stepEnabled () const |
|
◆ lineEdit()
QLineEdit * itomQDoubleSpinBox::lineEdit |
( |
| ) |
const |
|
virtual |
Expose lineEdit() publicly.
- See also
- QAbstractSpinBox::lineEdit()
◆ stepBy()
void itomQDoubleSpinBox::stepBy |
( |
int | steps | ) |
|
|
virtual |
Overrides QDoubleSpinBox::stepBy(int) and negates the step number if the invertedControls property is true.
◆ stepEnabled()
QAbstractSpinBox::StepEnabled itomQDoubleSpinBox::stepEnabled |
( |
| ) |
const |
|
protectedvirtual |
If the invertedControls property is false (by default) then this function behavesLike QDoubleSpinBox::stepEnabled(). If the property is true then stepping down is allowed if the value is less then the maximum, and stepping up is allowed if the value is greater then the minimum.
◆ invertedControls
bool itomQDoubleSpinBox::invertedControls |
|
readwrite |
This property controls whether decreasing the value by the mouse button or mouse wheel increases the value of the widget, and inverts the control similarly in the other way round or not. The property is switched off by default.
- See also
- invertedControls(), setInvertedControls()
The documentation for this class was generated from the following files:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/itomWidgets/doubleSpinBox_p.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/itomWidgets/doubleSpinBox.cpp