SpikeStream Application Library
0.2
|
00001 #ifndef NEURONGROUPWIDGET_H 00002 #define NEURONGROUPWIDGET_H 00003 00004 //SpikeStream includes 00005 #include "NeuronGroupModel.h" 00006 00007 //Qt includes 00008 #include <QProgressDialog> 00009 #include <QPushButton> 00010 #include <QWidget> 00011 00012 namespace spikestream { 00013 00016 class NeuronGroupWidget : public QWidget { 00017 Q_OBJECT 00018 00019 public: 00020 NeuronGroupWidget(QWidget* parent = 0); 00021 ~NeuronGroupWidget(); 00022 00023 00024 private slots: 00025 void addNeurons(); 00026 void deleteSelectedNeurons(); 00027 void networkChanged(); 00028 void networkTaskFinished(); 00029 00030 00031 private: 00032 //======================== VARIABLES ======================== 00034 NeuronGroupModel* neuronGroupModel; 00035 00037 QPushButton* addNeuronsButton; 00038 00040 QPushButton* deleteButton; 00041 00043 QProgressDialog* progressDialog; 00044 }; 00045 00046 } 00047 00048 #endif//NEURONGROUPWIDGET_H 00049 00050