SpikeStream Application Library  0.2
ParametersDialog.h
Go to the documentation of this file.
00001 #ifndef PARAMETERSDIALOG_H
00002 #define PARAMETERSDIALOG_H
00003 
00004 //SpikeStream includes
00005 #include "AbstractParametersEditDialog.h"
00006 
00007 namespace spikestream {
00008 
00010         class ParametersDialog : public AbstractParametersEditDialog {
00011                 Q_OBJECT
00012 
00013                 public:
00014                         ParametersDialog(const QList<ParameterInfo>& paramInfoList, const QHash<QString, double>& defaultParameterMap, const QHash<QString, double>& currentParameterMap, QWidget* parent=0);
00015                         ~ParametersDialog();
00016                         QHash<QString, double> getParameters() { return currentParameterMap; }
00017 
00018 
00019                 private slots:
00020                         void defaultButtonClicked();
00021                         void okButtonClicked();
00022 
00023                 private:
00024                         //=====================  VARIABLES  ======================
00026                         QHash<QString, double> defaultParameterMap;
00027 
00029                         QHash<QString, double> currentParameterMap;
00030         };
00031 
00032 }
00033 
00034 #endif//PARAMETERSDIALOG_H
 All Classes Files Functions Variables Typedefs Friends Defines