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