Vuo
1.2.5
|
A base class for input editors that display a menu.
Public Member Functions | |
json_object * | show (QPoint portLeftCenter, json_object *originalValue, json_object *details, map< QString, json_object * > portNamesAndValues) |
Displays a menu. | |
![]() | |
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. | |
Protected Member Functions | |
virtual VuoInputEditorMenuItem * | setUpMenuTree (json_object *details) |
Creates the tree that models the menu. | |
virtual VuoInputEditorMenuItem * | setUpMenuTree (void) |
Creates the tree that models the menu. | |
bool | shouldIncludeValue (json_object *value) |
Returns true if value is in the port's includeValues list, or if the port doesn't have an includeValues list (and thus all values should be included in the menu). | |
Additional Inherited Members | |
![]() | |
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 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. | |
|
protectedvirtual |
Creates the tree that models the menu.
Reimplemented in VuoInputEditorBlendMode, and VuoInputEditorWithEnumMenu.
|
protectedvirtual |
Creates the tree that models the menu.
Reimplemented in VuoInputEditorArtNetInputDevice, VuoInputEditorArtNetOutputDevice, VuoInputEditorAudioInputDevice, VuoInputEditorAudioOutputDevice, VuoInputEditorCurve, VuoInputEditorCurveEasing, VuoInputEditorDispersion, VuoInputEditorDisplacement, VuoInputEditorHidDevice, VuoInputEditorLoopType, VuoInputEditorMidiInputDevice, VuoInputEditorMidiOutputDevice, VuoInputEditorOscInputDevice, VuoInputEditorOscOutputDevice, VuoInputEditorScreen, VuoInputEditorSerialDevice, VuoInputEditorSizingMode, VuoInputEditorSyphonServerDescription, VuoInputEditorVideoInputDevice, VuoInputEditorWave, and VuoInputEditorWrapMode.
|
protected |
Returns true if value
is in the port's includeValues
list, or if the port doesn't have an includeValues
list (and thus all values should be included in the menu).
|
virtual |