summaryrefslogtreecommitdiffstats
path: root/src/imports/sensors/plugins.qmltypes
blob: eecc3a9374cf1d1c927d2d5578af6aa87ba13cff (plain)
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
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
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 QtMobility.sensors 1.3 /home/lramsay/build/qt50/qtbase/imports'.

Module {
    Component {
        name: "QAccelerometer"
        prototype: "QSensor"
        exports: ["Accelerometer 1.1", "Accelerometer 1.2"]
    }
    Component {
        name: "QAccelerometerReading"
        prototype: "QSensorReading"
        exports: ["AccelerometerReading 1.1", "AccelerometerReading 1.2"]
        Property { name: "x"; type: "double"; isReadonly: true }
        Property { name: "y"; type: "double"; isReadonly: true }
        Property { name: "z"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QAmbientLightReading"
        prototype: "QSensorReading"
        exports: ["AmbientLightReading 1.1", "AmbientLightReading 1.2"]
        Enum {
            name: "LightLevel"
            values: {
                "Undefined": 0,
                "Dark": 1,
                "Twilight": 2,
                "Light": 3,
                "Bright": 4,
                "Sunny": 5
            }
        }
        Property { name: "lightLevel"; type: "LightLevel"; isReadonly: true }
    }
    Component {
        name: "QAmbientLightSensor"
        prototype: "QSensor"
        exports: ["AmbientLightSensor 1.1", "AmbientLightSensor 1.2"]
    }
    Component {
        name: "QCompass"
        prototype: "QSensor"
        exports: ["Compass 1.1", "Compass 1.2"]
    }
    Component {
        name: "QCompassReading"
        prototype: "QSensorReading"
        exports: ["CompassReading 1.1", "CompassReading 1.2"]
        Property { name: "azimuth"; type: "double"; isReadonly: true }
        Property { name: "calibrationLevel"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QGyroscope"
        prototype: "QSensor"
        exports: ["Gyroscope 1.2"]
    }
    Component {
        name: "QGyroscopeReading"
        prototype: "QSensorReading"
        exports: ["GyroscopeReading 1.2"]
        Property { name: "x"; type: "double"; isReadonly: true }
        Property { name: "y"; type: "double"; isReadonly: true }
        Property { name: "z"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QLightReading"
        prototype: "QSensorReading"
        exports: ["LightReading 1.2"]
        Property { name: "lux"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QLightSensor"
        prototype: "QSensor"
        exports: ["LightSensor 1.2"]
    }
    Component {
        name: "QMagnetometer"
        prototype: "QSensor"
        exports: ["Magnetometer 1.1", "Magnetometer 1.2"]
    }
    Component {
        name: "QMagnetometerReading"
        prototype: "QSensorReading"
        exports: ["MagnetometerReading 1.1", "MagnetometerReading 1.2"]
        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 }
    }
    Component {
        name: "QOrientationReading"
        prototype: "QSensorReading"
        exports: ["OrientationReading 1.1", "OrientationReading 1.2"]
        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 }
    }
    Component {
        name: "QOrientationSensor"
        prototype: "QSensor"
        exports: ["OrientationSensor 1.1", "OrientationSensor 1.2"]
    }
    Component {
        name: "QProximityReading"
        prototype: "QSensorReading"
        exports: ["ProximityReading 1.1", "ProximityReading 1.2"]
        Property { name: "close"; type: "bool"; isReadonly: true }
    }
    Component {
        name: "QProximitySensor"
        prototype: "QSensor"
        exports: ["ProximitySensor 1.1", "ProximitySensor 1.2"]
    }
    Component {
        name: "QRotationReading"
        prototype: "QSensorReading"
        exports: ["RotationReading 1.1", "RotationReading 1.2"]
        Property { name: "x"; type: "double"; isReadonly: true }
        Property { name: "y"; type: "double"; isReadonly: true }
        Property { name: "z"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QRotationSensor"
        prototype: "QSensor"
        exports: ["RotationSensor 1.1", "RotationSensor 1.2"]
    }
    Component {
        name: "QSensor"
        prototype: "QObject"
        exports: ["Sensor 1.2"]
        Enum {
            name: "Feature"
            values: {
                "Buffering": 0,
                "AlwaysOn": 1,
                "GeoValues": 2,
                "FieldOfView": 3,
                "Reserved": 257
            }
        }
        Property { name: "identifier"; type: "QByteArray" }
        Property { name: "type"; type: "QByteArray"; isReadonly: true }
        Property { name: "connectedToBackend"; type: "bool"; isReadonly: true }
        Property { name: "availableDataRates"; type: "qrangelist"; isReadonly: true }
        Property { name: "dataRate"; type: "int" }
        Property { name: "reading"; type: "QSensorReading"; isReadonly: true; isPointer: true }
        Property { name: "busy"; type: "bool"; isReadonly: true }
        Property { name: "active"; type: "bool" }
        Property { name: "outputRanges"; type: "qoutputrangelist"; 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: "busyChanged"; type: "void" }
        Signal { name: "activeChanged"; type: "void" }
        Signal { name: "readingChanged"; type: "void" }
        Signal {
            name: "sensorError"
            type: "void"
            Parameter { name: "error"; type: "int" }
        }
        Signal { name: "availableSensorsChanged"; type: "void" }
        Signal { name: "alwaysOnChanged"; type: "void" }
        Method { name: "start"; type: "bool" }
        Method { name: "stop"; type: "void" }
        Method { name: "connectToBackend"; type: "bool" }
        Method {
            name: "isFeatureSupported"
            type: "bool"
            Parameter { name: "feature"; type: "Feature" }
        }
    }
    Component {
        name: "QSensorReading"
        prototype: "QObject"
        exports: ["SensorReading 1.1", "SensorReading 1.2"]
        Property { name: "timestamp"; type: "qulonglong"; isReadonly: true }
    }
    Component {
        name: "QTapReading"
        prototype: "QSensorReading"
        exports: ["TapReading 1.1", "TapReading 1.2"]
        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 }
    }
    Component {
        name: "QTapSensor"
        prototype: "QSensor"
        exports: ["TapSensor 1.1", "TapSensor 1.2"]
    }
    Component {
        name: "QmlAccelerometer"
        prototype: "QmlSensor"
        exports: ["Accelerometer 1.3"]
    }
    Component {
        name: "QmlAccelerometerReading"
        prototype: "QmlSensorReading"
        exports: ["AccelerometerReading 1.3"]
        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 1.3"]
    }
    Component {
        name: "QmlAmbientLightSensorReading"
        prototype: "QmlSensorReading"
        exports: ["AmbientLightReading 1.3"]
        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 1.3"]
    }
    Component {
        name: "QmlCompassReading"
        prototype: "QmlSensorReading"
        exports: ["CompassReading 1.3"]
        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 1.3"]
    }
    Component {
        name: "QmlGyroscopeReading"
        prototype: "QmlSensorReading"
        exports: ["GyroscopeReading 1.3"]
        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 1.3"]
    }
    Component {
        name: "QmlIRProximitySensorReading"
        prototype: "QmlSensorReading"
        exports: ["IRProximityReading 1.3"]
        Property { name: "reflectance"; type: "double"; isReadonly: true }
        Signal { name: "reflectanceChanged"; type: "void" }
    }
    Component {
        name: "QmlLightSensor"
        prototype: "QmlSensor"
        exports: ["LightSensor 1.3"]
        Property { name: "fieldOfView"; type: "double"; isReadonly: true }
        Signal { name: "fieldOfViewChanged"; type: "void" }
    }
    Component {
        name: "QmlLightSensorReading"
        prototype: "QmlSensorReading"
        exports: ["LightReading 1.3"]
        Property { name: "lux"; type: "double"; isReadonly: true }
        Signal { name: "luxChanged"; type: "void" }
    }
    Component {
        name: "QmlMagnetometer"
        prototype: "QmlSensor"
        exports: ["Magnetometer 1.3"]
        Property { name: "returnGeoValues"; type: "bool" }
        Signal { name: "returnGeoValuesChanged"; type: "void" }
    }
    Component {
        name: "QmlMagnetometerReading"
        prototype: "QmlSensorReading"
        exports: ["MagnetometerReading 1.3"]
        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 1.3"]
    }
    Component {
        name: "QmlOrientationSensorReading"
        prototype: "QmlSensorReading"
        exports: ["OrientationReading 1.3"]
        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 1.3"]
    }
    Component {
        name: "QmlProximitySensorReading"
        prototype: "QmlSensorReading"
        exports: ["ProximityReading 1.3"]
        Property { name: "close"; type: "bool"; isReadonly: true }
        Signal { name: "closeChanged"; type: "void" }
    }
    Component {
        name: "QmlRotationSensor"
        prototype: "QmlSensor"
        exports: ["RotationSensor 1.3"]
        Property { name: "hasZ"; type: "bool"; isReadonly: true }
        Signal { name: "hasZChanged"; type: "void" }
    }
    Component {
        name: "QmlRotationSensorReading"
        prototype: "QmlSensorReading"
        exports: ["RotationReading 1.3"]
        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 1.3"]
        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: "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 1.3"]
        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 1.3"]
        Property { name: "minimum"; type: "int"; isReadonly: true }
        Property { name: "maximum"; type: "int"; isReadonly: true }
    }
    Component {
        name: "QmlSensorReading"
        prototype: "QObject"
        exports: ["SensorReading 1.3"]
        Property { name: "timestamp"; type: "qulonglong"; isReadonly: true }
        Signal { name: "timestampChanged"; type: "void" }
    }
    Component {
        name: "QmlTapSensor"
        prototype: "QmlSensor"
        exports: ["TapSensor 1.3"]
        Property { name: "returnDoubleTapEvents"; type: "bool" }
        Signal { name: "returnDoubleTapEventsChanged"; type: "void" }
    }
    Component {
        name: "QmlTapSensorReading"
        prototype: "QmlSensorReading"
        exports: ["TapReading 1.3"]
        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 1.3"]
        }
        Method { name: "calibrate"; type: "void" }
    }
    Component {
        name: "QmlTiltSensorReading"
        prototype: "QmlSensorReading"
        exports: ["TiltReading 1.3"]
        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: 1.3; name: "QmlSensorGlobal" }
}