Vuo
0.4.3
|
An undoable action for adding nodes and cables to the composition.
Public Member Functions | |
VuoCommandAdd (QList< QGraphicsItem * > addedComponents, VuoEditorComposition *composition, string commandDescription="Add", bool disableMakeListInsertion=false) | |
Creates a command for adding the given nodes and cables. | |
int | id () const |
Returns the ID of this command. | |
void | undo () |
Removes the added nodes and cables. | |
void | redo () |
Adds the nodes and cables. | |