VAPOR3 3.9.4
Public Member Functions | Static Public Member Functions | List of all members
AnnotationEventRouter Class Reference

#include <AnnotationEventRouter.h>

Inheritance diagram for AnnotationEventRouter:
EventRouter

Public Member Functions

 AnnotationEventRouter (QWidget *parent, VAPoR::ControlExec *ce)
 
virtual ~AnnotationEventRouter ()
 
virtual void hookUpTab ()
 
virtual void wheelEvent (QWheelEvent *)
 Ignore wheel event in tab (to avoid confusion)
 
string GetType () const
 
virtual void _confirmText ()
 
- Public Member Functions inherited from EventRouter
 EventRouter (VAPoR::ControlExec *ce, string paramsType)
 
virtual ~EventRouter ()
 
virtual VAPoR::ParamsBaseGetActiveParams () const
 
virtual void hookUpTab ()
 
virtual void GetWebHelp (std::vector< std::pair< string, string > > &help) const
 
virtual void updateTab ()
 
virtual void confirmText ()
 
void SetTextChanged (bool on)
 
virtual void captureMouseUp ()
 
virtual void captureMouseDown (int mouseNum)
 
virtual void StartCursorMove ()
 
virtual void EndCursorMove ()
 
GUIStateParamsGetStateParams () const
 
AnimationParamsGetAnimationParams () const
 
size_t GetCurrentTimeStep () const
 
virtual string GetType () const =0
 
virtual void LoadDataNotify (string dataSetName)
 

Static Public Member Functions

static string GetClassType ()
 
- Static Public Member Functions inherited from EventRouter
static size_t GetCurrentTimeStep (VAPoR::ControlExec *ce)
 

Additional Inherited Members

- Protected Member Functions inherited from EventRouter
 EventRouter ()
 
virtual void _initializeTab ()
 
virtual void _updateTab ()=0
 
virtual void _confirmText ()
 
- Protected Attributes inherited from EventRouter
VAPoR::ControlExec_controlExec
 
bool _textChangedFlag
 
string _paramsType
 

Detailed Description

Definition at line 41 of file AnnotationEventRouter.h.

Constructor & Destructor Documentation

◆ AnnotationEventRouter()

AnnotationEventRouter::AnnotationEventRouter ( QWidget *  parent,
VAPoR::ControlExec ce 
)

◆ ~AnnotationEventRouter()

virtual AnnotationEventRouter::~AnnotationEventRouter ( )
virtual

Member Function Documentation

◆ _confirmText()

virtual void AnnotationEventRouter::_confirmText ( )
inlinevirtual

Pure virtual method to respond to changes in text in the tab. This method should be called whenever user presses enter, or changes the state of a widget (other than a textEdit) in the tab. In each implementation, the values of ALL QLineEdit's in the tab must be read and set in the corresponding Params instance.

Parameters
[in]pParams instance associated with the current active tab.

Reimplemented from EventRouter.

Definition at line 59 of file AnnotationEventRouter.h.

◆ GetClassType()

static string AnnotationEventRouter::GetClassType ( )
inlinestatic

Definition at line 56 of file AnnotationEventRouter.h.

Referenced by GetType().

◆ GetType()

string AnnotationEventRouter::GetType ( ) const
inlinevirtual

Return derived class type

Return a string identifier for the derived EventRouter type

Implements EventRouter.

Definition at line 57 of file AnnotationEventRouter.h.

References GetClassType().

◆ hookUpTab()

virtual void AnnotationEventRouter::hookUpTab ( )
inlinevirtual

Virtual method connects all the Qt signals and slots associated with the tab. Must also include connections that send signals when any QTextEdit box is changed and when enter is pressed. Each QLineEdit has a connection to a setTextChanged and enterPressed slot, to register when the value has changed, and when the user has pressed enter over the lineEdit. If there is a MapperFunction editor or IsoSelection panel in the tab, call MappingFrame::hookup() in this method

Reimplemented from EventRouter.

Definition at line 49 of file AnnotationEventRouter.h.

◆ wheelEvent()

virtual void AnnotationEventRouter::wheelEvent ( QWheelEvent *  )
inlinevirtual

Ignore wheel event in tab (to avoid confusion)

Definition at line 52 of file AnnotationEventRouter.h.


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