FGx
1
src
settings
settingsdialog.h
1
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2
// FGx FlightGear Launcher // settingsdialog.h
3
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
4
// (c) 2010-2012
5
// Yves Sablonier, Pete Morgan
6
// Geoff McLane
7
// GNU GPLv2, see main.cpp and shipped licence.txt for further information
8
9
#ifndef SettingsDialog_H
10
#define SettingsDialog_H
11
12
#include <QtCore/QString>
13
14
#include <QtGui/QDialog>
15
#include <QtGui/QWidget>
16
//#include <QtGui/QStatusBar>
17
#include <QtGui/QPushButton>
18
#include <QtGui/QTabWidget>
19
20
#include "xobjects/mainobject.h"
21
22
23
class
SettingsDialog
:
public
QDialog
24
{
25
Q_OBJECT
26
public
:
27
explicit
SettingsDialog
(
MainObject
*mOb, QWidget *parent = 0);
28
29
QTabWidget *tabWidget;
30
31
private
:
32
MainObject
*mainObject;
33
34
35
36
37
38
39
QString get_frame_style(
bool
is_valid);
40
void
disable_scenery_actions(
bool
);
41
42
void
closeEvent(QCloseEvent *event);
43
bool
validate_paths();
44
45
signals:
46
47
public
slots:
48
49
50
void
load_settings();
51
void
on_save_clicked();
52
53
};
54
55
#endif // SettingsDialog_H
MainObject
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition:
mainobject.h:61
SettingsDialog
Definition:
settingsdialog.h:23
Generated on Fri Nov 18 2016 05:39:25 for FGx by
1.8.12