dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
abstractwizardpage.h
Go to the documentation of this file.
1 
14 /*
15  * This program is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation; either version 3 of the License, or
18  * (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful, but
21  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23  * for more details.
24  *
25  * You should have received a copy of the GNU General Public License along
26  * with this program; if not, see <http://www.gnu.org/licenses/>
27  */
28 
29 #ifndef ABSTRACTWIZARDPAGE_H
30 #define ABSTRACTWIZARDPAGE_H
31 
32 #include <QWizardPage>
33 #include "setupwizard.h"
34 #include <coreplugin/iboardtype.h>
35 
36 class AbstractWizardPage : public QWizardPage
37 {
38  Q_OBJECT
39 protected:
40  explicit AbstractWizardPage(SetupWizard *wizard, QWidget *parent = nullptr);
41 
42 private:
43  SetupWizard *m_wizard;
44 
45 public:
46  SetupWizard *getWizard() const { return m_wizard; }
47 
49 };
50 
51 #endif // ABSTRACTWIZARDPAGE_H
The SetupWizard class is the main interface to the setup wizard. It provides selects the sequence of ...
Definition: setupwizard.h:47
SetupWizard * getWizard() const
AbstractWizardPage(SetupWizard *wizard, QWidget *parent=nullptr)
Core::IBoardType * getControllerType() const
ControllerPage::getControllerType get the interface for the connected board.