dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
summarypage.cpp
Go to the documentation of this file.
1
13
/*
14
* This program is free software; you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation; either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* This program is distributed in the hope that it will be useful, but
20
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22
* for more details.
23
*
24
* You should have received a copy of the GNU General Public License along
25
* with this program; if not, see <http://www.gnu.org/licenses/>
26
*/
27
28
#include "
summarypage.h
"
29
#include "ui_summarypage.h"
30
#include "
setupwizard.h
"
31
#include <
uavobjectwidgetutils/connectiondiagram.h
>
32
33
SummaryPage::SummaryPage
(
SetupWizard
*wizard, QWidget *parent)
34
:
AbstractWizardPage
(wizard, parent)
35
, ui(new Ui::
SummaryPage
)
36
{
37
ui->setupUi(
this
);
38
connect(ui->illustrationButton, &QAbstractButton::clicked,
this
, &SummaryPage::showDiagram);
39
}
40
41
SummaryPage::~SummaryPage
()
42
{
43
delete
ui;
44
}
45
46
bool
SummaryPage::validatePage
()
47
{
48
return
true
;
49
}
50
51
void
SummaryPage::initializePage
()
52
{
53
ui->configurationSummary->setText(
getWizard
()->getSummaryText());
54
}
55
56
void
SummaryPage::showDiagram()
57
{
58
ConnectionDiagram
diagram(
this
);
59
diagram.exec();
60
}
SetupWizard
The SetupWizard class is the main interface to the setup wizard. It provides selects the sequence of ...
Definition:
setupwizard.h:47
SummaryPage::initializePage
void initializePage()
Definition:
summarypage.cpp:51
AbstractWizardPage::getWizard
SetupWizard * getWizard() const
Definition:
abstractwizardpage.h:46
summarypage.h
SummaryPage
Definition:
summarypage.h:37
SummaryPage::SummaryPage
SummaryPage(SetupWizard *wizard, QWidget *parent=nullptr)
Definition:
summarypage.cpp:33
SummaryPage::validatePage
bool validatePage()
Definition:
summarypage.cpp:46
connectiondiagram.h
SummaryPage::~SummaryPage
~SummaryPage()
Definition:
summarypage.cpp:41
ConnectionDiagram
Definition:
connectiondiagram.h:49
AbstractWizardPage
Definition:
abstractwizardpage.h:36
setupwizard.h
ground
gcs
src
plugins
setupwizard
pages
summarypage.cpp
Generated by
1.8.6