summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-02-10 16:54:32 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-03-30 21:25:45 +0000
commit17e98fe5197ae64a97b6e1b95dfea0a21e4dd65d (patch)
treee272f9190e79d87030d5c449eabe83bbed9c74d8
parentbc69158535ac28bc8233c28da6b1808de2da0f66 (diff)
downloadqtwebengine-17e98fe5197ae64a97b6e1b95dfea0a21e4dd65d.tar.gz
doc: Provide a screenshot of the PDF Viewer widget example; rename page
Let's be clear in the title that this is a widget-based example, as opposed to the Qt Quick example in the docs. The screenshot is from macOS 13.2.1. The 6.6 example has more features, so this screenshot looks a bit incomplete compared to that. Task-number: QTBUG-81560 Change-Id: I28b50d608756f10967f1bf5f7ac72ec9a83d9417 Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit 9937cbb4a0f43a799400f4057e8c695f88d1aa9f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc6
-rw-r--r--src/pdf/doc/images/pdfviewer.pngbin0 -> 264348 bytes
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc b/examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc
index 8a60e06d6..e585a84ef 100644
--- a/examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc
+++ b/examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc
@@ -6,12 +6,10 @@
\meta installpath pdfwidgets
\ingroup qtpdf-examples
- \title PDF Viewer Example
+ \title PDF Viewer Widget Example
\brief A widget-based PDF viewer that allows scrolling through the pages.
- \omit
- //! TODO add thumbnail \image pdfviewer.png
- \endomit
+ \image pdfviewer.png
\e {PDF Viewer} demonstrates how to use the QPdfView class to render
PDF documents and the QPdfPageNavigator class to navigate them.
diff --git a/src/pdf/doc/images/pdfviewer.png b/src/pdf/doc/images/pdfviewer.png
new file mode 100644
index 000000000..ac8a31ac0
--- /dev/null
+++ b/src/pdf/doc/images/pdfviewer.png
Binary files differ