Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
mpmapwidget.h
Go to the documentation of this file.
1 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2 // FGx FlightGear Launcher // mpmapwidget.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 MPMAPWIDGET_H
10 #define MPMAPWIDGET_H
11 
12 #include <QtCore/QString>
13 
14 #include <QWidget>
15 #include <QProgressBar>
16 #include <QStatusBar>
17 #include <QComboBox>
18 
19 #include <QCloseEvent>
20 
21 #include <QWebView>
22 #include <QtNetwork/QNetworkDiskCache>
23 #include <QtNetwork/QNetworkCookieJar>
24 
25 #include "xobjects/mainobject.h"
26 
27 class MainObject;
28 
29 class MpMapWidget : public QWidget
30 {
31 Q_OBJECT
32 public:
33  explicit MpMapWidget(MainObject *mOb, QWidget *parent = 0);
34 
37 
38 private:
39 
40  QProgressBar *progressBar;
41  QStatusBar *statusBar;
42  QComboBox *comboServer;
43 
44 
45  QWebView *webView;
46  QNetworkDiskCache *networkDiskCache;
47  QNetworkCookieJar *networkCookieJar;
48 
49 signals:
50 
51 public slots:
52  void start_progress();
53  void update_progress(int progress);
54  void end_progress(bool Ok);
55 
56  void on_combo_server();
57  void closeEvent(QCloseEvent *event);
58 };
59 
60 
61 #endif // MPMAPWIDGET_H
QProgressBar * progressBar
Definition: mpmapwidget.h:40
void update_progress(int progress)
void on_combo_server()
void end_progress(bool Ok)
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition: mainobject.h:66
QString * mpmapFollowCallsign
Definition: mpmapwidget.h:36
QStatusBar * statusBar
Definition: mpmapwidget.h:41
void start_progress()
Definition: mpmapwidget.cpp:96
MainObject * mainObject
Definition: mpmapwidget.h:35
QNetworkCookieJar * networkCookieJar
Definition: mpmapwidget.h:47
QComboBox * comboServer
Definition: mpmapwidget.h:42
QWebView * webView
Definition: mpmapwidget.h:45
MpMapWidget(MainObject *mOb, QWidget *parent=0)
Definition: mpmapwidget.cpp:26
QNetworkDiskCache * networkDiskCache
Definition: mpmapwidget.h:46
void closeEvent(QCloseEvent *event)