Implementation of QDoubleSpinBox with better fixup function.
More...
#include <RWSSpinBox.hpp>
Inherits QDoubleSpinBox.
|
| | RWSSpinBox (double low, double high) |
| | a QDoubleSpinBox custom designed to for the application More...
|
| |
|
| RWSSpinBox () |
| | Default constructor.
|
| |
| void | fixup (QString &input) const |
| | overriden virtual function from QDoubleSpinBox. Removes letters and reduces to the right number of decimals More...
|
| |
| QValidator::State | validate (QString &text, int &pos) const |
| | overriden virtual function from QDoubleSpinBox. Validates that text is a number More...
|
| |
| double | valueFromText (const QString &text) const |
| | overriden virtual function from QDoubleSpinBox. convert text to double More...
|
| |
Implementation of QDoubleSpinBox with better fixup function.
◆ RWSSpinBox()
a QDoubleSpinBox custom designed to for the application
- Parameters
-
| low | [in] minimum value |
| high | [in] maximum value |
◆ fixup()
| void fixup |
( |
QString & |
input | ) |
const |
overriden virtual function from QDoubleSpinBox. Removes letters and reduces to the right number of decimals
- Parameters
-
◆ validate()
| QValidator::State validate |
( |
QString & |
text, |
|
|
int & |
pos |
|
) |
| const |
overriden virtual function from QDoubleSpinBox. Validates that text is a number
- Parameters
-
| text | [in] text to be validated |
| pos | [in] index of changed parameter |
◆ valueFromText()
| double valueFromText |
( |
const QString & |
text | ) |
const |
overriden virtual function from QDoubleSpinBox. convert text to double
- Parameters
-
| text | [in] text to be converted to number |
The documentation for this class was generated from the following file: