Provides a menu for opening the example compositions, organized by node set.
Definition at line 18 of file VuoExampleMenu.hh.
Signals | |
void | compilerReady () |
For internal use. Emitted when compiler is finished initializing and ready to provide information about node sets. More... | |
void | exampleSelected (QString exampleCompositionUrl) |
Emitted when an example composition has been selected from the menu. More... | |
Public Member Functions | |
VuoExampleMenu (QWidget *parent, VuoCompiler *compiler) | |
Creates an empty menu, which will be populated asynchronously once compiler is ready. More... | |
void | openRandomExample () |
Opens a random example composition. More... | |
void | enableExampleTitleLookup () |
Enables on-demand lookup of customized example titles. More... | |
void | disableExampleTitleLookup () |
Disables on-demand lookup of customized example titles. More... | |
void | enableMenuItems (bool enable) |
Sets the enabled/disabled state of all items within this menu and its descendent menus, with the exception of items that should not be enabled for the current user session. More... | |
|
explicit |
Creates an empty menu, which will be populated asynchronously once compiler is ready.
Definition at line 36 of file VuoExampleMenu.cc.
|
signal |
For internal use. Emitted when compiler
is finished initializing and ready to provide information about node sets.
void VuoExampleMenu::disableExampleTitleLookup | ( | ) |
Disables on-demand lookup of customized example titles.
Definition at line 309 of file VuoExampleMenu.cc.
void VuoExampleMenu::enableExampleTitleLookup | ( | ) |
Enables on-demand lookup of customized example titles.
Definition at line 301 of file VuoExampleMenu.cc.
void VuoExampleMenu::enableMenuItems | ( | bool | enable | ) |
Sets the enabled/disabled state of all items within this menu and its descendent menus, with the exception of items that should not be enabled for the current user session.
Definition at line 345 of file VuoExampleMenu.cc.
|
signal |
Emitted when an example composition has been selected from the menu.
void VuoExampleMenu::openRandomExample | ( | ) |
Opens a random example composition.
Definition at line 293 of file VuoExampleMenu.cc.