Public Member Functions | |
def | __init__ |
Constructor of UndoSpinBox. | |
def | undo |
Reimplementation of undo action. | |
def | redo |
Reimplementation of redo action. | |
Public Attributes | |
spinBox | |
Spin Box associated with undo action. | |
newValue | |
New Spin Box value. | |
oldValue | |
Old Spin Box value. |
Class which represents spinbox undo action.
def undoactions::UndoSpinBox::__init__ | ( | self, | ||
parent, | ||||
spinBox, | ||||
value | ||||
) |
Constructor of UndoSpinBox.
self | The object pointer. | |
parent | Parent widget. | |
spinBox | Spin Box associated with undo action. | |
value | Old Spin Box value. |
def undoactions::UndoSpinBox::redo | ( | self | ) |
Reimplementation of redo action.
self | The object pointer. |
def undoactions::UndoSpinBox::undo | ( | self | ) |
Reimplementation of undo action.
self | The object pointer. |
New Spin Box value.
Old Spin Box value.
Spin Box associated with undo action.