diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-12-15 16:01:41 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2017-12-15 15:02:49 +0000 |
commit | 7ee1adca536b422623de1fe8da44135aeee6e9cf (patch) | |
tree | 0c1c48fd133704472b6b037299cbf377e0a80bb6 | |
parent | cb02df8b4e51a9f19df705cb1174ef5907068c02 (diff) |
Add plugins.qmltypes
Change-Id: I6889edad4ca8d5acf4a3107aa9135e316303f31c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r-- | src/imports/timeline/plugins.qmltypes | 43 | ||||
-rw-r--r-- | src/imports/timeline/qmldir | 1 | ||||
-rw-r--r-- | src/imports/timeline/timeline.pro | 3 |
3 files changed, 46 insertions, 1 deletions
diff --git a/src/imports/timeline/plugins.qmltypes b/src/imports/timeline/plugins.qmltypes new file mode 100644 index 0000000..a010238 --- /dev/null +++ b/src/imports/timeline/plugins.qmltypes @@ -0,0 +1,43 @@ +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.Timeline 1.0' + +Module { + dependencies: [] + Component { + name: "QQuickKeyframe" + prototype: "QObject" + exports: ["QtQuick.Timeline/Keyframe 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "frame"; type: "double" } + Property { name: "easing"; type: "QEasingCurve" } + Property { name: "value"; type: "QVariant" } + Signal { name: "easingCurveChanged" } + } + Component { + name: "QQuickKeyframeMutator" + defaultProperty: "keyframes" + prototype: "QObject" + exports: ["QtQuick.Timeline/KeyframeMutator 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "startFrame"; type: "double" } + Property { name: "endFrame"; type: "double" } + Property { name: "currentFrame"; type: "double" } + Property { name: "keyframes"; type: "QQuickKeyframes"; isList: true; isReadonly: true } + Property { name: "enabled"; type: "bool" } + } + Component { + name: "QQuickKeyframes" + defaultProperty: "keyframes" + prototype: "QObject" + exports: ["QtQuick.Timeline/Keyframes 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "target"; type: "QObject"; isPointer: true } + Property { name: "property"; type: "string" } + Property { name: "keyframes"; type: "QQuickKeyframe"; isList: true; isReadonly: true } + } +} diff --git a/src/imports/timeline/qmldir b/src/imports/timeline/qmldir index b7daa69..29060c5 100644 --- a/src/imports/timeline/qmldir +++ b/src/imports/timeline/qmldir @@ -1,4 +1,5 @@ module QtQuick.Timeline plugin qtquicktimelineplugin classname QtQuickTimelinePlugin +typeinfo plugins.qmltypes designersupported diff --git a/src/imports/timeline/timeline.pro b/src/imports/timeline/timeline.pro index 26e5e2f..9e5f897 100644 --- a/src/imports/timeline/timeline.pro +++ b/src/imports/timeline/timeline.pro @@ -11,7 +11,8 @@ DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII include(timeline.pri) DISTFILES += \ - qmldir + qmldir \ + plugins.qmltypes SOURCES += \ $$PWD/qtquicktimelineplugin.cpp |