diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-01-15 09:44:10 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-01-30 16:26:56 +0100 |
commit | ccbd6fbdbe071f42e1c060ca579786758701f358 (patch) | |
tree | 46e6fbfb35ffbd42eaa2bcaabcc78c0d106115f1 /src/pdf/quick/qquickpdfdocument_p.h | |
parent | bc1d6ddeb5076f68e0a758725a20c3f2a6d081f0 (diff) |
Add PdfLinkModel
Internal links and web links populate the QALM, which can then
be used to drive a Repeater to position highlight rectangles
with TapHandlers, which will handle a click by jumping to the
link destination.
Fixes: QTBUG-77511
Change-Id: I3b5b96d6e82bfd578f31f631f24279173036a080
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/pdf/quick/qquickpdfdocument_p.h')
-rw-r--r-- | src/pdf/quick/qquickpdfdocument_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pdf/quick/qquickpdfdocument_p.h b/src/pdf/quick/qquickpdfdocument_p.h index 1ec7edb1a..9817b5eef 100644 --- a/src/pdf/quick/qquickpdfdocument_p.h +++ b/src/pdf/quick/qquickpdfdocument_p.h @@ -118,6 +118,7 @@ private: QUrl m_source; QPdfDocument m_doc; + friend class QQuickPdfLinkModel; friend class QQuickPdfSearchModel; friend class QQuickPdfSelection; |