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


An undoable action for moving nodes to a different position in the composition.

Public Member Functions

 VuoCommandMove (set< VuoRendererNode * > movedNodes, qreal dx, qreal dy, bool movedByDragging=false)
 Creates a command for moving the given nodes to a different position.
int id () const
 Returns the ID of this command.
void undo ()
 Moves the nodes back to their old position.
void redo ()
 Moves the nodes to their new position.
bool mergeWith (const QUndoCommand *command)
 Coalesce consecutive moves of a node.

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