1 #ifndef SIMPT_PAREX_FILES_PAGE_H_INCLUDED
2 #define SIMPT_PAREX_FILES_PAGE_H_INCLUDED
23 #include <QWizardPage>
24 #include <boost/property_tree/ptree.hpp>
44 FilesPage(std::shared_ptr<Exploration>& exploration, boost::property_tree::ptree& preferences);
50 void UpdateRemoveDisabled();
55 enum { Page_Start, Page_Path, Page_Param, Page_Files, Page_Send, Page_Template_Path };
58 virtual bool isComplete()
const;
59 virtual bool validatePage();
60 virtual int nextId()
const {
return Page_Send; }
63 std::shared_ptr<Exploration>& m_exploration;
64 boost::property_tree::ptree& m_preferences;
65 std::map<QString, boost::property_tree::ptree> m_files;
66 QListWidget* m_files_widget;
67 QPushButton* m_remove_button;
72 #endif // end_of_include_guard
see the online Qt documentation
virtual ~FilesPage()
Destructor.
FilesPage(std::shared_ptr< Exploration > &exploration, boost::property_tree::ptree &preferences)
Constructor.
Namespace for SimPT parameter explorer package.
Page to allow file selection.