summaryrefslogtreecommitdiff
path: root/src/pdfquick/qml/PdfMultiPageView.qml
Commit message (Collapse)AuthorAgeFilesLines
* Make QtPdf a proper generated moduleShawn Rutledge2022-02-221-432/+0
| | | | | | | | | | | | | | | | | | | | - remove plugins.qmltypes, because it's generated automatically since d32563a3365fd9432993590e6ac9817fe6f6bd41 - plugin code is also generated, so we don't need plugin-related CMake commands - QtQuick is a dependency; auto means forward the import version to the dependency. - QtQuick.Controls is only needed in bundled qml files, and we expect tooling to find it from import statements. It's not declared as a cmake dependency because we don't use it from C++. - move qml files into the source directory so that the implicit import matches the module directory - move style-specific PdfStyle.qml files into directories beginning with capital letters, since we are moving them anyway, and the styles now have capitalized names Change-Id: If517ce30d0e22fb0354272cd2002841fd2783cfc Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QtPdf: Fix QML warning about usage of injected signal parametersPeter Varga2022-02-081-1/+1
| | | | | | Pick-to: 6.3 6.2 Change-Id: I4bbc3c1adf4ba2bc5cc8d71278e201ee05fc85bd Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Go back to using pointer handlers in Pdf(Multi)PageViewShawn Rutledge2022-01-201-6/+6
| | | | | | | | | | This reverts commit 1f785521ab6982e7395af223e28137d65f8ead12. As a drive-by, also stop using import version numbers in PdfPageView, and make document a required property. Change-Id: I23b4a369b8d5e213c4569de3cecade5000e320c8 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* QtPdf: remove TableViewExtraShawn Rutledge2022-01-191-22/+17
| | | | | | | | | | | 9e3c27595113dd07ad936e73696aee62db4c6f3f was a temporary solution to work around missing TableView features in Qt 5. Drive-by: remove import versions and use required property in PdfMultiPageView, since we're touching it anyway. Change-Id: I0b1f83b865671f6ea9f14bbf70d7e3972e20e354 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Use up-to date LGPL license headerKai Köhne2021-12-021-11/+14
| | | | | | | | Remove usages of outdated LGPL3 header that references LICENSES.LGPLv3 instead of LICENSES.LGPL3. For the examples, use BSD. Change-Id: I1fae49110160c1183327ec54c9dc447c69588a65 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add QtPdf to cmake buildMichal Klocek2021-08-171-0/+434
Port QtPdf to Qt6: * QtPdf,QtPdfWidgets,QtPdfQuick libs * QtPdfQuickPlugin, QtPdfPlugin (imageformat) plugins * widget and quick examples * qtpdf tests To fit gn cmake integration and new repo layout code is a bit reshuffled. Compared to qmke build following features are not ported yet: * ios fat libs * qtbase 3rdparty static dependencies WebEngine build can be skipped with setting QT_FEATURE_qtwebengine_build=OFF Note this patch needs follow up for 6.2 branch to disable qtpdf builds by default, since this should not part of qt 6.2 release. Pick-to: 6.2 Task-number: QTBUG-95353 Change-Id: I4dd9f3934bdd478fb6d2fa686074a24d91f09953 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>