diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2016-05-19 15:48:36 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-05-23 11:57:49 +0000 |
commit | 5122113ab4487f6831e6bb626c9f87213ec4f1f3 (patch) | |
tree | 6db3e633ef61f64dc4f8fe621d77f91589c5b012 /src | |
parent | 8974dd346cb229a9bb2d9f36396759e300bc5980 (diff) |
Make sure the axisSettings is found by QtCreator
Change-Id: Ic9d8cd875afa80bd2761df4205b521f3d4aa59c3
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/quick3d/imports/input/plugins.qmltypes | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/src/quick3d/imports/input/plugins.qmltypes b/src/quick3d/imports/input/plugins.qmltypes index 4dcc66160..68ff9fe32 100644 --- a/src/quick3d/imports/input/plugins.qmltypes +++ b/src/quick3d/imports/input/plugins.qmltypes @@ -336,17 +336,8 @@ Module { } Component { name: "Qt3DInput::QKeyboardDevice" - prototype: "Qt3DInput::QAbstractPhysicalDevice" - Property { - name: "activeInput" - type: "Qt3DInput::QKeyboardHandler" - isReadonly: true - isPointer: true - } - Signal { - name: "activeInputChanged" - Parameter { name: "activeInput"; type: "QKeyboardHandler"; isPointer: true } - } + prototype: "Qt3DInput::QKeyboardDevice" + Property { name: "axisSettings"; type: "Qt3DInput::QAxisSetting"; isList: true; isReadonly: true } } Component { name: "Qt3DInput::QKeyboardHandler" @@ -535,23 +526,8 @@ Module { Component { name: "Qt3DInput::QLogicalDevice"; prototype: "Qt3DCore::QComponent" } Component { name: "Qt3DInput::QMouseDevice" - prototype: "Qt3DInput::QAbstractPhysicalDevice" - Enum { - name: "Axis" - values: { - "X": 0, - "Y": 1 - } - } - Property { name: "sensitivity"; type: "float" } - Signal { - name: "sensitivityChanged" - Parameter { name: "value"; type: "float" } - } - Method { - name: "setSensitivity" - Parameter { name: "value"; type: "float" } - } + prototype: "Qt3DInput::QMouseDevice" + Property { name: "axisSettings"; type: "Qt3DInput::QAxisSetting"; isList: true; isReadonly: true } } Component { name: "Qt3DInput::QMouseEvent" |