summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc')
-rw-r--r--src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc25
1 files changed, 16 insertions, 9 deletions
diff --git a/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
index 976a1a924..5a4c1b52b 100644
--- a/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
+++ b/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
@@ -37,8 +37,10 @@
It can be used in various applications to display web content live from the
Internet.
- A \e {web site} can be loaded to a web view with the load() function. Like all
- Qt widgets, the show() function must be invoked in order to display
+ A \e {web site} can be loaded to a web view with the load() function. The
+ GET method is always used to load URLs.
+
+ Like all Qt widgets, the show() function must be invoked in order to display
the web view. The snippet below illustrates this:
\snippet simple/main.cpp Using QWebEngineView
@@ -57,9 +59,11 @@
The title of an HTML document can be accessed with the title() property.
Additionally, a web site may specify an icon, which can be accessed
- using the iconUrl() property. If the title or the icon changes, the corresponding
- titleChanged() and iconUrlChanged() signals will be emitted. The
- zoomFactor() property enables zooming the contents of the web page by a scale factor.
+ using the icon() or its URL using the iconUrl() property.
+ If the title or the icon changes, the corresponding titleChanged(), iconChanged()
+ and iconUrlChanged() signals will be emitted.
+ The zoomFactor() property enables zooming the contents of the web page by a
+ scale factor.
If you require a custom context menu, you can implement it by reimplementing
\l{QWidget::}{contextMenuEvent()} and populating your QMenu with the actions
@@ -187,9 +191,11 @@
/*!
\property QWebEngineView::iconUrl
- \brief the URL of the icon associated with the web page currently viewed
+ \brief the URL of the icon associated with the page currently viewed
+
+ By default, this property contains an empty URL.
- \sa iconUrlChanged()
+ \sa iconUrlChanged(), icon(), iconChanged()
*/
/*!
@@ -329,9 +335,10 @@
/*!
\fn void QWebEngineView::iconUrlChanged(const QUrl &url)
- This signal is emitted whenever the icon \a url of the view changes.
+ This signal is emitted when the URL of the icon ("favicon") associated with the
+ view is changed. The new URL is specified by \a url.
- \sa iconUrl()
+ \sa iconUrl(), icon(), iconChanged()
*/
/*!