Represents a window for editing a Vuo Composition.
One instance per composition.
|
void | nodesMoved (set< VuoRendererNode * > nodes, qreal dx, qreal dy, bool movedByDragging) |
| Moves input nodes dx points horizontally and dy points vertically, meanwhile pushing the action onto the undo stack.
|
|
void | connectionCompleted (VuoRendererCable *cableInProgress, VuoRendererPort *targetPort, VuoRendererCable *previousConnectedCable, VuoRendererPort *portToUnpublish, string typecastToInsert) |
| Completes the connection for the input cableInProgress to port *targetPort , displacing the previousConnectedCable (if non-NULL), unpublishing the portToUnpublish (if non-NULL), and bridging the connection with a typecast of class name typecastToInsert (if non-empty), meanwhile pushing the action onto the undo stack.
|
|
void | portConstantSet (VuoCompilerInputEventPort *node, QString value) |
| Sets the value of the input port to value , meanwhile pushing the action onto the undo stack.
|
|
void | portConstantSetByMenu (QAction *action) |
| Allow this type to be used as a QVariant for QObject::property().
|
|
void | nodeTitleSet (VuoCompilerNode *node, QString value) |
| Sets the title (display name) of the input node to value , meanwhile pushing the action onto the undo stack.
|
|
void | tintSelectedNodes (VuoNode::TintColor tintColor) |
| Sets the tint color of the selected nodes to tintColor , meanwhile pushing the action onto the undo stack.
|
|
void | publishedPortNameSet (VuoRendererPublishedPort *port, QString value) |
| Sets the name of the published port to value , meanwhile pushing the action onto the undo stack.
|
|
void | internalPortPublished (VuoPort *port, string name="", bool merge=false) |
| Publishes the provided port , meanwhile pushing the action onto the undo stack.
|
|
void | externalPortUnpublished (VuoRendererPublishedPort *port) |
| Unpublishes the provided externally visible published port , meanwhile pushing the action onto the undo stack.
|
|
void | internalPortUnpublished (VuoPort *port) |
| Unpublishes the provided internally visible published port , meanwhile pushing the action onto the undo stack.
|
|
void | componentsRemoved (QList< QGraphicsItem * > components, string commandDescription) |
| Removes the input components from the scene, meanwhile pushing the action onto the undo stack.
|
|
void | componentsAdded (QList< QGraphicsItem * > components, VuoEditorComposition *target) |
| Adds the input components to the scene, meanwhile pushing the action onto the undo stack.
|
|
void | cutSelectedCompositionComponents () |
| Copies currenly selected nodes and any cables connecting them internally; deletes all currently selected nodes and cables.
|
|
void | copySelectedCompositionComponents () |
| Copies currently selected nodes and any cables connecting them internally.
|
|
void | pasteCompositionComponents (bool pasteWithOffset=true, string commandDescription="Paste") |
| Pastes composition components from the clipboard.
|
|
void | duplicateSelectedCompositionComponents () |
| Duplicates currently selected nodes and any cables connecting them internally.
|
|
void | cleanUpCancelledDuplication () |
| Cleans up the 'Undo' stack after a cancelled duplication.
|
|
void | conformToGlobalNodeLibraryVisibility (VuoNodeLibrary::nodeLibraryState visibility, VuoNodeLibrary *floater, bool previousFloaterDestroyed) |
| Update the display mode of the node class library to conform with global settings.
|
|
QAction * | getRaiseDocumentAction () const |
| Returns the action associated with raising the current editor window to the foreground.
|
|
void | setAsActiveWindow () |
| Raises the current editor window to the foreground and activates it.
|
|
|
| VuoEditorWindow (VuoCompiler *compiler=NULL, QString filename="", bool existingComposition=false, VuoNodeLibrary::nodeLibraryDisplayMode nodeLibraryDisplayMode=VuoNodeLibrary::displayByClass, VuoNodeLibrary::nodeLibraryState nodeLibraryState=VuoNodeLibrary::nodeLibraryHidden, VuoNodeLibrary *floater=NULL) |
| Creates a new window for editing a Vuo Composition.
|
|
VuoRendererNode * | createNode (QString nodeClassName, string displayName, double x, double y, bool offsetFromViewportCenter=true) |
| Optionally offsets input coordinates x and y from the viewport center and initiates instantiation of a node of class name nodeClassName in the associated composition.
|
|
VuoNodeLibrary * | getOwnedNodeLibrary () |
| Returns a pointer to the node class library owned by this editor window.
|
|
void | assignSurrogateNodeLibrary (VuoNodeLibrary *library) |
| Assigns a surrogate node class library to be used instead of the library owned by this window, e.g., when in global floating-node-library mode and the library owned by this window is hidden.
|
|
void | releaseSurrogateNodeLibrary (bool previousFloaterDestroyed) |
| Releases any surrogate node class library currently assigned to this window.
|
|
VuoRecentFileMenu * | getRecentFileMenu () |
| Returns the "File > Open Recent" menu associated with this editor window.
|
|
VuoEditorComposition * | getComposition () |
| Returns the composition associated with this editor window.
|
|