summaryrefslogtreecommitdiffstats
path: root/src/webengine/doc/src/webengineview_lgpl.qdoc
diff options
context:
space:
mode:
authorSzabolcs David <davidsz@inf.u-szeged.hu>2019-02-05 15:07:24 +0100
committerSzabolcs David <davidsz@inf.u-szeged.hu>2019-02-19 14:48:34 +0000
commitfd1a34045b09d9c7e927d814b87617c2424e68a8 (patch)
tree12643f1840f754593d23cacfee35d2a72205b6f0 /src/webengine/doc/src/webengineview_lgpl.qdoc
parent14988cd6b243986f501edbba678796ea5efe2c28 (diff)
Add a way to customize tooltips in WebEngineView
Implement a tooltipRequested signal and a corresponding request class to expose tooltip information to the users. Task-number: QTBUG-59290 Change-Id: I4e31773c62a65d6f340aaa74237cb0076252cd5b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/webengine/doc/src/webengineview_lgpl.qdoc')
-rw-r--r--src/webengine/doc/src/webengineview_lgpl.qdoc12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/webengine/doc/src/webengineview_lgpl.qdoc b/src/webengine/doc/src/webengineview_lgpl.qdoc
index a6f2af39e..3b375c532 100644
--- a/src/webengine/doc/src/webengineview_lgpl.qdoc
+++ b/src/webengine/doc/src/webengineview_lgpl.qdoc
@@ -1493,3 +1493,15 @@
\sa WebEngineClientCertificateSelection
*/
+
+/*!
+ \qmlsignal WebEngineView::tooltipRequested(TooltipRequest request)
+ \since QtWebEngine 1.10
+
+ This signal is emitted when the web page wants to show a tooltip at
+ a specified position.
+
+ \note Signal handlers need to call \c{request.accepted = true} to prevent a default tooltip from showing up.
+
+ \sa TooltipRequest
+*/