Vuo  1.1.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
VuoInputEditorWithEnumMenu Class Reference

Description

A base class for input editors that display a menu of enum values.

Public Member Functions

 VuoInputEditorWithEnumMenu (QString type)
 Creates an enum input editor for the specified Vuo Type.
 
VuoInputEditorMenuItemsetUpMenuTree ()
 Creates the tree that models the menu.
 
- Public Member Functions inherited from VuoInputEditorWithMenu
json_objectshow (QPoint portLeftCenter, json_object *originalValue, json_object *details, map< QString, json_object * > portNamesAndValues)
 Displays a menu.
 
- Public Member Functions inherited from VuoInputEditor
virtual bool supportsTabbingBetweenPorts (void)
 Returns true if this input editor should be part of the Vuo Editor's tab order when using Tab / Shift-Tab to navigate between input ports.
 

Additional Inherited Members

- Signals inherited from VuoInputEditor
void valueChanged (json_object *newValue)
 An input editor can emit this signal to inform the Vuo Editor that the value has been edited.
 
void tabbedPastLastWidget ()
 If supportsTabbingBetweenPorts() returns true, an input editor should emit this signal when the Tab key is pressed while the last widget in the input editor's tab order has focus.
 
void tabbedBackwardPastFirstWidget ()
 If supportsTabbingBetweenPorts() returns true, an input editor should emit this signal when the Shift-Tab key combination is pressed while the first widget in the input editor's tab order has focus.
 
- Static Public Member Functions inherited from VuoInputEditor
static QFont getDefaultFont (void)
 Returns the font that input editors are recommended to use.
 
static QString getDefaultFontCss (void)
 Returns a CSS representation of the font that input editors are recommended to use.
 
- Protected Member Functions inherited from VuoInputEditorWithMenu
virtual VuoInputEditorMenuItemsetUpMenuTree (json_object *details)
 Creates the tree that models the menu.
 

Constructor & Destructor Documentation

VuoInputEditorWithEnumMenu::VuoInputEditorWithEnumMenu ( QString  type)

Creates an enum input editor for the specified Vuo Type.

Parameters
typee.g., VuoBoolean

Member Function Documentation

VuoInputEditorMenuItem * VuoInputEditorWithEnumMenu::setUpMenuTree ( void  )
virtual

Creates the tree that models the menu.

Reimplemented from VuoInputEditorWithMenu.


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