|
void | setValue (double value) |
|
void | selectAll () |
|
void | stepDown () |
|
void | stepUp () |
|
void | setInvalid (bool invalid=true) |
|
|
void | valueChanged (double d) |
|
void | valueChanged (const QString &text) |
|
void | editingFinished () |
|
|
| DoubleValueDragSpinBox (QWidget *parent=nullptr) |
|
void | setReadOnly (bool r) |
|
bool | isReadOnly () const |
|
bool | isValid () const |
|
void | setSpecialValueText (const QString &txt) |
|
QString | specialValueText () const |
|
void | setWrapping (bool w) |
|
bool | wrapping () const |
|
QString | text () const |
|
QString | cleanText () const |
|
int | decimals () const |
|
double | maximum () const |
|
double | minimum () const |
|
QString | prefix () const |
|
void | setDecimals (int prec) |
|
void | setMaximum (double max) |
|
void | setMinimum (double min) |
|
void | setPrefix (const QString &prefix) |
|
void | setRange (double minimum, double maximum) |
|
void | setSingleStep (double val) |
|
void | setSuffix (const QString &suffix) |
|
double | singleStep () const |
|
QString | suffix () const |
|
double | value () const |
|
int | spinnerDecimals (double value) const |
| determine the number of required decimals for the given value This function can be used, e.g., to fit the precision of the spinbox to the increment.
|
|
◆ setSingleStep()
void inviwo::DoubleValueDragSpinBox::setSingleStep |
( |
double | val | ) |
|
Sets the increment of a single step to inc
. If inc
is zero, the spinbox buttons will be hidden.
- See also
- QDoubleSpinBox::setSingleStep
◆ spinnerDecimals()
int inviwo::DoubleValueDragSpinBox::spinnerDecimals |
( |
double | value | ) |
const |
determine the number of required decimals for the given value
This function can be used, e.g., to fit the precision of the spinbox to the increment.
- Parameters
-
value | number used to determine the number of digits after the decimal point |
The documentation for this class was generated from the following file: