path: root/examples/pdf/pdfviewer/viewer.qrc
diff options
authorShawn Rutledge <>2019-08-26 15:31:00 +0200
committerShawn Rutledge <>2020-01-23 19:44:17 +0100
commitb6dd845ec4a6bfb6b620686681e20d38a2f24101 (patch)
treecafcf5b7c8f3185fb7fa5dfe07b38cd9b17a8cb7 /examples/pdf/pdfviewer/viewer.qrc
parent32fb888f3c5b6d415d84895e3cab594de026d3dd (diff)
Add QPdfSearchModel, QML PdfSearchModel and PdfPageView
This enables searching a PDF for a text string and getting the boundaries of the areas where it is found. The boundaries are returned as polygons intended to be rendered with PathMultiline. PdfPageView is a QML component intended to be a drop-in viewer for use in applications that need the most common PDF viewing functionality. More advanced applications are free to use it as a starting point for customization. Task-number: QTBUG-77507 Task-number: QTBUG-77514 Change-Id: Id08ac30224e41b6cdfb9300cc4288d5750259f78 Reviewed-by: Shawn Rutledge <>
Diffstat (limited to 'examples/pdf/pdfviewer/viewer.qrc')
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/pdf/pdfviewer/viewer.qrc b/examples/pdf/pdfviewer/viewer.qrc
new file mode 100644
index 000000000..59045b75c
--- /dev/null
+++ b/examples/pdf/pdfviewer/viewer.qrc
@@ -0,0 +1,12 @@
+ <qresource prefix="/pdfviewer">
+ <file>viewer.qml</file>
+ <file>resources/edit-clear.svg</file>
+ <file>resources/go-next-view-page.svg</file>
+ <file>resources/go-previous-view-page.svg</file>
+ <file>resources/zoom-in.svg</file>
+ <file>resources/zoom-original.svg</file>
+ <file>resources/zoom-out.svg</file>
+ <file>resources/document-open.svg</file>
+ </qresource>