Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
xcommandpreviewidget.h
Go to the documentation of this file.
1 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2 // FGx FlightGear Launcher // xcommandpreview.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 XCOMMANDPREVIEWIDGET_H
10 #define XCOMMANDPREVIEWIDGET_H
11 
12 #include <QWidget>
13 #include <QPlainTextEdit>
14 #include <QButtonGroup>
15 
16 #include "xobjects/mainobject.h"
17 class MainObject;
18 
19 
21 {
22 Q_OBJECT
23 public:
24  explicit XCommandPrevieWidget(MainObject *mob, QWidget *parent = 0);
25 
27 
28  QPlainTextEdit *txtPreviewOutput;
29  QButtonGroup *buttonGroup;
30 
31 signals:
32 
33 public slots:
34  void on_command_help();
35  void on_command_version();
36  void preview();
37 };
38 
39 #endif // XCOMMANDPREVIEWIDGET_H
XCommandPrevieWidget(MainObject *mob, QWidget *parent=0)
QPlainTextEdit * txtPreviewOutput
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition: mainobject.h:66