Vuo
0.4.3
|
A dockable window displaying the list of node classes that can be added to compositions.
Public Types | |
enum | nodeLibraryDisplayMode { displayByClass, displayByName } |
Specifies the display format for node classes within the library. | |
enum | nodeLibraryState { nodeLibraryHidden, nodeLibraryDocked, nodeLibraryFloating } |
Specifies the node library visibility setting. | |
Public Slots | |
void | populateList () |
Populate the node class list. | |
void | updateListViewWithNewFilter () |
Update the current view of the node class list in response to a modification to the filter text. | |
void | updateListView (bool resetSelection=false) |
Update the current view of the node class list, accounting for the currently entered filter text and node name display mode. | |
void | clickedNamesButton () |
Called when Names button is clicked. | |
void | clickedFlatClassButton () |
Called when flat class button is clicked. | |
void | setHumanReadable (bool humanReadable) |
Sets the boolean indicating whether node class names are currently displayed in "human-readable" mode (i.e., using default node display names rather than class names). | |
void | updateUI () |
Updates the UI elements (e.g. | |
Signals | |
void | componentsAdded (QList< QGraphicsItem * > addedComponents, VuoEditorComposition *target) |
Emitted when the user has used the Node Library to add nodes to the composition. | |
void | changedIsHumanReadable (bool humanReadable) |
Emitted when the Node Library's display mode is changed. | |
void | nodeLibraryHiddenOrUnhidden (bool unhidden) |
Emitted when the Node Library's visibility is changed. | |
Public Member Functions | |
VuoNodeLibrary (QWidget *parent=0, VuoCompiler *compiler=0, VuoNodeLibrary::nodeLibraryDisplayMode displayMode=VuoNodeLibrary::displayByClass) | |
Creates a window for browsing node classes. | |
bool | eventFilter (QObject *object, QEvent *event) |
Filters events on watched objects. | |
bool | getHumanReadable () |
Returns a boolean indicating whether node class names are currently displayed in "human-readable" mode (i.e., using default node display names rather than class names). | |
Static Public Member Functions | |
static QStringList | tokenizeNodeName (QString nodeName, QString className) |
Tokenizes the human-readable nodeName on whitespace, and className on '. | |
|
static |
Tokenizes the human-readable nodeName
on whitespace, and className
on '.
', and returns the combined token list.
|
slot |
Updates the UI elements (e.g.
enables/disables buttons) based on the application's state.