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

Description

A widget allowing node classes to be dragged out of it (and onto, e.g., a composition editor canvas).

Signals

void componentsAdded (QList< QGraphicsItem * > addedComponents, VuoEditorComposition *target)
 Emitted when the user has used the Node Library to add nodes to the composition.
 

Public Member Functions

 VuoNodeClassList (QWidget *parent=0)
 Creates a node class list widget.
 
void setFilterText (QString filterText)
 Sets the filter text used to search for node classes within the library.
 

Protected Slots

void addDoubleClickedNode (QListWidgetItem *nodeClass, string displayName="", double x=0, double y=0)
 Instantiates and adds a node of class nodeClass to the associated composition editor.
 

Protected Member Functions

VuoRendererNodecreateSelectedNode (QListWidgetItem *nodeClass, string displayName="", double x=0, double y=0)
 Initiates instantiation of a node of class nodeClass in the associated composition editor.
 
void startDrag (Qt::DropActions supportedActions)
 Initiates dragging of one or more node classes (onto, e.g., a composition editor canvas).
 
void keyPressEvent (QKeyEvent *event)
 If a user selects a node class and presses 'Return', trigger node instantiation.
 

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