SpikeStream Application Library  0.2
ConnectionWidget.h
Go to the documentation of this file.
00001 #ifndef CONNECTIONWIDGET_H
00002 #define CONNECTIONWIDGET_H
00003 
00004 //SpikeStream includes
00005 #include "ConnectionGroupModel.h"
00006 #include "ConnectionManager.h"
00007 
00008 //Qt includes
00009 #include <QMutex>
00010 #include <QProgressDialog>
00011 #include <QPushButton>
00012 #include <QWidget>
00013 
00014 namespace spikestream {
00015 
00018         class ConnectionWidget : public QWidget {
00019                 Q_OBJECT
00020 
00021                 public:
00022                         ConnectionWidget(QWidget* parent = 0);
00023                         ~ConnectionWidget();
00024 
00025 
00026                 private slots:
00027                         void addConnections();
00028                         void connectionManagerFinished();
00029                         void deleteSelectedConnections();
00030                         void networkChanged();
00031                         void updateProgress(int stepsCompleted, int totalSteps, QString message);
00032 
00033                 private:
00034                         //======================  VARIABLES  =========================
00036                         ConnectionGroupModel* connectionGroupModel;
00037 
00039                         QPushButton* addConnectionsButton;
00040 
00042                         QPushButton* deleteButton;
00043 
00045                         QProgressDialog* progressDialog;
00046 
00048                         ConnectionManager* connectionManager;
00049 
00051                         bool updatingProgress;
00052 
00053         };
00054 
00055 }
00056 
00057 #endif//CONNECTIONWIDGET_H
00058 
00059 
00060 
 All Classes Files Functions Variables Typedefs Friends Defines