Interface of VuoInputEditorMenuItem.
This class can be used recursively to construct a tree.
Definition at line 22 of file VuoInputEditorMenuItem.hh.
Public Member Functions | |
VuoInputEditorMenuItem (string title="", json_object *value=NULL, const QIcon *icon=NULL, bool isEnabled=true) | |
Constructs a menu item with the given human-readable title, representing the given value. More... | |
~VuoInputEditorMenuItem () | |
Destroys the menu item. More... | |
void | addItem (VuoInputEditorMenuItem *item) |
Adds a child to a given VuoInputEditorMenuItem. More... | |
void | addSeparator (void) |
Adds a menu separator (horizontal line) to a given VuoInputEditorMenuItem. More... | |
Static Public Member Functions | |
static void | buildMenu (QMenu *menu, QActionGroup *actionGroup, VuoInputEditorMenuItem *item) |
Builds a menu and adds any actions to an action group. More... | |
|
inline |
Constructs a menu item with the given human-readable title, representing the given value.
Definition at line 28 of file VuoInputEditorMenuItem.hh.
|
inline |
Destroys the menu item.
Definition at line 40 of file VuoInputEditorMenuItem.hh.
|
inline |
Adds a child to a given VuoInputEditorMenuItem.
Definition at line 49 of file VuoInputEditorMenuItem.hh.
|
inline |
Adds a menu separator (horizontal line) to a given VuoInputEditorMenuItem.
Definition at line 57 of file VuoInputEditorMenuItem.hh.
|
inlinestatic |
Builds a menu and adds any actions to an action group.
Definition at line 67 of file VuoInputEditorMenuItem.hh.