Vuo
0.4
|
A dialog that displays a data editor.
Handles keypress events to accept or cancel edits.
Public Member Functions | |
VuoDataEditorDialog (QWidget *parent, VuoDataEditor *dataEditor) | |
Creates a new, empty data editor dialog. | |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *e) |
The Return key accepts the edit and closes the dialog. | |
virtual void | showEvent (QShowEvent *event) |
This function is part of the workaround for a bug in Qt 5.1.0-beta that prevents positioning a QDialog (https://b33p.net/kosada/node/5086). | |
virtual void | valueSet (QString value)=0 |
Called after the user hits Return to accept edits. | |
|
protectedvirtual |
The Return key accepts the edit and closes the dialog.
The Cancel key just closes the dialog, canceling the edit.
|
protectedvirtual |
This function is part of the workaround for a bug in Qt 5.1.0-beta that prevents positioning a QDialog (https://b33p.net/kosada/node/5086).
It allows the VuoDataEditorDialog to accept key-press events.
|
protectedpure virtual |
Called after the user hits Return to accept edits.
value | A string representation of the value entered in the data editor. |
Implemented in VuoNodeTitleEditorDialog, VuoPortValueEditorDialog, and VuoPublishedPortNameEditorDialog.