FGx  1
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
confirmpage.h
1 #ifndef CONFIRMPAGE_H
2 #define CONFIRMPAGE_H
3 
4 #include<QtDebug>
5 
6 
7 #include <QWizardPage>
8 #include <QCheckBox>
9 #include <QLineEdit>
10 #include <QToolButton>
11 #include <QLabel>
12 #include <QCheckBox>
13 #include <QRadioButton>
14 
15 #include "xobjects/mainobject.h"
16 
17 class ConfirmPage : public QWizardPage
18 {
19 Q_OBJECT
20 public:
21  explicit ConfirmPage(MainObject *mob, QWidget *parent = 0);
22 
23  MainObject *mainObject;
24 
25  QLabel *lblFgExeUsingDefault;
26  QLabel *lblFgExePath;
27 
28  QLabel *lblFgRootUsingDefault;
29  QLabel *lblFgRootPath;
30 
31  QLabel *lblUsingTerraSync;
32  QLabel *lblTerraSyncPath;
33 
34  QCheckBox *checkBoxImportAirports;
35  QRadioButton *radioIcaoOnly;
36  QRadioButton *radioAllAirports;
37 
38  QCheckBox *checkBoxImportAircaft;
39 
40  void initializePage();
41  bool validatePage();
42 signals:
43  void setx(QString option, bool enabled, QString value);
44 
45 public slots:
46  void on_import_airports();
47 
48 };
49 
50 #endif // CONFIRMPAGE_H
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition: mainobject.h:61
The page that actually writes paths out, and reloads the cache.
Definition: confirmpage.h:17