VPTissue Reference Manual
ExplorationWizard.h
Go to the documentation of this file.
1 #ifndef SIMPT_PAREX_EXPLORATION_WIZARD_H_INCLUDED
2 #define SIMPT_PAREX_EXPLORATION_WIZARD_H_INCLUDED
3 /*
4  * Copyright 2011-2016 Universiteit Antwerpen
5  *
6  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
7  * the European Commission - subsequent versions of the EUPL (the "Licence");
8  * You may not use this work except in compliance with the Licence.
9  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the Licence is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the Licence for the specific language governing
15  * permissions and limitations under the Licence.
16  */
22 #include <QWizard>
23 #include <QWizardPage>
24 
25 #include <boost/property_tree/ptree.hpp>
26 
27 #include <map>
28 
29 class QComboBox;
30 class QLineEdit;
31 class QListWidget;
32 class QRadioButton;
33 
34 namespace SimPT_Parex {
35 
36 class Exploration;
37 
43 class ExplorationWizard : public QWizard
44 {
45 public:
53  ExplorationWizard(const boost::property_tree::ptree &preferences, const std::shared_ptr<const Exploration> &lastExploration, QWidget *parent = nullptr);
54 
56  virtual ~ExplorationWizard() {}
57 
58 
60  std::shared_ptr<const Exploration> GetExploration();
61 
62 private:
63  enum { Page_Start, Page_Path, Page_Param, Page_Files, Page_Send, Page_Template_Path };
64 
65  std::shared_ptr<Exploration> m_exploration;
66  boost::property_tree::ptree m_preferences;
67 };
68 
69 } // namespace
70 
71 #endif // end_of_include_guard
std::shared_ptr< const Exploration > GetExploration()
Returns the Exploration generated from the wizard.
ExplorationWizard(const boost::property_tree::ptree &preferences, const std::shared_ptr< const Exploration > &lastExploration, QWidget *parent=nullptr)
Constructor.
Wizard to set up an exploration.
virtual ~ExplorationWizard()
Destructor.
see the online Qt documentation
see the online Qt documentation
Namespace for SimPT parameter explorer package.
Definition: Client.cpp:52