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