Vuo
0.5.7
|
A base class for input editors that display a frameless dialog.
Public Member Functions | |
json_object * | show (QPoint portLeftCenter, json_object *originalValue, QString portName, vector< pair< QString, json_object * > > portNamesAndValues, json_object *details) |
Displays a frameless dialog. | |
![]() | |
virtual bool | emitsTabCycleCompletionSignals (void) |
Returns a boolean indicating whether this input editor emits tabCycleCompleted() and reverseTabCycleCompleted() signals when appropriate. | |
Protected Member Functions | |
virtual void | setUpDialog (QDialog &dialog, json_object *originalValue, json_object *details, bool editingSolePortConstantForNode=false)=0 |
Adds widgets to the dialog and configures them to display the dialog's initial value. | |
virtual json_object * | getAcceptedValue (void)=0 |
Returns the value currently set in the dialog's widgets. | |
![]() | |
QFont | getDefaultFont (void) |
Returns the font that input editors are recommended to use. | |
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 | tabCycleCompleted () |
An input editor can emit this signal to inform the Vuo Editor that a 'Tab' keypress was received while the final widget in this input editor's tab cycle already had focus. | |
void | reverseTabCycleCompleted () |
An input editor can emit this signal to inform the Vuo Editor that a 'Shift'+'Tab' keypress was received while the first widget in this input editor's tab cycle already had focus. | |
|
protectedpure virtual |
Returns the value currently set in the dialog's widgets.
Implemented in VuoInputEditorPoint3d, VuoInputEditorPoint2d, VuoInputEditorPoint4d, and VuoInputEditorWithLineEdit.
|
protectedpure virtual |
Adds widgets to the dialog and configures them to display the dialog's initial value.
dialog | The dialog, which is initially empty. |
originalValue | The value to display initially in the dialog. |
details | Additional details (e.g., suggested min. and max. values) pertaining to the port data. |
editingSolePortConstantForNode | A boolean indicating whether this input editor is currently being used to edit a node's only port constant. |
Implemented in VuoInputEditorPoint3d, VuoInputEditorInteger, VuoInputEditorPoint2d, VuoInputEditorPoint4d, VuoInputEditorReal, VuoInputEditorText, and VuoInputEditorWithLineEdit.
|
virtual |
Displays a frameless dialog.
Implements VuoInputEditor.