The ComponentUI is the base (abstract) class that manage/create the graphic user interface for a Component. More...

Inheritance diagram for ComponentUI:

List of all members.

Public Member Functions

virtual ~ComponentUI ()
 Destructor.
virtual void addAdditionalMenus (QMenuBar *menuBar)
 add additional menus to the menu bar of Total99 is needed by the Component
virtual void fillActionsMenu (QMenu *actionsMenu)=0
 fill the menu "Actions" of Total99 with the actions of the Component
virtual QList< ComponentUIViewergetViewers (QWidget *parent, Qt::WindowFlags flags)=0
 Return the list of all viewers for the Component with corresponding informations for fill the menu "Views" of Total99.

Detailed Description

The ComponentUI is the base (abstract) class that manage/create the graphic user interface for a Component.

Definition at line 65 of file componentui.h.


Constructor & Destructor Documentation

virtual ~ComponentUI ( ) [inline, virtual]

Destructor.

Definition at line 68 of file componentui.h.


Member Function Documentation

virtual void addAdditionalMenus ( QMenuBar *  menuBar) [inline, virtual]

add additional menus to the menu bar of Total99 is needed by the Component

Parameters:
menuBaris the menu bar of the Total99 application

Reimplemented in EvoRobotViewer.

Definition at line 82 of file componentui.h.

virtual void fillActionsMenu ( QMenu *  actionsMenu) [pure virtual]

fill the menu "Actions" of Total99 with the actions of the Component

Parameters:
actionsMenuis the actionsMenu display in the menu bar of Total99

Implemented in iCubSimulatorViewer, and EvoRobotViewer.

virtual QList<ComponentUIViewer> getViewers ( QWidget *  parent,
Qt::WindowFlags  flags 
) [pure virtual]

Return the list of all viewers for the Component with corresponding informations for fill the menu "Views" of Total99.

Parameters:
parentis the parent widget for all viewers created by ComponentUI
flagsare the necessary flags to specify when constructing the viewers

Implemented in iCubSimulatorViewer, and EvoRobotViewer.


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