00001 #ifndef SIGEL_MASTERGUI_SIG_MAINWINDOW_H
00002 #define SIGEL_MASTERGUI_SIG_MAINWINDOW_H
00003
00004 #include <qmainwindow.h>
00005 #include <qsplitter.h>
00006 #include <qpushbutton.h>
00007 #include <qwidgetstack.h>
00008 #include <qmenubar.h>
00009 #include <qpopupmenu.h>
00010 #include <qtoolbar.h>
00011 #include <qaction.h>
00012 #include <qlabel.h>
00013
00014 #include "SIGEL_MasterGUI/SIG_ExperimentListView.h"
00015
00020 namespace SIGEL_MasterGUI
00021 {
00028 class SIG_MainWindow : public QMainWindow
00029 {
00030 Q_OBJECT
00031
00032 public:
00033
00044 SIG_MainWindow( QWidget * parent = 0, const char * name = 0, WFlags f = WType_TopLevel );
00045
00049 ~SIG_MainWindow();
00050
00051 public slots:
00055 void slotAbout();
00056
00064 void slotShowEmpty( bool isNotEmpty );
00065
00069 void slotAboutToQuit();
00070
00071 void slotUseBigPixmaps();
00072
00073 void slotUseTextLabels();
00074
00075 void slotChangeFont();
00076
00077 protected:
00084 QPopupMenu *fileMenu;
00085
00089 QPopupMenu *helpMenu;
00090
00094 QPopupMenu *viewMenu;
00095
00099 QPopupMenu *optionsMenu;
00103 QPopupMenu *individualsMenu;
00104
00108 QToolBar *fileToolBar;
00109
00114 QActionGroup *noExperimentActionGroup;
00115
00120 QActionGroup *evolutionRunningActionGroup;
00121
00129 QSplitter *splitter;
00130
00139 QWidgetStack *widgetStack;
00140
00145 QLabel *widgetBase;
00146
00151 int bigPixmapID;
00152
00153 int textLabelsID;
00154
00158 SIGEL_MasterGUI::SIG_ExperimentListView *experimentListView;
00159 };
00160
00161 }
00162
00163 #endif // SIGEL_MASTERGUI_SIG_MAINWINDOW_H
00164
00165
00166