FGx
1
src
panes
viewlogwidget.h
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 <QtGui/QPlainTextEdit>
14
#include <QtGui/QPushButton>
15
#include <QtGui/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
28
MainObject
*mainObject;
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
ViewLogWidget
Definition:
viewlogwidget.h:21
MainObject
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition:
mainobject.h:61
Generated on Thu Oct 4 2018 14:00:02 for FGx by
1.8.13