Displays an input editor for a port, along with any subsequent input editors opened by tabbing.
Keeps track of the changed input values.
Definition at line 24 of file VuoInputEditorSession.hh.
Public Member Functions | |
VuoInputEditorSession (VuoInputEditorManager *inputEditorManager, VuoEditorComposition *composition, VuoPublishedPortSidebar *sidebar, QMainWindow *window) | |
Creates a session that is ready to execute. More... | |
map< VuoRendererPort *, pair< string, string > > | execute (VuoRendererPort *port, bool forwardTabTraversal) |
Starts the session by displaying an input editor for port. More... | |
Protected Member Functions | |
bool | eventFilter (QObject *object, QEvent *event) VuoWarnUnusedResult |
Filters events on input editors. More... | |
VuoInputEditorSession::VuoInputEditorSession | ( | VuoInputEditorManager * | inputEditorManager, |
VuoEditorComposition * | composition, | ||
VuoPublishedPortSidebar * | sidebar, | ||
QMainWindow * | window | ||
) |
Creates a session that is ready to execute.
Definition at line 30 of file VuoInputEditorSession.cc.
|
protected |
Filters events on input editors.
Definition at line 387 of file VuoInputEditorSession.cc.
map< VuoRendererPort *, pair< string, string > > VuoInputEditorSession::execute | ( | VuoRendererPort * | port, |
bool | forwardTabTraversal | ||
) |
Starts the session by displaying an input editor for port.
The session continues until the user has finished editing and tabbing through input editors. When the session has ended, returns the edited input values as they were before and after the session.
Definition at line 45 of file VuoInputEditorSession.cc.