BaseExperimentUIManager Class Reference

The UI manager. More...

Inheritance diagram for BaseExperimentUIManager:

Public Member Functions

 BaseExperimentUIManager (BaseExperiment *experiment)
 Constructor. More...
 
virtual ~BaseExperimentUIManager ()
 Destructor. More...
 
virtual void addAdditionalMenus (QMenuBar *menuBar)
 Adds additional menus to the menu bar of Total99. More...
 
virtual void fillActionsMenu (QMenu *actionsMenu)
 Fills the menu "Actions" of Total99. More...
 
virtual QList< ParameterSettableUIViewergetViewers (QWidget *parent, Qt::WindowFlags flags)
 Returns the list of viewers. More...
 

Detailed Description

The UI manager.

This simply calls functions in BaseExperiment. We have to provide a separate object as UI manager because it is deleted by total99

Definition at line 36 of file baseexperiment.cpp.

Constructor & Destructor Documentation

BaseExperimentUIManager ( BaseExperiment experiment)
inline

Constructor.

Definition at line 42 of file baseexperiment.cpp.

virtual ~BaseExperimentUIManager ( )
inlinevirtual

Destructor.

Definition at line 51 of file baseexperiment.cpp.

Member Function Documentation

virtual void addAdditionalMenus ( QMenuBar *  menuBar)
inlinevirtual

Adds additional menus to the menu bar of Total99.

This simply calls the corresponding function of m_experiment

Parameters
menuBarthe menu bar of the Total99 application

Reimplemented from ParameterSettableUI.

Definition at line 88 of file baseexperiment.cpp.

References BaseExperiment::addAdditionalMenus().

virtual void fillActionsMenu ( QMenu *  actionsMenu)
inlinevirtual

Fills the menu "Actions" of Total99.

This simply calls the corresponding function of m_experiment

Parameters
actionsMenuthe "Actions" menu in Total99

Reimplemented from ParameterSettableUI.

Definition at line 62 of file baseexperiment.cpp.

References BaseExperiment::fillActionsMenu().

virtual QList<ParameterSettableUIViewer> getViewers ( QWidget *  parent,
Qt::WindowFlags  flags 
)
inlinevirtual

Returns the list of viewers.

This simply calls the corresponding function of m_experiment

Parameters
parentthe parent widget for all viewers created by this function
flagsthe window flags to specify when constructing the widgets
Returns
the list of widgets

Reimplemented from ParameterSettableUI.

Definition at line 77 of file baseexperiment.cpp.

References BaseExperiment::getViewers().


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