Vuo  2.3.2
Public Member Functions | Protected Member Functions | List of all members
VuoInputEditorSession Class Reference

Description

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...
 

Constructor & Destructor Documentation

◆ VuoInputEditorSession()

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.

Member Function Documentation

◆ eventFilter()

bool VuoInputEditorSession::eventFilter ( QObject *  object,
QEvent *  event 
)
protected

Filters events on input editors.

Definition at line 387 of file VuoInputEditorSession.cc.

◆ execute()

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.


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