Go to the documentation of this file.
49 virtual bool DoUndo(
int steps = 1) = 0;
54 virtual bool DoRedo(
int steps = 1) = 0;
Allows to store some document state used as reference for comarision.
Interface providing UNDO/REDO functionality.
virtual int GetAvailableRedoSteps() const =0
Get number of available REDO levels.
virtual bool DoRedo(int steps=1)=0
Process REDO steps.
virtual bool DoUndo(int steps=1)=0
Process UNDO steps.
virtual void ResetUndo()=0
Reset all UNDO and REDO steps.
virtual QString GetUndoLevelDescription(int stepIndex) const =0
Get description of single UNDO level.
virtual int GetAvailableUndoSteps() const =0
Get number of available UNDO levels.
virtual QString GetRedoLevelDescription(int stepIndex) const =0
Get description of single UNDO level.
Contains the system indenendent basic implementations of Document/View design pattern.
© Witold Gantzke and Kirill Lepskiy