diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-01-20 15:12:01 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-02-03 23:44:16 +0100 |
commit | bf3133033236afb34974fec63ac21e1749d503ad (patch) | |
tree | cfb48f3cfb430c4cb1f93a5af23d2ccd3ca1c84d /src/pdf/quick/plugin.cpp | |
parent | 7cf69cb52d434f5e74619b0577104d05688b0c22 (diff) |
Add PdfMultiPageView
So far it's a ListView with a page per delegate. Many features are working,
but zooming and rotation are not working yet.
Change-Id: I9ee7aa60ad4411bd8734fe2cd987a68906a5cf57
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/pdf/quick/plugin.cpp')
-rw-r--r-- | src/pdf/quick/plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pdf/quick/plugin.cpp b/src/pdf/quick/plugin.cpp index 3c8077ff2..a831a09b6 100644 --- a/src/pdf/quick/plugin.cpp +++ b/src/pdf/quick/plugin.cpp @@ -89,6 +89,7 @@ public: qmlRegisterType<QQuickPdfSelection>(uri, 5, 15, "PdfSelection"); qmlRegisterType(QUrl("qrc:/qt-project.org/qtpdf/qml/PdfPageView.qml"), uri, 5, 15, "PdfPageView"); + qmlRegisterType(QUrl("qrc:/qt-project.org/qtpdf/qml/PdfMultiPageView.qml"), uri, 5, 15, "PdfMultiPageView"); } }; |