#include <DoubleSpinBox.h>
It allows the user to specify a custom display format.
Signals | |
| void | activated (DoubleSpinBox *) |
| Signal emitted when the spin box gains focus. | |
| void | valueChanged (double d) |
Public Member Functions | |
| int | decimals () |
| DoubleSpinBox (const char format= 'g', QWidget *parent=0) | |
| Constructor. | |
| void | setDecimals (int prec) |
| void | setFormat (const char format, int prec=1) |
| void | setMaximum (double max) |
| void | setMinimum (double min) |
| void | setRange (double min, double max) |
| void | setSingleStep (double val) |
| bool | setValue (double val) |
| QString | textFromValue (double value) const |
| virtual QValidator::State | validate (QString &input, int &pos) const |
| double | value () |
Protected Member Functions | |
| void | focusInEvent (QFocusEvent *) |
| void | stepBy (int steps) |
| StepEnabled | stepEnabled () const |
Private Slots | |
| void | interpretText () |
Private Attributes | |
| char | d_format |
| double | d_max_val |
| double | d_min_val |
| int | d_prec |
| double | d_step |
| double | d_value |
|
||||||||||||
|
Constructor.
|
|
|
Signal emitted when the spin box gains focus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6