11 raise NotImplementedError
14 """ Repeats this event. 16 raise NotImplementedError
19 """ Combines this event with another event of the same kind. 21 If the combination was successfull True or otherwise False will be returned. 26 """ Returns a string with more detailed explanation of what this event does 28 E.g. what exactly was dragged, moved or which values changed. 33 """ Sets the last saved state flag. 35 If the flag is True, this UndoEvent represents the first action 36 after saving the file for the last time. 41 """ Returns the last saved state flag, see setLastSavedState(). 43 if hasattr(self,
"_lastSavedStateFlag"):
47 def dump(self, prefix="undo"):
52 """ This UndoEvent holds a list of UndoEvents whose redo() and undo() are invoked at the same time 53 when the corresponding function of this event is invoked. 56 LABEL =
"Multiple actions" 58 def __init__(self, listOfUndoEvents, label=None):
59 UndoEvent.__init__(self)
68 if not event.LABEL
in labels:
69 labels.append(event.LABEL)
83 def dump(self, prefix="undo"):
84 UndoEvent.dump(self, prefix)
86 event.dump(
" " + prefix)
def combine(self, otherUndoEvent)
def setLastSavedState(self, flag)
def dump(self, prefix="undo")
def isLastSavedState(self)
def __init__(self, listOfUndoEvents, label=None)
static std::string join(char **cmd)
def dump(self, prefix="undo")