SpikeStream Application Library
0.2
|
00001 #ifndef LOADANALYSISDIALOG_H 00002 #define LOADANALYSISDIALOG_H 00003 00004 //SpikeStream includes 00005 #include "AnalysisInfo.h" 00006 #include "AnalysesModel.h" 00007 #include "AnalysesTableView.h" 00008 using namespace spikestream; 00009 00010 //Qt includes 00011 #include <QDialog> 00012 #include <QTableView> 00013 #include <QItemSelectionModel> 00014 #include <QSqlQueryModel> 00015 00016 namespace spikestream { 00017 00019 class LoadAnalysisDialog : public QDialog { 00020 Q_OBJECT 00021 00022 public: 00023 LoadAnalysisDialog(QWidget* parent, unsigned int analysisType); 00024 ~LoadAnalysisDialog(); 00025 const AnalysisInfo& getAnalysisInfo(); 00026 00027 private slots: 00028 void deleteButtonPressed(); 00029 void okButtonPressed(); 00030 00031 private: 00032 //==================== VARIABLES ======================= 00035 AnalysisInfo analysisInfo; 00036 00038 unsigned int analysisType; 00039 00041 AnalysesModel* analysesModel; 00042 }; 00043 00044 } 00045 00046 #endif//LOADANALYSISDIALOG_H 00047