Vuo  0.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Static Protected Attributes | 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.
 

Static Public Member Functions

static void acknowledgeMouseReleaseEvent (void)
 Acknowledge mouse release events received from other sources as an indication that it is not currently possible for a node drag to be in progress.
 

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.
 
void mousePressEvent (QMouseEvent *event)
 Handle mouse press events.
 
void mouseReleaseEvent (QMouseEvent *event)
 Handle mouse release events.
 
void mouseMoveEvent (QMouseEvent *event)
 Handle mouse move events.
 

Static Protected Attributes

static bool potentialNodeClassDragInProgress = false
 True from the moment that a drag has been initiated from any node library until evidence is received that the drag has ended.
 

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