VPTissue Reference Manual
StartPage.h
Go to the documentation of this file.
1 #ifndef SIMPT_PAREX_START_PAGE_H_INCLUDED
2 #define SIMPT_PAREX_START_PAGE_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 #include <boost/property_tree/ptree.hpp>
25 #include <map>
26 
27 class QComboBox;
28 class QLineEdit;
29 class QListWidget;
30 class QRadioButton;
31 
32 namespace SimPT_Parex {
33 
34 class Exploration;
35 
39 class StartPage : public QWizardPage
40 {
41  Q_OBJECT
42 public:
44  StartPage(std::shared_ptr<Exploration>& exploration, const std::shared_ptr<const Exploration>& lastExploration);
45 
47  virtual ~StartPage();
48 
49 private:
50  enum { Page_Start, Page_Path, Page_Param, Page_Files, Page_Send, Page_Template_Path };
51 
52 private:
54  virtual bool validatePage();
55 
57  virtual int nextId() const;
58 
59 private:
60  QRadioButton* m_select_new_sweep;
61  QRadioButton* m_select_new_file;
62  QRadioButton* m_select_new_template;
63  QRadioButton* m_select_edit;
64  QRadioButton* m_select_send;
65 
66  std::shared_ptr<Exploration>& m_exploration;
67  std::shared_ptr<const Exploration> m_last_exploration;
68 };
69 
70 } // namespace
71 
72 #endif // end_of_include_guard
see the online Qt documentation
Select type of new exploration.
Definition: StartPage.h:39
virtual ~StartPage()
Destructor.
Definition: StartPage.cpp:87
Namespace for SimPT parameter explorer package.
Definition: Client.cpp:52
StartPage(std::shared_ptr< Exploration > &exploration, const std::shared_ptr< const Exploration > &lastExploration)
Constructor.
Definition: StartPage.cpp:60