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