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) |
Public Member Functions | |
VuoNodeClassList (QWidget *parent=0) | |
Creates a node class list widget. | |
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 | |
VuoRendererNode * | createSelectedNode (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. | |