EyaMainWindow Class Reference

Main window class of openeya. More...

#include <eyamainwindow.h>

Collaboration diagram for EyaMainWindow:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 EyaMainWindow (QWidget *parent=0, Qt::WindowFlags flags=0)
 Constructor.
 ~EyaMainWindow ()
 Destructor.

Private Slots

void slotTabChanged (int)
 Insert the tab mode combobox in the statusbar.
void slotMenuHelpManual ()
 This slot is for Help->openEya manual event.
void slotMenuHelpUpdate ()
 This slot is for Help->Check for updates event.
void slotMenuAboutOpenEyA ()
 This slot is for Help->About event.
void slotMenuAboutQt ()
 This slot is for Help->AboutQt event.
void slotMessageForStatusBar (QString s, int timeout=0)
 This slot is used to change the content of the status bar when a signal is emitted by another class.
void slotMenuRecording ()
 This slot is for Settings->Recording event.
void slotMenuProcessing ()
 This slot is for Settings->Processing event.
void slotMenuLoadAlarms ()
 This slot is for File->Load alarms event.
void slotMenuSaveAlarms ()
 This slot is for Settings->Save alarms event.
void slotTabModeChanged (int)
 Called when the tab mode is changed: principal, advanced, all.

Private Member Functions

void createMenuBar ()
 Initialization of the menu bar.
void createStatusBar ()
 Initialization of the status bar.

Private Attributes

QMenu * menuFile
QMenu * menuHelp
QMenu * menuSettings
QTabWidget * tabs
EyaPerspectiveTabtabAdvanced
EyaSetupTabtabSetup
EyaRecordingTabtabRecording
EyaProcessingTabtabProcessing
EyaWebtestTabtabWebtest
EyaRecordingSettingssettingsRecording
EyaProcessingSettingssettingsProcessing
EyaHelphelpManual
EyaUpdateshelpUpdate
QComboBox * comboTabMode
QWidget * widgetMenuBar
QMenuBar * myMenuBar
QHBoxLayout * layoutMenuBar


Detailed Description

Main window class of openeya.

This if the main class of openeya: the other classes are instantiated by this class. This class inherits QMainWindow.


Constructor & Destructor Documentation

EyaMainWindow::EyaMainWindow ( QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructor.

EyaMainWindow::~EyaMainWindow (  ) 

Destructor.


Member Function Documentation

void EyaMainWindow::createMenuBar (  )  [private]

Initialization of the menu bar.

void EyaMainWindow::createStatusBar (  )  [private]

Initialization of the status bar.

void EyaMainWindow::slotMenuAboutOpenEyA (  )  [private, slot]

This slot is for Help->About event.

void EyaMainWindow::slotMenuAboutQt (  )  [private, slot]

This slot is for Help->AboutQt event.

void EyaMainWindow::slotMenuHelpManual (  )  [private, slot]

This slot is for Help->openEya manual event.

void EyaMainWindow::slotMenuHelpUpdate (  )  [private, slot]

This slot is for Help->Check for updates event.

void EyaMainWindow::slotMenuLoadAlarms (  )  [private, slot]

This slot is for File->Load alarms event.

void EyaMainWindow::slotMenuProcessing (  )  [private, slot]

This slot is for Settings->Processing event.

void EyaMainWindow::slotMenuRecording (  )  [private, slot]

This slot is for Settings->Recording event.

void EyaMainWindow::slotMenuSaveAlarms (  )  [private, slot]

This slot is for Settings->Save alarms event.

void EyaMainWindow::slotMessageForStatusBar ( QString  s,
int  timeout = 0 
) [private, slot]

This slot is used to change the content of the status bar when a signal is emitted by another class.

void EyaMainWindow::slotTabChanged ( int   )  [private, slot]

Insert the tab mode combobox in the statusbar.

This slot captures the tab currentChanged event

void EyaMainWindow::slotTabModeChanged ( int  idx  )  [private, slot]

Called when the tab mode is changed: principal, advanced, all.


Member Data Documentation

QComboBox* EyaMainWindow::comboTabMode [private]

QHBoxLayout* EyaMainWindow::layoutMenuBar [private]

QMenu* EyaMainWindow::menuFile [private]

QMenu * EyaMainWindow::menuHelp [private]

QMenu * EyaMainWindow::menuSettings [private]

QMenuBar* EyaMainWindow::myMenuBar [private]

QTabWidget* EyaMainWindow::tabs [private]

QWidget* EyaMainWindow::widgetMenuBar [private]


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

Generated on Mon Aug 24 14:01:39 2009 for openeya by  doxygen 1.5.8