summaryrefslogtreecommitdiffstats
path: root/src/pdf/pdfcore.pro
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2019-08-26 15:31:00 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-01-23 19:44:17 +0100
commitb6dd845ec4a6bfb6b620686681e20d38a2f24101 (patch)
treecafcf5b7c8f3185fb7fa5dfe07b38cd9b17a8cb7 /src/pdf/pdfcore.pro
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 <shawn.rutledge@qt.io>
Diffstat (limited to 'src/pdf/pdfcore.pro')
-rw-r--r--src/pdf/pdfcore.pro8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pdf/pdfcore.pro b/src/pdf/pdfcore.pro
index 5314d30d2..1f9f21e0a 100644
--- a/src/pdf/pdfcore.pro
+++ b/src/pdf/pdfcore.pro
@@ -62,7 +62,8 @@ SOURCES += \
qpdfbookmarkmodel.cpp \
qpdfdocument.cpp \
qpdfpagenavigation.cpp \
- qpdfpagerenderer.cpp
+ qpdfpagerenderer.cpp \
+ qpdfsearchmodel.cpp \
# all "public" headers must be in "api" for sync script and to hide auto generated headers
# by Chromium in case of in-source build
@@ -72,10 +73,11 @@ HEADERS += \
api/qpdfdocument.h \
api/qpdfdocument_p.h \
api/qpdfdocumentrenderoptions.h \
+ api/qtpdfglobal.h \
api/qpdfnamespace.h \
api/qpdfpagenavigation.h \
api/qpdfpagerenderer.h \
- api/qtpdfglobal.h \
- api/qpdfdocument_p.h
+ api/qpdfsearchmodel.h \
+ qpdfsearchmodel_p.h \
load(qt_module)