Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
expertoptionswidget.h
Go to the documentation of this file.
1 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2 // FGx FlightGear Launcher // expertoptionswidget.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 EXPERTOPTIONSWIDGET_H
10 #define EXPERTOPTIONSWIDGET_H
11 
12 #include <QPlainTextEdit>
13 #include <QPushButton>
14 #include <QWidget>
15 #include <QButtonGroup>
16 
17 #include "xobjects/mainobject.h"
18 
21 
23 {
24 Q_OBJECT
25 public:
26  explicit ExpertOptionsWidget(MainObject *mOb, QWidget *parent = 0);
27 
29 
32 
33  // Advanced Options
34  QPlainTextEdit *txtExtraArgs;
35  QPlainTextEdit *txtExtraEnv;
36  QLineEdit *txtRuntime;
37 
39  QComboBox *comboLogLevels;
40 
41  // preview
43 
44 signals:
45  void setx(QString option, bool enabled, QString value);
46 
47 public slots:
48 
49 
50 
51  void on_extra();
52  void on_env();
53  void on_runtime();
54  void on_log_level();
55 
56  void on_upx(QString option, bool enabled, QString value);
57 };
58 
59 #endif // EXPERTOPTIONSWIDGET_H
A QGroupBox with a QVBoxLyout layout.
Definition: xgroupboxes.h:19
void on_upx(QString option, bool enabled, QString value)
XGroupVBox * groupBoxWriteLog
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition: mainobject.h:66
ExpertOptionsWidget(MainObject *mOb, QWidget *parent=0)
XCommandPrevieWidget * commandPreviewWidget
QPlainTextEdit * txtExtraArgs
QPlainTextEdit * txtExtraEnv
void setx(QString option, bool enabled, QString value)