Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIGEL_MasterGUI::SIG_MainWindow Class Reference

The class of the main window of the application. More...

#include <SIG_MainWindow.h>

Inheritance diagram for SIGEL_MasterGUI::SIG_MainWindow:

List of all members.

Public Methods

 SIG_MainWindow ( QWidget * parent = 0, const char * name = 0, WFlags f = WType_TopLevel )
 The constructor of the main window. More...

 ~SIG_MainWindow ()
 The destructor of SIG_MainWindow. More...


Public Slots

void slotAbout ()
 This slot is called when the about box has to be shown. More...

void slotShowEmpty ( bool isNotEmpty )
 This slot is used by the main window to indicate whether there are open experiments or not. More...

void slotAboutToQuit ()
 This slot is called whenever the user is about to quit the application. More...

void slotUseBigPixmaps ()
void slotUseTextLabels ()
void slotChangeFont ()

Protected Attributes

QPopupMenu* fileMenu
 The file menu. More...

QPopupMenu* helpMenu
 The help menu. More...

QPopupMenu* viewMenu
 The view menu. More...

QPopupMenu* optionsMenu
 The optionsMenu;. More...

QPopupMenu* individualsMenu
 The actions menu. More...

QToolBar* fileToolBar
 The toolbar which contains the file actions. More...

QActionGroup* noExperimentActionGroup
 The action group that is disabled when there is no experiment present. More...

QActionGroup* evolutionRunningActionGroup
 The action group that is disabled when there is no experiment present. More...

QSplitter* splitter
 The splitter which contains the two main widgets. More...

QWidgetStack* widgetStack
 The widget stack onto which the widgets are packed. More...

QLabel* widgetBase
 The widget that is displayed if there are no other widgets on the widget stack. More...

int bigPixmapID
 Saves the menu item item for the menu item with which one can switch to using big pixmaps or not. More...

int textLabelsID
SIGEL_MasterGUI::SIG_ExperimentListViewexperimentListView
 The experiment list view. More...


Detailed Description

The class of the main window of the application.

This window contains the menubar, the toolbar and the statusbar. Furthermore it contains the main widget, which is the splitter.

Definition at line 28 of file SIG_MainWindow.h.


Constructor & Destructor Documentation

SIGEL_MasterGUI::SIG_MainWindow::SIG_MainWindow ( QWidget * parent = 0,
const char * name = 0,
WFlags f = WType_TopLevel )
 

The constructor of the main window.

Here all menus are set up, as well as the splitter with the SIG_ExperimentListView on one side and the QWidgetStack on the other side.

Parameters:
parent   The parent widget of SIG_MainWindow. If 0 (the normal case) the widget will get its own window.
name   Internal widget name for Qt.

Definition at line 17 of file SIG_MainWindow.cpp.

SIGEL_MasterGUI::SIG_MainWindow::~SIG_MainWindow ( )
 

The destructor of SIG_MainWindow.

Definition at line 447 of file SIG_MainWindow.cpp.


Member Function Documentation

void SIGEL_MasterGUI::SIG_MainWindow::slotAbout ( ) [slot]
 

This slot is called when the about box has to be shown.

Definition at line 449 of file SIG_MainWindow.cpp.

void SIGEL_MasterGUI::SIG_MainWindow::slotAboutToQuit ( ) [slot]
 

This slot is called whenever the user is about to quit the application.

Definition at line 466 of file SIG_MainWindow.cpp.

void SIGEL_MasterGUI::SIG_MainWindow::slotChangeFont ( ) [slot]
 

Definition at line 491 of file SIG_MainWindow.cpp.

void SIGEL_MasterGUI::SIG_MainWindow::slotShowEmpty ( bool isNotEmpty ) [slot]
 

This slot is used by the main window to indicate whether there are open experiments or not.

If isNotEmpty is false some menu items and toolbar items will be disabled. This is done via a QActionGroup.

Definition at line 458 of file SIG_MainWindow.cpp.

void SIGEL_MasterGUI::SIG_MainWindow::slotUseBigPixmaps ( ) [slot]
 

Definition at line 477 of file SIG_MainWindow.cpp.

void SIGEL_MasterGUI::SIG_MainWindow::slotUseTextLabels ( ) [slot]
 

Definition at line 484 of file SIG_MainWindow.cpp.


Member Data Documentation

int SIGEL_MasterGUI::SIG_MainWindow::bigPixmapID [protected]
 

Saves the menu item item for the menu item with which one can switch to using big pixmaps or not.

Definition at line 151 of file SIG_MainWindow.h.

QActionGroup * SIGEL_MasterGUI::SIG_MainWindow::evolutionRunningActionGroup [protected]
 

The action group that is disabled when there is no experiment present.

Definition at line 120 of file SIG_MainWindow.h.

SIGEL_MasterGUI::SIG_ExperimentListView * SIGEL_MasterGUI::SIG_MainWindow::experimentListView [protected]
 

The experiment list view.

All experiments are shown in this widget.

Definition at line 158 of file SIG_MainWindow.h.

QPopupMenu * SIGEL_MasterGUI::SIG_MainWindow::fileMenu [protected]
 

The file menu.

Experiment can be created, deleted, loaded and saved here for example.

Definition at line 84 of file SIG_MainWindow.h.

QToolBar * SIGEL_MasterGUI::SIG_MainWindow::fileToolBar [protected]
 

The toolbar which contains the file actions.

Definition at line 108 of file SIG_MainWindow.h.

QPopupMenu * SIGEL_MasterGUI::SIG_MainWindow::helpMenu [protected]
 

The help menu.

Definition at line 89 of file SIG_MainWindow.h.

QPopupMenu * SIGEL_MasterGUI::SIG_MainWindow::individualsMenu [protected]
 

The actions menu.

Definition at line 103 of file SIG_MainWindow.h.

QActionGroup * SIGEL_MasterGUI::SIG_MainWindow::noExperimentActionGroup [protected]
 

The action group that is disabled when there is no experiment present.

Definition at line 114 of file SIG_MainWindow.h.

QPopupMenu * SIGEL_MasterGUI::SIG_MainWindow::optionsMenu [protected]
 

The optionsMenu;.

Definition at line 99 of file SIG_MainWindow.h.

QSplitter * SIGEL_MasterGUI::SIG_MainWindow::splitter [protected]
 

The splitter which contains the two main widgets.

The two main widgets are the SIG_ExperimentListView object on the left side and the QWidgetStack on the right side of the screen.

Definition at line 129 of file SIG_MainWindow.h.

int SIGEL_MasterGUI::SIG_MainWindow::textLabelsID [protected]
 

Definition at line 153 of file SIG_MainWindow.h.

QPopupMenu * SIGEL_MasterGUI::SIG_MainWindow::viewMenu [protected]
 

The view menu.

Definition at line 94 of file SIG_MainWindow.h.

QLabel * SIGEL_MasterGUI::SIG_MainWindow::widgetBase [protected]
 

The widget that is displayed if there are no other widgets on the widget stack.

Definition at line 145 of file SIG_MainWindow.h.

QWidgetStack * SIGEL_MasterGUI::SIG_MainWindow::widgetStack [protected]
 

The widget stack onto which the widgets are packed.

When a new experiment is created, all widgets belonging to this experiment are packed onto this widget stack. Whenever a widget is needed to be shown, it is first looked up in the widget dictionary, and the displayed on the widget stack.

Definition at line 139 of file SIG_MainWindow.h.


The documentation for this class was generated from the following files:
Generated at Mon Sep 3 01:32:52 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000