GUI: provide undo/redo functionality
|Status:||Sprint||Start date:||12 May 2015|
#2 Updated by wuttke almost 4 years ago
- Subject changed from GUI: provide unddo/redo functionality on SampleView to GUI: provide unddo/redo functionality
This can be done first for sample construction. I think that we have to implement the full fledged "Command" pattern. This is not that complicated, since amount of actions we do with the model is not that high.
Commands: InsertItem, RemoveItem, SetItemProperty.
Every command will keep the pointer to the subject (SessionItem, the QVariant to change) and provide unndo functionality.