Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
fgrootpage.h
Go to the documentation of this file.
1 #ifndef FGROOTPAGE_H
2 #define FGROOTPAGE_H
3 
4 #include <QRadioButton>
5 #include <QWizardPage>
6 #include <QToolButton>
7 #include <QLabel>
8 #include <QLineEdit>
9 
10 #include "xobjects/mainobject.h"
11 
12 class FgRootPage : public QWizardPage
13 {
14 Q_OBJECT
15 public:
16  explicit FgRootPage(MainObject *mainObject, QWidget *parent = 0);
18 
19 
20  QRadioButton *radioDefault;
21  QRadioButton *radioCustom;
22  QToolButton *buttSelect;
23 
26  QLineEdit *txtFgRoot;
27 
28  bool validatePage();
29  void initializePage();
30 
31 signals:
32 
33 public slots:
34  void on_default_toggled(bool);
35  void on_select_path();
36  void check_paths();
37 
38 };
39 
40 #endif // FGROOTPAGE_H
QToolButton * buttSelect
Definition: fgrootpage.h:22
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition: mainobject.h:66
void on_default_toggled(bool)
Definition: fgrootpage.cpp:145
QLabel * lblDefault
Definition: fgrootpage.h:24
void initializePage()
Definition: fgrootpage.cpp:82
QRadioButton * radioCustom
Definition: fgrootpage.h:21
QLabel * lblCustom
Definition: fgrootpage.h:25
FgRootPage(MainObject *mainObject, QWidget *parent=0)
Definition: fgrootpage.cpp:10
QRadioButton * radioDefault
Definition: fgrootpage.h:20
bool validatePage()
Definition: fgrootpage.cpp:127
QLineEdit * txtFgRoot
Definition: fgrootpage.h:26
MainObject * mainObject
Definition: fgrootpage.h:17
void on_select_path()
Definition: fgrootpage.cpp:70
void check_paths()
Definition: fgrootpage.cpp:92