FGx  1
fgxdebugwidget.h
1 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2 // FGx FlightGear Launcher // fgxdebugwidget.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 FGXDEBUGWIDGET_H
10 #define FGXDEBUGWIDGET_H
11 
12 #include <QWidget>
13 #include <QPlainTextEdit>
14 
15 
16 #include "xobjects/mainobject.h"
17 class MainObject;
18 
19 #include "xwidgets/xdebugtreewidget.h"
20 class XDebugTreeWidget;
21 
22 #include "xwidgets/xcommandpreviewidget.h"
24 
25 
26 class FgxDebugWidget : public QWidget
27 {
28 Q_OBJECT
29 public:
30  explicit FgxDebugWidget(MainObject *mob, QWidget *parent = 0);
31 
32  MainObject *mainObject;
33 
34  XDebugTreeWidget *debugTreeWidget;
35  XCommandPrevieWidget *commandPreviewWidget;
36 
37 signals:
38 
39 public slots:
40  void on_tab(int idx);
41 
42  //void closeEvent(QCloseEvent *event);
43 
44  void on_open_at_startup(bool checked);
45 
46 };
47 
48 #endif // FGXDEBUGWIDGET_H
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition: mainobject.h:61
Definition: xcommandpreviewidget.h:20
Definition: xdebugtreewidget.h:23
Definition: fgxdebugwidget.h:26