EvoRobotViewer Class Reference

Inheritance diagram for EvoRobotViewer:

List of all members.

Public Member Functions

 EvoRobotViewer (EvoRobotComponent *component)
 Construct the GUI manager for EvoRobotComponent.
 ~EvoRobotViewer ()
 Destructor.
void addAdditionalMenus (QMenuBar *menuBar)
 add the "Tests" menu to the menu bar of Total99
void fillActionsMenu (QMenu *actionsMenu)
 fill the menu "Actions" of Total99 with following actions:

  • Evolve: start the evolutionary process
  • Stop: suspend the evolutionary process

QList< ComponentUIViewergetViewers (QWidget *parent, Qt::WindowFlags flags)
 Return the list of all viewers for the Component with corresponding informations for fill the menu "Views" of Total99.

Detailed Description

Definition at line 56 of file evorobotviewer.h.


Constructor & Destructor Documentation

Destructor.

Definition at line 67 of file evorobotviewer.cpp.


Member Function Documentation

void addAdditionalMenus ( QMenuBar *  menuBar) [virtual]

add the "Tests" menu to the menu bar of Total99

Parameters:
menuBaris the menu bar of the Total99 application

Reimplemented from ComponentUI.

Definition at line 99 of file evorobotviewer.cpp.

References AvailableTestList::getList(), AvailableTestList::getTest(), AbstractTest::iconFilename(), AbstractTest::menuText(), and AbstractTest::tooltip().

void fillActionsMenu ( QMenu *  actionsMenu) [virtual]

fill the menu "Actions" of Total99 with following actions:

  • Evolve: start the evolutionary process
  • Stop: suspend the evolutionary process

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

Implements ComponentUI.

Definition at line 73 of file evorobotviewer.cpp.

QList< ComponentUIViewer > getViewers ( QWidget *  parent,
Qt::WindowFlags  flags 
) [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

Implements ComponentUI.

Definition at line 78 of file evorobotviewer.cpp.

References AvailableTestList::getList(), and AvailableTestList::getTest().


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