diff options
Diffstat (limited to 'src/imports/shapes')
-rw-r--r-- | src/imports/shapes/plugin.cpp | 3 | ||||
-rw-r--r-- | src/imports/shapes/plugins.qmltypes | 10 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/imports/shapes/plugin.cpp b/src/imports/shapes/plugin.cpp index e3a9017681..0679a70630 100644 --- a/src/imports/shapes/plugin.cpp +++ b/src/imports/shapes/plugin.cpp @@ -69,6 +69,9 @@ public: // revision in Qt 5.11: added containsMode property qmlRegisterType<QQuickShape, 11>(uri, 1, 11, "Shape"); + + // revision in Qt 5.14: added scale property + qmlRegisterType<QQuickShapePath, 14>(uri, 1, 14, "ShapePath"); // QTBUG-61942 } }; diff --git a/src/imports/shapes/plugins.qmltypes b/src/imports/shapes/plugins.qmltypes index b78c5a1130..cd779e7149 100644 --- a/src/imports/shapes/plugins.qmltypes +++ b/src/imports/shapes/plugins.qmltypes @@ -4,7 +4,7 @@ import QtQuick.tooling 1.2 // It is used for QML tooling purposes only. // // This file was auto-generated by: -// 'qmlplugindump -nonrelocatable QtQuick.Shapes 1.13' +// 'qmlplugindump -nonrelocatable QtQuick.Shapes 1.14' Module { dependencies: ["QtQuick 2.0"] @@ -89,8 +89,11 @@ Module { name: "QQuickShapePath" defaultProperty: "pathElements" prototype: "QQuickPath" - exports: ["QtQuick.Shapes/ShapePath 1.0"] - exportMetaObjectRevisions: [0] + exports: [ + "QtQuick.Shapes/ShapePath 1.0", + "QtQuick.Shapes/ShapePath 1.14" + ] + exportMetaObjectRevisions: [0, 14] Enum { name: "FillRule" values: { @@ -132,6 +135,7 @@ Module { Property { name: "dashOffset"; type: "double" } Property { name: "dashPattern"; type: "QVector<qreal>" } Property { name: "fillGradient"; type: "QQuickShapeGradient"; isPointer: true } + Property { name: "scale"; revision: 14; type: "QSizeF" } Signal { name: "shapePathChanged" } } Component { |