Vuo
1.2.0
|
An input editor that displays a dialog for picking a keyboard key.
Protected Member Functions | |
void | setUpDialog (QDialog &dialog, json_object *originalValue, json_object *details) |
Adds a combo box to the dialog for displaying and editing the selected key. | |
json_object * | getAcceptedValue (void) |
Returns the most recently selected key. | |
![]() | |
VuoInputEditorWithDialog (void) | |
Creates an input editor whose show() function displays a frameless dialog. | |
QDialog * | getDialog (void) |
Returns a pointer to the dialog displayed by show(). | |
void | setFirstWidgetInTabOrder (QWidget *widget) |
Makes the given widget the first in this input editor's tab order. | |
void | setLastWidgetInTabOrder (QWidget *widget) |
Makes the given widget the last in this input editor's tab order. | |
bool | eventFilter (QObject *object, QEvent *event) |
Handles tabbing past the last widget or reverse-tabbing past the first widget in the tab order. | |
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. | |
![]() | |
json_object * | show (QPoint portLeftCenter, json_object *originalValue, json_object *details, map< QString, json_object * > portNamesAndValues) |
Displays a frameless dialog. | |
![]() | |
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 |
Returns the most recently selected key.
Implements VuoInputEditorWithDialog.
|
protectedvirtual |
Adds a combo box to the dialog for displaying and editing the selected key.
Implements VuoInputEditorWithDialog.