FGx
1
src
xwidgets
xcommandpreviewidget.h
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
20
class
XCommandPrevieWidget
:
public
QWidget
21
{
22
Q_OBJECT
23
public
:
24
explicit
XCommandPrevieWidget
(
MainObject
*mob, QWidget *parent = 0);
25
26
MainObject
*mainObject;
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
MainObject
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition:
mainobject.h:61
XCommandPrevieWidget
Definition:
xcommandpreviewidget.h:20
Generated on Thu Feb 13 2020 01:10:59 for FGx by
1.8.17