File tree 3 files changed +31
-0
lines changed
3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 24
24
#include < QPainter>
25
25
#include < QUrl>
26
26
27
+ /* *
28
+ * @brief The QWebFrame class is a collection of stubs to mimic the API of a QWebFrame on systems
29
+ * where QtWebkit is not available.
30
+ */
27
31
class CORE_EXPORT QWebFrame : public QObject
28
32
{
33
+ // / @cond
29
34
Q_OBJECT
30
35
31
36
public:
@@ -69,6 +74,7 @@ class CORE_EXPORT QWebFrame : public QObject
69
74
70
75
signals:
71
76
void javaScriptWindowObjectCleared ();
77
+ // / @endcond
72
78
};
73
79
#endif
74
80
#endif // QGSWEBFRAME_H
Original file line number Diff line number Diff line change 28
28
#include < QNetworkAccessManager>
29
29
#include < QPalette>
30
30
31
+
32
+ /* *
33
+ * @brief The QWebSettings class is a collection of stubs to mimic the API of a QWebSettings on systems
34
+ * where QtWebkit is not available.
35
+ */
31
36
class CORE_EXPORT QWebSettings : public QObject
32
37
{
38
+ // / @cond
33
39
Q_OBJECT
34
40
35
41
public:
@@ -83,10 +89,16 @@ class CORE_EXPORT QWebSettings : public QObject
83
89
{
84
90
Q_UNUSED ( on );
85
91
}
92
+ // / @endcond
86
93
};
87
94
95
+ /* *
96
+ * @brief The QWebPage class is a collection of stubs to mimic the API of a QWebPage on systems
97
+ * where QtWebkit is not available.
98
+ */
88
99
class QWebPage : public QObject
89
100
{
101
+ // / @cond
90
102
Q_OBJECT
91
103
92
104
public:
@@ -166,6 +178,7 @@ class QWebPage : public QObject
166
178
private:
167
179
QWebSettings* mSettings ;
168
180
QWebFrame* mFrame ;
181
+ // / @endcond
169
182
};
170
183
#endif
171
184
Original file line number Diff line number Diff line change @@ -34,8 +34,18 @@ class CORE_EXPORT QgsWebView : public QWebView
34
34
#else
35
35
#include " qgswebpage.h"
36
36
37
+ /* *
38
+ * @brief The QgsWebView class is a collection of stubs to mimic the API of QWebView on systems where the real
39
+ * library is not available. It should be used instead of QWebView inside QGIS.
40
+ *
41
+ * If QGIS is compiled WITH_QTWEBKIT This will simply be a subclass of QWebView. If it is compiled with
42
+ * WITH_QTWEBKIT=OFF then this will be an empty QWidget. If you miss methods in here that you would like to use,
43
+ * please add additional stubs.
44
+ */
37
45
class CORE_EXPORT QgsWebView : public QWidget
38
46
{
47
+
48
+ // / @cond
39
49
Q_OBJECT
40
50
public:
41
51
explicit QgsWebView ( QWidget *parent = 0 )
@@ -99,6 +109,8 @@ class CORE_EXPORT QgsWebView : public QWidget
99
109
private:
100
110
QWebSettings* mSettings ;
101
111
QWebPage* mPage ;
112
+
113
+ // / @endcond
102
114
};
103
115
#endif
104
116
You can’t perform that action at this time.
0 commit comments