Vuo  0.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
VuoCommandRemove Class Reference

Description

An undoable action for removing nodes and cables from the composition.

Public Member Functions

 VuoCommandRemove (QList< QGraphicsItem * > removedComponents, VuoEditorComposition *composition, string commandDescription="Delete")
 Creates a command for removing the given nodes, along with any attached cables or typecast nodes.
 
int id () const
 Returns the ID of this command.
 
void undo ()
 Restores the removed nodes and cables.
 
void redo ()
 Removes the nodes and cables.
 

The documentation for this class was generated from the following files: