diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2016-05-03 09:42:43 +0200 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@kdab.com> | 2016-05-03 08:01:39 +0000 |
commit | f3bd17cb20f2fd9825f71010366eeeecae7827da (patch) | |
tree | 22773cd1e64c5b5f467525a90ab4010918bf8120 /src/quick3d/imports/scene3d/plugins.qmltypes | |
parent | 3b2e812ad78c40b1f30ed2ca407c0aa6e8848de5 (diff) |
Fix qmltypes generation, add them to the sources
Change-Id: I2e64e3abd36a6783c89a12432f2f9d1c3621e76a
Task-number: QTBUG-45661
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/quick3d/imports/scene3d/plugins.qmltypes')
-rw-r--r-- | src/quick3d/imports/scene3d/plugins.qmltypes | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/quick3d/imports/scene3d/plugins.qmltypes b/src/quick3d/imports/scene3d/plugins.qmltypes new file mode 100644 index 000000000..da56b97ea --- /dev/null +++ b/src/quick3d/imports/scene3d/plugins.qmltypes @@ -0,0 +1,50 @@ +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.Scene3D 2.0' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "Qt3DRender::Scene3DItem" + defaultProperty: "entity" + prototype: "QQuickItem" + exports: ["QtQuick.Scene3D/Scene3D 2.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "CameraAspectRatioMode" + values: { + "AutomaticAspectRatio": 0, + "UserAspectRatio": 1 + } + } + Property { name: "entity"; type: "Qt3DCore::QEntity"; isPointer: true } + Property { name: "aspects"; type: "QStringList" } + Property { name: "multisample"; type: "bool" } + Property { name: "cameraAspectRatioMode"; type: "CameraAspectRatioMode" } + Property { name: "hoverEnabled"; type: "bool" } + Signal { + name: "cameraAspectRatioModeChanged" + Parameter { name: "mode"; type: "CameraAspectRatioMode" } + } + Method { + name: "setAspects" + Parameter { name: "aspects"; type: "QStringList" } + } + Method { + name: "setEntity" + Parameter { name: "entity"; type: "Qt3DCore::QEntity"; isPointer: true } + } + Method { + name: "setCameraAspectRatioMode" + Parameter { name: "mode"; type: "CameraAspectRatioMode" } + } + Method { + name: "setHoverEnabled" + Parameter { name: "enabled"; type: "bool" } + } + } +} |