1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
import QtQuick.tooling 1.1
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
Module {
Component {
name: "QDeclarativeFeedbackActuator"
prototype: "QObject"
exports: ["QtFeedback/Actuator 5.0"]
Property { name: "actuatorId"; type: "int"; isReadonly: true }
Property { name: "name"; type: "string"; isReadonly: true }
Property { name: "state"; type: "QFeedbackActuator::State"; isReadonly: true }
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "enabled"; type: "bool" }
Method {
name: "isCapabilitySupported"
type: "bool"
Parameter { name: "capbility"; type: "QFeedbackActuator::Capability" }
}
}
Component {
name: "QDeclarativeFeedbackEffect"
prototype: "QObject"
exports: ["QtFeedback/Feedback 5.0", "QtFeedback/FeedbackEffect 5.0"]
Enum {
name: "Duration"
values: {
"Infinite": -1
}
}
Enum {
name: "State"
values: {
"Stopped": 0,
"Paused": 1,
"Running": 2,
"Loading": 3
}
}
Enum {
name: "ErrorType"
values: {
"UnknownError": 0,
"DeviceBusy": 1
}
}
Property { name: "running"; type: "bool" }
Property { name: "paused"; type: "bool" }
Property { name: "duration"; type: "int" }
Property { name: "state"; type: "State" }
Property { name: "error"; type: "ErrorType"; isReadonly: true }
Method { name: "updateState" }
Method { name: "start" }
Method { name: "stop" }
Method { name: "pause" }
}
Component {
name: "QDeclarativeFileEffect"
prototype: "QDeclarativeFeedbackEffect"
exports: ["QtFeedback/FileEffect 5.0"]
Property { name: "loaded"; type: "bool" }
Property { name: "source"; type: "QUrl" }
Property { name: "supportedMimeTypes"; type: "QStringList"; isReadonly: true }
Method { name: "load" }
Method { name: "unload" }
}
Component {
name: "QDeclarativeHapticsEffect"
prototype: "QDeclarativeFeedbackEffect"
exports: ["QtFeedback/HapticsEffect 5.0"]
Property {
name: "availableActuators"
type: "QDeclarativeFeedbackActuator"
isList: true
isReadonly: true
}
Property { name: "intensity"; type: "qreal" }
Property { name: "attackTime"; type: "int" }
Property { name: "attackIntensity"; type: "qreal" }
Property { name: "fadeTime"; type: "int" }
Property { name: "fadeIntensity"; type: "qreal" }
Property { name: "period"; type: "int" }
Property { name: "actuator"; type: "QDeclarativeFeedbackActuator"; isPointer: true }
}
Component {
name: "QDeclarativeThemeEffect"
prototype: "QObject"
exports: ["QtFeedback/ThemeEffect 5.0"]
Enum {
name: "Effect"
values: {
"Undefined": -1,
"Press": 0,
"Release": 1,
"PressWeak": 2,
"ReleaseWeak": 3,
"PressStrong": 4,
"ReleaseStrong": 5,
"DragStart": 6,
"DragDropInZone": 7,
"DragDropOutOfZone": 8,
"DragCrossBoundary": 9,
"Appear": 10,
"Disappear": 11,
"Move": 12,
"NumberOfEffects": 13,
"UserEffect": 65535
}
}
Property { name: "supported"; type: "bool"; isReadonly: true }
Property { name: "effect"; type: "Effect" }
Method { name: "play" }
Method {
name: "play"
Parameter { name: "effect"; type: "Effect" }
}
}
ModuleApi { uri: "QtFeedback.ThemeEffect"; version: 5.0; name: "QDeclarativeThemeEffect" }
}
|