Command class for adding an operation to a workspace.
#include <Workspace/DataExecution/UndoCommands/addoperationcmd.h>
◆ AddOperationCmd() [1/2]
◆ AddOperationCmd() [2/2]
◆ getCreatedOpIdPath()
const QString & getCreatedOpIdPath |
( |
| ) |
const |
- Returns
- The ID path of the operation created by redo(). This function can only be called after redo() has actually been called, which means only after the command has been added to a QUndoStack. After that, the ID path should be the same no matter how many times the command is undone/redone.
◆ getOpId()
const QUuid & getOpId |
( |
| ) |
const |
|
inline |
◆ redo()
◆ undo()