FGx  1
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
xbrowser.h
1 #ifndef XBROWSER_H
2 #define XBROWSER_H
3 
4 #include <QtGui/QWidget>
5 #include <QtGui/QStatusBar>
6 #include <QtGui/QToolBar>
7 #include <QtGui/QProgressBar>
8 #include <QtGui/QAction>
9 
10 #include <QtWebKit/QWebView>
11 #include <QtWebKit/QWebFrame>
12 #include <QtNetwork/QNetworkDiskCache>
13 #include <QtNetwork/QNetworkCookieJar>
14 
15 #include "xobjects/mainobject.h"
16 
17 class MainObject;
18 
19 
20 class XBrowser : public QWidget
21 {
22 Q_OBJECT
23 public:
24  explicit XBrowser(MainObject *mob, QWidget *parent = 0);
25 
26 
27  MainObject *mainObject;
28 
29  QToolBar *toolbar;
30 
31  QProgressBar *progressBar;
32 
33  QWebView *webView;
34  QNetworkDiskCache *networkDiskCache;
35  QNetworkCookieJar *networkCookieJar;
36 
37  QStatusBar *statusBar;
38 
39 
40 signals:
41 
42 public slots:
43 
44  void progress_start();
45  void progress_update(int progress);
46  void progress_finish(bool Ok);
47 
48 };
49 
50 #endif // XBROWSER_H
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition: mainobject.h:61
Definition: xbrowser.h:20