FGx  1
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
expertoptionswidget.h
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 <QtGui/QPlainTextEdit>
13 #include <QtGui/QPushButton>
14 #include <QtGui/QWidget>
15 #include <QtGui/QButtonGroup>
16 
17 #include "xobjects/mainobject.h"
18 
19 #include "xwidgets/xcommandpreviewidget.h"
21 
22 class ExpertOptionsWidget : public QWidget
23 {
24 Q_OBJECT
25 public:
26  explicit ExpertOptionsWidget(MainObject *mOb, QWidget *parent = 0);
27 
28  MainObject *mainObject;
29 
30  XGroupVBox *groupBoxArgs;
31  XGroupVBox *groupBoxEnv;
32 
33  // Advanced Options
34  QPlainTextEdit *txtExtraArgs;
35  QPlainTextEdit *txtExtraEnv;
36  QLineEdit *txtRuntime;
37 
38  XGroupVBox *groupBoxWriteLog;
39  QComboBox *comboLogLevels;
40 
41  // preview
42  XCommandPrevieWidget *commandPreviewWidget;
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