diff options
author | Kai Koehne <kai.koehne@qt.io> | 2019-02-24 11:02:41 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2019-03-12 18:11:40 +0000 |
commit | 553ec1bc799f344a12e34c91720e13a469d85365 (patch) | |
tree | fe4a5818b2a95cb6921aa5a6eadd9dd9d28582c7 | |
parent | 0aeea1fa9eaad559dc075142b9304cb0dd22adaa (diff) |
Update plugins.qmltypes for Qt 5.13v5.13.0-rc3v5.13.0-rc2v5.13.0-rc1v5.13.0-beta4v5.13.0-beta3v5.13.0-beta2v5.13.0
Task-number: 73739
Change-Id: I7a4cd45372b9ba6bb58e36dab2c80f6729c7a14c
Reviewed-by: Rebecca Worledge <rebecca.worledge@theqtcompany.com>
-rw-r--r-- | src/imports/imports.pro | 2 | ||||
-rw-r--r-- | src/imports/plugins.qmltypes | 101 |
2 files changed, 102 insertions, 1 deletions
diff --git a/src/imports/imports.pro b/src/imports/imports.pro index 61a840e..72ad546 100644 --- a/src/imports/imports.pro +++ b/src/imports/imports.pro @@ -1,7 +1,7 @@ CXX_MODULE = qtlottie TARGET = lottieqt TARGETPATH = Qt/labs/lottieqt -IMPORT_VERSION = 1.$$QT_MINOR_VERSION +IMPORT_VERSION = 1.0 QT += qml quick gui-private bodymovin-private CONFIG += plugin c++11 diff --git a/src/imports/plugins.qmltypes b/src/imports/plugins.qmltypes new file mode 100644 index 0000000..d76b82d --- /dev/null +++ b/src/imports/plugins.qmltypes @@ -0,0 +1,101 @@ +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 Qt.labs.lottieqt 1.0' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "BMLiteral" + prototype: "QObject" + exports: ["Qt.labs.lottieqt/BMPropertyType 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "PropertyType" + values: { + "RectPosition": 0, + "RectSize": 1, + "RectRoundness": 2 + } + } + } + Component { + name: "LottieAnimation" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["Qt.labs.lottieqt/LottieAnimation 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Status" + values: { + "Null": 0, + "Loading": 1, + "Ready": 2, + "Error": 3 + } + } + Enum { + name: "Quality" + values: { + "LowQuality": 0, + "MediumQuality": 1, + "HighQuality": 2 + } + } + Enum { + name: "Direction" + values: { + "Forward": 1, + "Reverse": 2 + } + } + Enum { + name: "LoopCount" + values: { + "Infinite": -1 + } + } + Property { name: "source"; type: "string" } + Property { name: "frameRate"; type: "int" } + Property { name: "startFrame"; type: "int"; isReadonly: true } + Property { name: "endFrame"; type: "int"; isReadonly: true } + Property { name: "status"; type: "Status" } + Property { name: "quality"; type: "Quality" } + Property { name: "autoPlay"; type: "bool" } + Property { name: "loops"; type: "int" } + Property { name: "direction"; type: "Direction" } + Signal { name: "finished" } + Method { name: "start" } + Method { name: "play" } + Method { name: "pause" } + Method { name: "togglePause" } + Method { name: "stop" } + Method { + name: "gotoAndPlay" + Parameter { name: "frame"; type: "int" } + } + Method { + name: "gotoAndPlay" + type: "bool" + Parameter { name: "frameMarker"; type: "string" } + } + Method { + name: "gotoAndStop" + Parameter { name: "frame"; type: "int" } + } + Method { + name: "gotoAndStop" + type: "bool" + Parameter { name: "frameMarker"; type: "string" } + } + Method { + name: "getDuration" + type: "double" + Parameter { name: "inFrames"; type: "bool" } + } + Method { name: "getDuration"; type: "double" } + } +} |