summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-03-22 09:13:21 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-03-24 03:37:17 +0000
commit74cc8d2a19eecf8a37bbfe1324080129f2fddec2 (patch)
tree9be761e9604afda84cfb529be256a3a3c6353be7
parentd2e4b70a622fe46973f8b300bad984b6a45ed310 (diff)
PDF: update plugins.qmltypes
In 6.3, we didn't cherry-pick e11a60c6e50f95ad7fa467998a7c89b3dd384ce5 for some reason, so plugins.qmltypes is getting installed as-is. This version is the one from 6.4, with the version downgraded to 6.3. Fixes: QTBUG-101697 Change-Id: I45335a9c9ed2c877d74db88758aa658f7c5fdcbe Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 8e634e3377fa65d77e29383990c237983c697234) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/pdfquick/plugins.qmltypes614
1 files changed, 579 insertions, 35 deletions
diff --git a/src/pdfquick/plugins.qmltypes b/src/pdfquick/plugins.qmltypes
index a30361d33..3144e35f9 100644
--- a/src/pdfquick/plugins.qmltypes
+++ b/src/pdfquick/plugins.qmltypes
@@ -3,50 +3,594 @@ import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
-// This file was auto-generated by:
-// 'qmlplugindump -nonrelocatable QtQuick.Pdf 5.14'
+// This file was auto-generated by qmltyperegistrar.
Module {
- dependencies: [
- "QtGraphicalEffects 1.12",
- "QtQuick 2.14",
- "QtQuick.Controls 2.14",
- "QtQuick.Controls.Fusion 2.14",
- "QtQuick.Controls.Fusion.impl 2.14",
- "QtQuick.Controls.Imagine 2.14",
- "QtQuick.Controls.Imagine.impl 2.14",
- "QtQuick.Controls.Material 2.14",
- "QtQuick.Controls.Material.impl 2.14",
- "QtQuick.Controls.Universal 2.14",
- "QtQuick.Controls.Universal.impl 2.12",
- "QtQuick.Controls.impl 2.14",
- "QtQuick.Shapes 1.14",
- "QtQuick.Templates 2.14",
- "QtQuick.Window 2.2"
- ]
Component {
- name: "QQuickPdfDocument"
+ file: "qabstractitemmodel.h"
+ name: "QAbstractListModel"
+ accessSemantics: "reference"
+ prototype: "QAbstractItemModel"
+ }
+ Component {
+ file: "qpdfdocument.h"
+ name: "QPdfDocument"
+ accessSemantics: "reference"
prototype: "QObject"
- exports: ["QtQuick.Pdf/PdfDocument 5.14"]
- exportMetaObjectRevisions: [0]
- Property { name: "source"; type: "QUrl" }
- Property { name: "pageCount"; type: "int"; isReadonly: true }
- Property { name: "password"; type: "string" }
- Property { name: "status"; type: "QPdfDocument::Status"; isReadonly: true }
- Property { name: "title"; type: "string"; isReadonly: true }
- Property { name: "subject"; type: "string"; isReadonly: true }
- Property { name: "author"; type: "string"; isReadonly: true }
- Property { name: "keywords"; type: "string"; isReadonly: true }
- Property { name: "producer"; type: "string"; isReadonly: true }
- Property { name: "creator"; type: "string"; isReadonly: true }
- Property { name: "creationDate"; type: "QDateTime"; isReadonly: true }
- Property { name: "modificationDate"; type: "QDateTime"; isReadonly: true }
+ Enum {
+ name: "Status"
+ values: ["Null", "Loading", "Ready", "Unloading", "Error"]
+ }
+ Enum {
+ name: "DocumentError"
+ values: [
+ "NoError",
+ "UnknownError",
+ "DataNotYetAvailableError",
+ "FileNotFoundError",
+ "InvalidFileFormatError",
+ "IncorrectPasswordError",
+ "UnsupportedSecuritySchemeError"
+ ]
+ }
+ Enum {
+ name: "MetaDataField"
+ values: [
+ "Title",
+ "Subject",
+ "Author",
+ "Keywords",
+ "Producer",
+ "Creator",
+ "CreationDate",
+ "ModificationDate"
+ ]
+ }
+ Property {
+ name: "pageCount"
+ type: "int"
+ read: "pageCount"
+ notify: "pageCountChanged"
+ index: 0
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "password"
+ type: "QString"
+ read: "password"
+ write: "setPassword"
+ notify: "passwordChanged"
+ index: 1
+ isFinal: true
+ }
+ Property {
+ name: "status"
+ type: "Status"
+ read: "status"
+ notify: "statusChanged"
+ index: 2
+ isReadonly: true
+ isFinal: true
+ }
+ Signal { name: "passwordChanged" }
Signal { name: "passwordRequired" }
- Signal { name: "metaDataLoaded" }
+ Signal {
+ name: "statusChanged"
+ Parameter { name: "status"; type: "QPdfDocument::Status" }
+ }
+ Signal {
+ name: "pageCountChanged"
+ Parameter { name: "pageCount"; type: "int" }
+ }
+ Method { name: "_q_tryLoadingWithSizeFromContentHeader" }
+ Method { name: "_q_copyFromSequentialSourceDevice" }
+ Method {
+ name: "getSelection"
+ type: "QPdfSelection"
+ Parameter { name: "page"; type: "int" }
+ Parameter { name: "start"; type: "QPointF" }
+ Parameter { name: "end"; type: "QPointF" }
+ }
+ Method {
+ name: "getSelectionAtIndex"
+ type: "QPdfSelection"
+ Parameter { name: "page"; type: "int" }
+ Parameter { name: "startIndex"; type: "int" }
+ Parameter { name: "maxLength"; type: "int" }
+ }
+ Method {
+ name: "getAllText"
+ type: "QPdfSelection"
+ Parameter { name: "page"; type: "int" }
+ }
+ }
+ Component {
+ file: "private/qpdflinkmodel_p.h"
+ name: "QPdfLinkModel"
+ accessSemantics: "reference"
+ prototype: "QAbstractListModel"
+ Enum {
+ name: "Role"
+ values: ["Rect", "Url", "Page", "Location", "Zoom", "_Count"]
+ }
+ Property {
+ name: "document"
+ type: "QPdfDocument"
+ isPointer: true
+ read: "document"
+ write: "setDocument"
+ notify: "documentChanged"
+ index: 0
+ }
+ Property {
+ name: "page"
+ type: "int"
+ read: "page"
+ write: "setPage"
+ notify: "pageChanged"
+ index: 1
+ }
+ Signal { name: "documentChanged" }
+ Signal {
+ name: "pageChanged"
+ Parameter { name: "page"; type: "int" }
+ }
+ Method {
+ name: "setDocument"
+ Parameter { name: "document"; type: "QPdfDocument"; isPointer: true }
+ }
+ Method {
+ name: "setPage"
+ Parameter { name: "page"; type: "int" }
+ }
+ Method {
+ name: "onStatusChanged"
+ Parameter { name: "status"; type: "QPdfDocument::Status" }
+ }
+ }
+ Component {
+ file: "qpdfsearchmodel.h"
+ name: "QPdfSearchModel"
+ accessSemantics: "reference"
+ prototype: "QAbstractListModel"
+ Enum {
+ name: "Role"
+ values: [
+ "Page",
+ "IndexOnPage",
+ "Location",
+ "ContextBefore",
+ "ContextAfter",
+ "_Count"
+ ]
+ }
+ Property {
+ name: "document"
+ type: "QPdfDocument"
+ isPointer: true
+ read: "document"
+ write: "setDocument"
+ notify: "documentChanged"
+ index: 0
+ }
+ Property {
+ name: "searchString"
+ type: "QString"
+ read: "searchString"
+ write: "setSearchString"
+ notify: "searchStringChanged"
+ index: 1
+ }
+ Signal { name: "documentChanged" }
+ Signal { name: "searchStringChanged" }
+ Method {
+ name: "setSearchString"
+ Parameter { name: "searchString"; type: "QString" }
+ }
+ Method {
+ name: "setDocument"
+ Parameter { name: "document"; type: "QPdfDocument"; isPointer: true }
+ }
+ }
+ Component {
+ file: "private/qquickpdfdocument_p.h"
+ name: "QQuickPdfDocument"
+ accessSemantics: "reference"
+ prototype: "QObject"
+ extension: "QPdfDocument"
+ interfaces: ["QQmlParserStatus"]
+ exports: [
+ "QtQuick.Pdf/PdfDocument 5.15",
+ "QtQuick.Pdf/PdfDocument 6.0"
+ ]
+ exportMetaObjectRevisions: [1295, 1536]
+ Property {
+ name: "source"
+ type: "QUrl"
+ read: "source"
+ write: "setSource"
+ notify: "sourceChanged"
+ index: 0
+ isFinal: true
+ }
+ Property {
+ name: "maxPageWidth"
+ type: "double"
+ read: "maxPageWidth"
+ notify: "metaDataChanged"
+ index: 1
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "maxPageHeight"
+ type: "double"
+ read: "maxPageHeight"
+ notify: "metaDataChanged"
+ index: 2
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "error"
+ type: "QString"
+ read: "error"
+ notify: "errorChanged"
+ index: 3
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "title"
+ type: "QString"
+ read: "title"
+ notify: "metaDataChanged"
+ index: 4
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "subject"
+ type: "QString"
+ read: "subject"
+ notify: "metaDataChanged"
+ index: 5
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "author"
+ type: "QString"
+ read: "author"
+ notify: "metaDataChanged"
+ index: 6
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "keywords"
+ type: "QString"
+ read: "keywords"
+ notify: "metaDataChanged"
+ index: 7
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "producer"
+ type: "QString"
+ read: "producer"
+ notify: "metaDataChanged"
+ index: 8
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "creator"
+ type: "QString"
+ read: "creator"
+ notify: "metaDataChanged"
+ index: 9
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "creationDate"
+ type: "QDateTime"
+ read: "creationDate"
+ notify: "metaDataChanged"
+ index: 10
+ isReadonly: true
+ isFinal: true
+ }
+ Property {
+ name: "modificationDate"
+ type: "QDateTime"
+ read: "modificationDate"
+ notify: "metaDataChanged"
+ index: 11
+ isReadonly: true
+ isFinal: true
+ }
+ Signal { name: "sourceChanged" }
+ Signal { name: "errorChanged" }
+ Signal { name: "metaDataChanged" }
Method {
name: "pagePointSize"
type: "QSizeF"
Parameter { name: "page"; type: "int" }
}
}
+ Component {
+ file: "private/qquickpdflinkmodel_p.h"
+ name: "QQuickPdfLinkModel"
+ accessSemantics: "reference"
+ prototype: "QPdfLinkModel"
+ exports: [
+ "QtQuick.Pdf/PdfLinkModel 5.15",
+ "QtQuick.Pdf/PdfLinkModel 6.0"
+ ]
+ exportMetaObjectRevisions: [1295, 1536]
+ Property {
+ name: "document"
+ type: "QQuickPdfDocument"
+ isPointer: true
+ read: "document"
+ write: "setDocument"
+ notify: "documentChanged"
+ index: 0
+ }
+ Signal { name: "documentChanged" }
+ }
+ Component {
+ file: "private/qquickpdfnavigationstack_p.h"
+ name: "QQuickPdfNavigationStack"
+ accessSemantics: "reference"
+ prototype: "QObject"
+ exports: [
+ "QtQuick.Pdf/PdfNavigationStack 5.15",
+ "QtQuick.Pdf/PdfNavigationStack 6.0"
+ ]
+ exportMetaObjectRevisions: [1295, 1536]
+ Property {
+ name: "currentPage"
+ type: "int"
+ read: "currentPage"
+ notify: "currentPageChanged"
+ index: 0
+ isReadonly: true
+ }
+ Property {
+ name: "currentLocation"
+ type: "QPointF"
+ read: "currentLocation"
+ notify: "currentLocationChanged"
+ index: 1
+ isReadonly: true
+ }
+ Property {
+ name: "currentZoom"
+ type: "double"
+ read: "currentZoom"
+ notify: "currentZoomChanged"
+ index: 2
+ isReadonly: true
+ }
+ Property {
+ name: "backAvailable"
+ type: "bool"
+ read: "backAvailable"
+ notify: "backAvailableChanged"
+ index: 3
+ isReadonly: true
+ }
+ Property {
+ name: "forwardAvailable"
+ type: "bool"
+ read: "forwardAvailable"
+ notify: "forwardAvailableChanged"
+ index: 4
+ isReadonly: true
+ }
+ Signal { name: "currentPageChanged" }
+ Signal { name: "currentLocationChanged" }
+ Signal { name: "currentZoomChanged" }
+ Signal { name: "backAvailableChanged" }
+ Signal { name: "forwardAvailableChanged" }
+ Signal {
+ name: "jumped"
+ Parameter { name: "page"; type: "int" }
+ Parameter { name: "location"; type: "QPointF" }
+ Parameter { name: "zoom"; type: "double" }
+ }
+ Method {
+ name: "push"
+ Parameter { name: "page"; type: "int" }
+ Parameter { name: "location"; type: "QPointF" }
+ Parameter { name: "zoom"; type: "double" }
+ Parameter { name: "emitJumped"; type: "bool" }
+ }
+ Method {
+ name: "push"
+ Parameter { name: "page"; type: "int" }
+ Parameter { name: "location"; type: "QPointF" }
+ Parameter { name: "zoom"; type: "double" }
+ }
+ Method {
+ name: "update"
+ Parameter { name: "page"; type: "int" }
+ Parameter { name: "location"; type: "QPointF" }
+ Parameter { name: "zoom"; type: "double" }
+ }
+ Method { name: "forward" }
+ Method { name: "back" }
+ }
+ Component {
+ file: "private/qquickpdfsearchmodel_p.h"
+ name: "QQuickPdfSearchModel"
+ accessSemantics: "reference"
+ prototype: "QPdfSearchModel"
+ exports: [
+ "QtQuick.Pdf/PdfSearchModel 5.15",
+ "QtQuick.Pdf/PdfSearchModel 6.0"
+ ]
+ exportMetaObjectRevisions: [1295, 1536]
+ Property {
+ name: "document"
+ type: "QQuickPdfDocument"
+ isPointer: true
+ read: "document"
+ write: "setDocument"
+ notify: "documentChanged"
+ index: 0
+ }
+ Property {
+ name: "currentPage"
+ type: "int"
+ read: "currentPage"
+ write: "setCurrentPage"
+ notify: "currentPageChanged"
+ index: 1
+ }
+ Property {
+ name: "currentResult"
+ type: "int"
+ read: "currentResult"
+ write: "setCurrentResult"
+ notify: "currentResultChanged"
+ index: 2
+ }
+ Property {
+ name: "currentPageBoundingPolygons"
+ type: "QList<QPolygonF>"
+ read: "currentPageBoundingPolygons"
+ notify: "currentPageBoundingPolygonsChanged"
+ index: 3
+ isReadonly: true
+ }
+ Property {
+ name: "currentResultBoundingPolygons"
+ type: "QList<QPolygonF>"
+ read: "currentResultBoundingPolygons"
+ notify: "currentResultBoundingPolygonsChanged"
+ index: 4
+ isReadonly: true
+ }
+ Property {
+ name: "currentResultBoundingRect"
+ type: "QRectF"
+ read: "currentResultBoundingRect"
+ notify: "currentResultBoundingRectChanged"
+ index: 5
+ isReadonly: true
+ }
+ Signal { name: "documentChanged" }
+ Signal { name: "currentPageChanged" }
+ Signal { name: "currentResultChanged" }
+ Signal { name: "currentPageBoundingPolygonsChanged" }
+ Signal { name: "currentResultBoundingPolygonsChanged" }
+ Signal { name: "currentResultBoundingRectChanged" }
+ Method {
+ name: "boundingPolygonsOnPage"
+ type: "QList<QPolygonF>"
+ Parameter { name: "page"; type: "int" }
+ }
+ }
+ Component {
+ file: "private/qquickpdfselection_p.h"
+ name: "QQuickPdfSelection"
+ accessSemantics: "reference"
+ defaultProperty: "data"
+ parentProperty: "parent"
+ prototype: "QQuickItem"
+ exports: [
+ "QtQuick.Pdf/PdfSelection 5.15",
+ "QtQuick.Pdf/PdfSelection 6.0",
+ "QtQuick.Pdf/PdfSelection 6.3"
+ ]
+ exportMetaObjectRevisions: [1295, 1536, 1539]
+ Property {
+ name: "document"
+ type: "QQuickPdfDocument"
+ isPointer: true
+ read: "document"
+ write: "setDocument"
+ notify: "documentChanged"
+ index: 0
+ }
+ Property {
+ name: "page"
+ type: "int"
+ read: "page"
+ write: "setPage"
+ notify: "pageChanged"
+ index: 1
+ }
+ Property {
+ name: "renderScale"
+ type: "double"
+ read: "renderScale"
+ write: "setRenderScale"
+ notify: "renderScaleChanged"
+ index: 2
+ }
+ Property {
+ name: "fromPoint"
+ type: "QPointF"
+ read: "fromPoint"
+ write: "setFromPoint"
+ notify: "fromPointChanged"
+ index: 3
+ }
+ Property {
+ name: "toPoint"
+ type: "QPointF"
+ read: "toPoint"
+ write: "setToPoint"
+ notify: "toPointChanged"
+ index: 4
+ }
+ Property {
+ name: "hold"
+ type: "bool"
+ read: "hold"
+ write: "setHold"
+ notify: "holdChanged"
+ index: 5
+ }
+ Property {
+ name: "text"
+ type: "QString"
+ read: "text"
+ notify: "textChanged"
+ index: 6
+ isReadonly: true
+ }
+ Property {
+ name: "geometry"
+ type: "QList<QPolygonF>"
+ read: "geometry"
+ notify: "selectedAreaChanged"
+ index: 7
+ isReadonly: true
+ }
+ Signal { name: "documentChanged" }
+ Signal { name: "pageChanged" }
+ Signal { name: "renderScaleChanged" }
+ Signal { name: "fromPointChanged" }
+ Signal { name: "toPointChanged" }
+ Signal { name: "holdChanged" }
+ Signal { name: "textChanged" }
+ Signal { name: "selectedAreaChanged" }
+ Method { name: "clear" }
+ Method { name: "selectAll" }
+ Method { name: "copyToClipboard" }
+ Method {
+ name: "inputMethodQuery"
+ type: "QVariant"
+ Parameter { name: "query"; type: "Qt::InputMethodQuery" }
+ Parameter { name: "argument"; type: "QVariant" }
+ }
+ }
}