1 #ifndef SIMPT_PAREX_TEMPLATE_FILE_PAGE_H_INCLUDED
2 #define SIMPT_PAREX_TEMPLATE_FILE_PAGE_H_INCLUDED
23 #include <QWizardPage>
24 #include <boost/property_tree/ptree.hpp>
49 TemplateFilePage(std::shared_ptr<Exploration>& exploration, boost::property_tree::ptree& preferences);
61 void BrowseLeafFile();
67 void BrowseParamsFile();
70 enum { Page_Start, Page_Path, Page_Param, Page_Files, Page_Send, Page_Template_Path };
73 virtual bool isComplete()
const;
74 virtual bool validatePage();
75 virtual int nextId()
const {
return Page_Send; }
78 std::shared_ptr<Exploration>& m_exploration;
79 boost::property_tree::ptree& m_preferences;
80 boost::property_tree::ptree m_ptree;
81 std::vector<std::string> m_param_names;
82 std::vector< std::vector<std::string>> m_params;
83 QLineEdit* m_file_path;
84 QLineEdit* m_params_path;
89 #endif // end_of_include_guard
virtual ~TemplateFilePage()
Destructor.
see the online Qt documentation
Select the input template data file.
TemplateFilePage(std::shared_ptr< Exploration > &exploration, boost::property_tree::ptree &preferences)
Constructor.
Namespace for SimPT parameter explorer package.