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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
|
import QtQuick.tooling 1.1
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated with the command 'qmlplugindump QtSensors 5.0 /home/lramsay/build/qt50/qtbase/imports'.
Module {
Component {
name: "QmlAccelerometer"
prototype: "QmlSensor"
exports: ["Accelerometer 5.0"]
}
Component {
name: "QmlAccelerometerReading"
prototype: "QmlSensorReading"
exports: ["AccelerometerReading 5.0"]
Property { name: "x"; type: "double"; isReadonly: true }
Property { name: "y"; type: "double"; isReadonly: true }
Property { name: "z"; type: "double"; isReadonly: true }
Signal { name: "xChanged"; type: "void" }
Signal { name: "yChanged"; type: "void" }
Signal { name: "zChanged"; type: "void" }
}
Component {
name: "QmlAmbientLightSensor"
prototype: "QmlSensor"
exports: ["AmbientLightSensor 5.0"]
}
Component {
name: "QmlAmbientLightSensorReading"
prototype: "QmlSensorReading"
exports: ["AmbientLightReading 5.0"]
Enum {
name: "LightLevel"
values: {
"Undefined": 0,
"Dark": 1,
"Twilight": 2,
"Light": 3,
"Bright": 4,
"Sunny": 5
}
}
Property { name: "lightLevel"; type: "LightLevel"; isReadonly: true }
Signal { name: "lightLevelChanged"; type: "void" }
}
Component {
name: "QmlCompass"
prototype: "QmlSensor"
exports: ["Compass 5.0"]
}
Component {
name: "QmlCompassReading"
prototype: "QmlSensorReading"
exports: ["CompassReading 5.0"]
Property { name: "azimuth"; type: "double"; isReadonly: true }
Property { name: "calibrationLevel"; type: "double"; isReadonly: true }
Signal { name: "azimuthChanged"; type: "void" }
Signal { name: "calibrationLevelChanged"; type: "void" }
}
Component {
name: "QmlGyroscope"
prototype: "QmlSensor"
exports: ["Gyroscope 5.0"]
}
Component {
name: "QmlGyroscopeReading"
prototype: "QmlSensorReading"
exports: ["GyroscopeReading 5.0"]
Property { name: "x"; type: "double"; isReadonly: true }
Property { name: "y"; type: "double"; isReadonly: true }
Property { name: "z"; type: "double"; isReadonly: true }
Signal { name: "xChanged"; type: "void" }
Signal { name: "yChanged"; type: "void" }
Signal { name: "zChanged"; type: "void" }
}
Component {
name: "QmlIRProximitySensor"
prototype: "QmlSensor"
exports: ["IRProximitySensor 5.0"]
}
Component {
name: "QmlIRProximitySensorReading"
prototype: "QmlSensorReading"
exports: ["IRProximityReading 5.0"]
Property { name: "reflectance"; type: "double"; isReadonly: true }
Signal { name: "reflectanceChanged"; type: "void" }
}
Component {
name: "QmlLightSensor"
prototype: "QmlSensor"
exports: ["LightSensor 5.0"]
Property { name: "fieldOfView"; type: "double"; isReadonly: true }
Signal { name: "fieldOfViewChanged"; type: "void" }
}
Component {
name: "QmlLightSensorReading"
prototype: "QmlSensorReading"
exports: ["LightReading 5.0"]
Property { name: "lux"; type: "double"; isReadonly: true }
Signal { name: "luxChanged"; type: "void" }
}
Component {
name: "QmlMagnetometer"
prototype: "QmlSensor"
exports: ["Magnetometer 5.0"]
Property { name: "returnGeoValues"; type: "bool" }
Signal { name: "returnGeoValuesChanged"; type: "void" }
}
Component {
name: "QmlMagnetometerReading"
prototype: "QmlSensorReading"
exports: ["MagnetometerReading 5.0"]
Property { name: "x"; type: "double"; isReadonly: true }
Property { name: "y"; type: "double"; isReadonly: true }
Property { name: "z"; type: "double"; isReadonly: true }
Property { name: "calibrationLevel"; type: "double"; isReadonly: true }
Signal { name: "xChanged"; type: "void" }
Signal { name: "yChanged"; type: "void" }
Signal { name: "zChanged"; type: "void" }
Signal { name: "calibrationLevelChanged"; type: "void" }
}
Component {
name: "QmlOrientationSensor"
prototype: "QmlSensor"
exports: ["OrientationSensor 5.0"]
}
Component {
name: "QmlOrientationSensorReading"
prototype: "QmlSensorReading"
exports: ["OrientationReading 5.0"]
Enum {
name: "Orientation"
values: {
"Undefined": 0,
"TopUp": 1,
"TopDown": 2,
"LeftUp": 3,
"RightUp": 4,
"FaceUp": 5,
"FaceDown": 6
}
}
Property { name: "orientation"; type: "Orientation"; isReadonly: true }
Signal { name: "orientationChanged"; type: "void" }
}
Component {
name: "QmlProximitySensor"
prototype: "QmlSensor"
exports: ["ProximitySensor 5.0"]
}
Component {
name: "QmlProximitySensorReading"
prototype: "QmlSensorReading"
exports: ["ProximityReading 5.0"]
Property { name: "close"; type: "bool"; isReadonly: true }
Signal { name: "closeChanged"; type: "void" }
}
Component {
name: "QmlRotationSensor"
prototype: "QmlSensor"
exports: ["RotationSensor 5.0"]
Property { name: "hasZ"; type: "bool"; isReadonly: true }
Signal { name: "hasZChanged"; type: "void" }
}
Component {
name: "QmlRotationSensorReading"
prototype: "QmlSensorReading"
exports: ["RotationReading 5.0"]
Property { name: "x"; type: "double"; isReadonly: true }
Property { name: "y"; type: "double"; isReadonly: true }
Property { name: "z"; type: "double"; isReadonly: true }
Signal { name: "xChanged"; type: "void" }
Signal { name: "yChanged"; type: "void" }
Signal { name: "zChanged"; type: "void" }
}
Component {
name: "QmlSensor"
prototype: "QObject"
exports: ["Sensor 5.0"]
exportMetaObjectRevisions: [1]
Property { name: "identifier"; type: "string" }
Property { name: "type"; type: "string"; isReadonly: true }
Property { name: "connectedToBackend"; type: "bool"; isReadonly: true }
Property { name: "availableDataRates"; type: "QmlSensorRange"; isList: true; isReadonly: true }
Property { name: "dataRate"; type: "int" }
Property { name: "reading"; type: "QmlSensorReading"; isReadonly: true; isPointer: true }
Property { name: "busy"; type: "bool"; isReadonly: true }
Property { name: "active"; type: "bool" }
Property { name: "outputRanges"; type: "QmlSensorOutputRange"; isList: true; isReadonly: true }
Property { name: "outputRange"; type: "int" }
Property { name: "description"; type: "string"; isReadonly: true }
Property { name: "error"; type: "int"; isReadonly: true }
Property { name: "alwaysOn"; revision: 1; type: "bool" }
Signal { name: "identifierChanged"; type: "void" }
Signal { name: "typeChanged"; type: "void" }
Signal { name: "connectedToBackendChanged"; type: "void" }
Signal { name: "availableDataRatesChanged"; type: "void" }
Signal { name: "dataRateChanged"; type: "void" }
Signal { name: "readingChanged"; type: "void" }
Signal { name: "busyChanged"; type: "void" }
Signal { name: "activeChanged"; type: "void" }
Signal { name: "outputRangesChanged"; type: "void" }
Signal { name: "outputRangeChanged"; type: "void" }
Signal { name: "descriptionChanged"; type: "void" }
Signal { name: "errorChanged"; type: "void" }
Signal { name: "alwaysOnChanged"; type: "void" }
Method { name: "start"; type: "bool" }
Method { name: "stop"; type: "void" }
}
Component {
name: "QmlSensorGesture"
prototype: "QObject"
exports: ["SensorGesture 5.0"]
Property { name: "availableGestures"; type: "QStringList"; isReadonly: true }
Property { name: "gestures"; type: "QStringList" }
Property { name: "validGestures"; type: "QStringList"; isReadonly: true }
Property { name: "invalidGestures"; type: "QStringList"; isReadonly: true }
Property { name: "enabled"; type: "bool" }
Signal {
name: "detected"
type: "void"
Parameter { name: "gesture"; type: "string" }
}
Signal { name: "availableGesturesChanged"; type: "void" }
Signal { name: "gesturesChanged"; type: "void" }
Signal { name: "validGesturesChanged"; type: "void" }
Signal { name: "invalidGesturesChanged"; type: "void" }
Signal { name: "enabledChanged"; type: "void" }
}
Component {
name: "QmlSensorGlobal"
prototype: "QObject"
Signal { name: "availableSensorsChanged"; type: "void" }
Method { name: "sensorTypes"; type: "QStringList" }
Method {
name: "sensorsForType"
type: "QStringList"
Parameter { name: "type"; type: "string" }
}
Method {
name: "defaultSensorForType"
type: "string"
Parameter { name: "type"; type: "string" }
}
}
Component {
name: "QmlSensorOutputRange"
prototype: "QObject"
exports: ["OutputRange 5.0"]
Property { name: "minimum"; type: "double"; isReadonly: true }
Property { name: "maximum"; type: "double"; isReadonly: true }
Property { name: "accuracy"; type: "double"; isReadonly: true }
}
Component {
name: "QmlSensorRange"
prototype: "QObject"
exports: ["Range 5.0"]
Property { name: "minimum"; type: "int"; isReadonly: true }
Property { name: "maximum"; type: "int"; isReadonly: true }
}
Component {
name: "QmlSensorReading"
prototype: "QObject"
exports: ["SensorReading 5.0"]
Property { name: "timestamp"; type: "qulonglong"; isReadonly: true }
Signal { name: "timestampChanged"; type: "void" }
}
Component {
name: "QmlTapSensor"
prototype: "QmlSensor"
exports: ["TapSensor 5.0"]
Property { name: "returnDoubleTapEvents"; type: "bool" }
Signal { name: "returnDoubleTapEventsChanged"; type: "void" }
}
Component {
name: "QmlTapSensorReading"
prototype: "QmlSensorReading"
exports: ["TapReading 5.0"]
Enum {
name: "TapDirection"
values: {
"Undefined": 0,
"X": 1,
"Y": 2,
"Z": 4,
"X_Pos": 17,
"Y_Pos": 34,
"Z_Pos": 68,
"X_Neg": 257,
"Y_Neg": 514,
"Z_Neg": 1028,
"X_Both": 273,
"Y_Both": 546,
"Z_Both": 1092
}
}
Property { name: "tapDirection"; type: "TapDirection"; isReadonly: true }
Property { name: "doubleTap"; type: "bool"; isReadonly: true }
Signal { name: "tapDirectionChanged"; type: "void" }
Signal { name: "isDoubleTapChanged"; type: "void" }
}
Component {
name: "QmlTiltSensor"
prototype: "QmlSensor"
exports: ["TiltSensor 5.0"]
}
Method { name: "calibrate"; type: "void" }
}
Component {
name: "QmlTiltSensorReading"
prototype: "QmlSensorReading"
exports: ["TiltReading 5.0"]
Property { name: "yRotation"; type: "double"; isReadonly: true }
Property { name: "xRotation"; type: "double"; isReadonly: true }
Signal { name: "yRotationChanged"; type: "void" }
Signal { name: "xRotationChanged"; type: "void" }
}
ModuleApi { version: 5.0; name: "QmlSensorGlobal" }
}
|