Go to the documentation of this file.00001 #ifndef PARAM_ROOT_CHOOSER_h
00002 #define PARAM_ROOT_CHOOSER_h
00003
00004 #include <QtGui/QDialog>
00005 #include <string>
00006 #include <vector>
00007 #include "ui_param_root_chooser.h"
00008
00009 class ParamRootChooser : public QDialog
00010 {
00011 Q_OBJECT
00012
00013 public:
00014 ParamRootChooser(QWidget* parent = 0);
00015
00016 std::string selectedParamRoot() const;
00017
00018 private Q_SLOTS:
00019 void on_paramRootCombo_currentIndexChanged(const QString & text);
00020
00021 private:
00023 std::vector<std::string> getParamNamesFromMaster() const;
00024
00026
00032 std::vector<std::string> getParameterRoots(const std::vector<std::string> paramNames) const;
00033
00034 private:
00035 Ui::ParamRootChooserDialog ui;
00036
00037 std::string _selectedParam;
00038 };
00039
00040 #endif
00041