Inherits QDoubleSpinBox.
|
|
void | valueChangeBegan () |
| | Triggered when the value begins changing, for example when the control starts being dragged.
|
| |
|
void | valueChangeEnded () |
| | Triggered when the value stops changing, for example when the control is released.
|
| |
|
void | globalUndoTriggered () |
| | Triggered when the global undo key sequence is pressed by the user while this control is focused.
|
| |
|
void | globalRedoTriggered () |
| | Triggered when the global redo key sequence is pressed by the user while this control is focused.
|
| |
|
void | cutTriggered () |
| | Triggered when the Cut key sequence is pressed by the user while this control is focused.
|
| |
|
void | copyTriggered () |
| | Triggered when the Copy key sequence is pressed by the user while this control is focused.
|
| |
|
void | pasteTriggered () |
| | Triggered when the Paste key sequence is pressed by the user while this control is focused.
|
| |
|
void | deleteTriggered () |
| | Triggered when the Delete key sequence is pressed by the user while this control is focused.
|
| |
| void | contextMenuAboutToShow (QMenu *menu, QAction *undoAction, QAction *redoAction) |
| |
|
|
| DoubleSpinBox (QWidget *parent=nullptr) |
| |
| void | setValue (double value) |
| |
|
QSize | minimumSizeHint () const override |
| | Returns the recommended minimum size for this control.
|
| |
|
QString | textFromValue (double value) const override |
| | Formats the value into a string according to the display options.
|
| |
|
bool | isUndoAvailable () const |
| | Returns whether an undo value is available.
|
| |
|
bool | isRedoAvailable () const |
| | Returns whether a redo value is available.
|
| |
|
Options | options () const |
| | Returns this control's display options.
|
| |
|
void | setOptions (Options options) |
| | Sets this control's display options.
|
| |
|
int | displayDecimals () const |
| | Returns the setting for the number of decimals to display.
|
| |
|
void | SetDisplayDecimals (int displayDecimals) |
| | Sets the setting for the number of decimals to display.
|
| |
|
void | setDisplayDecimals (int displayDecimals) |
| | Sets the setting for the number of decimals to display.
|
| |
|
bool | isEditing () const |
| | Returns whether this SpinBox is currently being edited.
|
| |
|
void | setInitialValueWasSetting (bool b) |
| | Sets whether the initial value was initialized. False prompts reinitialization.
|
| |
Control for decimal number selection. Supports value editing via direct input, dragging, mouse scroll-wheel and UI arrows.