Vuo  0.9.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Protected Member Functions | List of all members
VuoInputEditorKey Class Reference

Description

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.
 
- Protected Member Functions inherited from VuoInputEditorWithDialog
QDialog * getDialog (void)
 Returns a pointer to the dialog displayed by show().
 
- Protected Member Functions inherited from VuoInputEditor
QFont getDefaultFont (void)
 Returns the font that input editors are recommended to use.
 

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.
 
- Public Member Functions inherited from VuoInputEditorWithDialog
json_object * show (QPoint portLeftCenter, json_object *originalValue, json_object *details, map< QString, json_object * > portNamesAndValues)
 Displays a frameless dialog.
 

Member Function Documentation

json_object * VuoInputEditorKey::getAcceptedValue ( void  )
protectedvirtual

Returns the most recently selected key.

Implements VuoInputEditorWithDialog.

void VuoInputEditorKey::setUpDialog ( QDialog &  dialog,
json_object *  originalValue,
json_object *  details 
)
protectedvirtual

Adds a combo box to the dialog for displaying and editing the selected key.

Implements VuoInputEditorWithDialog.


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