SpikeStream Application Library  0.2
SpikeStreamMainWindow.h
Go to the documentation of this file.
00001 #ifndef SPIKESTREAMMAINWINDOW_H
00002 #define SPIKESTREAMMAINWINDOW_H
00003 
00004 //SpikeStream includes
00005 #include "DatabaseManager.h"
00006 #include "SpikeStreamApplication.h"
00007 using namespace spikestream;
00008 
00009 //Qt includes
00010 #include <QProgressDialog>
00011 #include <QMainWindow>
00012 #include <QTabWidget>
00013 #include <QCloseEvent>
00014 
00015 namespace spikestream {
00016 
00019     class SpikeStreamMainWindow: public QMainWindow {
00020                 Q_OBJECT
00021 
00022                 public:
00023                         SpikeStreamMainWindow();
00024                         ~SpikeStreamMainWindow();
00025 
00026                 protected:
00027                         void closeEvent (QCloseEvent* event);
00028 
00029                 private slots:
00030                         void about();
00031                         void clearDatabases();
00032                         void loadDatabases();
00033                         void saveDatabases();
00034                         void showAnalysisWidget();
00035                         void showArchiveWidget();
00036                         void showEditorWidget();
00037                         void showNetworkWidget();
00038                         void showSimulationWidget();
00039                         void showViewerWidget();
00040                         void databaseManagerFinished();
00041 
00042 
00043                 private:
00044                         //======================  VARIABLES  ======================
00045                         QTabWidget *tabWidget;
00046 
00048                         DatabaseManager* databaseManager;
00049 
00050                         QProgressDialog* progressDialog;
00051 
00052                         //=======================  METHODS  =======================
00053                         void initializeApplication();
00054 
00056                         SpikeStreamMainWindow (const SpikeStreamMainWindow&);
00057 
00059                         SpikeStreamMainWindow operator = (const SpikeStreamMainWindow&);
00060 
00061     };
00062 }
00063 
00064 #endif//SPIKESTREAMMAINWINDOW_H
 All Classes Files Functions Variables Typedefs Friends Defines