9 #ifndef CORESETTINGSWIDGET_H
10 #define CORESETTINGSWIDGET_H
12 #include <QtGui/QWidget>
13 #include <QtGui/QComboBox>
14 #include <QtGui/QCheckBox>
15 #include <QtGui/QLineEdit>
16 #include <QtGui/QGroupBox>
17 #include <QtGui/QButtonGroup>
18 #include <QtGui/QRadioButton>
19 #include <QToolButton>
21 #include "xobjects/mainobject.h"
22 #include "xwidgets/xgroupboxes.h"
23 #include "xwidgets/xmessagelabel.h"
44 QLineEdit *txtCallSign;
47 QComboBox *comboScreenSize;
48 QCheckBox *checkBoxDisableSplashScreen;
49 QCheckBox *checkBoxFullScreenStartup;
51 QHBoxLayout *screenSizeBox;
52 QLineEdit *lineEditScreenSizeW;
53 QLineEdit *lineEditScreenSizeH;
54 QLabel *lineEditScreenSizeWLabel;
55 QLabel *lineEditScreenSizeHLabel;
60 QCheckBox *checkBoxShowMpMap;
61 QComboBox *comboMpMapServer;
65 QButtonGroup *buttonGroupPaths;
69 QLineEdit *lineEditFgFsPath;
70 QLineEdit *lineEditFgRootPath;
71 QToolButton *buttonSetFgfsPath;
72 QToolButton *buttonSetFgRootPath;
73 QLabel *labelFgfsProgram;
74 QLabel *labelFgfsCheck;
76 QLabel *labelFgRootData;
77 QLabel *labelFgRootCheck;
79 QCheckBox *checkBoxUseTerrasync;
80 QLabel *labelTerrasyncProgram;
81 QLabel *labelTerrasyncCheck;
82 QToolButton *buttonSetTerrasyncExePath;
83 QToolButton *buttonSetTerrasyncDataPath;
85 QLabel *labelTerrasyncData;
86 QLabel *labelTerrasyncDataCheck;
88 QLineEdit *lineEditTerraSyncDataPath;
89 QLineEdit *lineEditTerraSyncExePath;
91 QCheckBox *checkBoxUseCustomScenery;
92 QLabel *labelCustomScene;
93 QLabel *labelCustomSceneCheck;
94 QLineEdit *lineEditCustomScenePath;
95 QToolButton *buttonSetCustomSceneryPath;
97 QLabel *labelFGComExeInfo;
98 QLineEdit *lineEditFGComExePath;
109 void setx(QString option,
bool enabled, QString value);
114 void on_callsign_changed(QString);
116 void on_show_mp_map();
118 void on_fgfs_path(QString);
119 void on_fgroot_path(QString);
120 void on_terrasync_path(QString);
121 void on_terrasync_data_path(QString);
122 void on_terrasync_enabled();
123 void terrasync_enabled_checkstate();
124 void on_custom_scenery_enabled();
125 void on_custom_scenery_path(QString);
126 void custom_scenery_enabled_checkstate();
128 void load_joysticks();
130 void on_upx(QString option,
bool enabled, QString value);
133 void fgfs_check_path();
134 void fgroot_check_path();
135 void terrasync_exe_check_path();
136 void terrasync_data_check_path();
137 void custom_scenery_check_path();
140 void on_select_fgfsbutton();
141 void on_select_fgrootbutton();
142 void on_select_terrasyncexebutton();
143 void on_select_terrasyncdatabutton();
144 void on_select_customscenerybutton();
149 void fgfs_set_path();
150 void fgroot_set_path();
151 void terrasyncexe_set_path();
152 void terrasyncdata_set_path();
153 void customscenery_set_path();
155 int randInt(
int low,
int high);
158 #endif // CORESETTINGSWIDGET_H