summaryrefslogtreecommitdiffstats
path: root/src/imports/sensors/plugins.qmltypes
blob: fe9c961def63cca5d9b6ebafc61eb75148e4b65d (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
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/thomas/src/qtbase/qml'.

Module {
    Component {
        name: "QmlAccelerometer"
        prototype: "QmlSensor"
        exports: ["Accelerometer 5.0", "Accelerometer 5.1"]
        exportMetaObjectRevisions: [0, 1]
        Enum {
            name: "AccelerationMode"
            values: {
                "Combined": 0,
                "Gravity": 1,
                "User": 2
            }
        }
        Property { name: "accelerationMode"; revision: 1; type: "AccelerationMode" }
        Signal {
            name: "accelerationModeChanged"
            Parameter { name: "accelerationMode"; type: "AccelerationMode" }
        }
    }
    Component {
        name: "QmlAccelerometerReading"
        prototype: "QmlSensorReading"
        exports: ["AccelerometerReading 5.0", "AccelerometerReading 5.1"]
        Property { name: "x"; type: "double"; isReadonly: true }
        Property { name: "y"; type: "double"; isReadonly: true }
        Property { name: "z"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QmlAmbientLightSensor"
        prototype: "QmlSensor"
        exports: ["AmbientLightSensor 5.0", "AmbientLightSensor 5.1"]
    }
    Component {
        name: "QmlAmbientLightSensorReading"
        prototype: "QmlSensorReading"
        exports: ["AmbientLightReading 5.0", "AmbientLightReading 5.1"]
        Property { name: "lightLevel"; type: "QAmbientLightReading::LightLevel"; isReadonly: true }
    }
    Component {
        name: "QmlCompass"
        prototype: "QmlSensor"
        exports: ["Compass 5.0", "Compass 5.1"]
    }
    Component {
        name: "QmlCompassReading"
        prototype: "QmlSensorReading"
        exports: ["CompassReading 5.0", "CompassReading 5.1"]
        Property { name: "azimuth"; type: "double"; isReadonly: true }
        Property { name: "calibrationLevel"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QmlGyroscope"
        prototype: "QmlSensor"
        exports: ["Gyroscope 5.0", "Gyroscope 5.1"]
    }
    Component {
        name: "QmlGyroscopeReading"
        prototype: "QmlSensorReading"
        exports: ["GyroscopeReading 5.0", "GyroscopeReading 5.1"]
        Property { name: "x"; type: "double"; isReadonly: true }
        Property { name: "y"; type: "double"; isReadonly: true }
        Property { name: "z"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QmlIRProximitySensor"
        prototype: "QmlSensor"
        exports: ["IRProximitySensor 5.0", "IRProximitySensor 5.1"]
    }
    Component {
        name: "QmlIRProximitySensorReading"
        prototype: "QmlSensorReading"
        exports: ["IRProximityReading 5.0", "IRProximityReading 5.1"]
        Property { name: "reflectance"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QmlLightSensor"
        prototype: "QmlSensor"
        exports: ["LightSensor 5.0", "LightSensor 5.1"]
        Property { name: "fieldOfView"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QmlLightSensorReading"
        prototype: "QmlSensorReading"
        exports: ["LightReading 5.0", "LightReading 5.1"]
        Property { name: "illuminance"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QmlMagnetometer"
        prototype: "QmlSensor"
        exports: ["Magnetometer 5.0", "Magnetometer 5.1"]
    }
    Component {
        name: "QmlMagnetometerReading"
        prototype: "QmlSensorReading"
        exports: ["MagnetometerReading 5.0", "MagnetometerReading 5.1"]
        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: "QmlOrientationSensor"
        prototype: "QmlSensor"
        exports: ["OrientationSensor 5.0", "OrientationSensor 5.1"]
    }
    Component {
        name: "QmlOrientationSensorReading"
        prototype: "QmlSensorReading"
        exports: ["OrientationReading 5.0", "OrientationReading 5.1"]
        Property { name: "orientation"; type: "QOrientationReading::Orientation"; isReadonly: true }
    }
    Component {
        name: "QmlPressureReading"
        prototype: "QmlSensorReading"
        exports: ["PressureReading 5.1"]
        Property { name: "pressure"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QmlPressureSensor"
        prototype: "QmlSensor"
        exports: ["PressureSensor 5.1"]
    }
    Component {
        name: "QmlProximitySensor"
        prototype: "QmlSensor"
        exports: ["ProximitySensor 5.0", "ProximitySensor 5.1"]
    }
    Component {
        name: "QmlProximitySensorReading"
        prototype: "QmlSensorReading"
        exports: ["ProximityReading 5.0", "ProximityReading 5.1"]
        Property { name: "near"; type: "bool"; isReadonly: true }
    }
    Component {
        name: "QmlRotationSensor"
        prototype: "QmlSensor"
        exports: ["RotationSensor 5.0", "RotationSensor 5.1"]
        Property { name: "hasZ"; type: "bool"; isReadonly: true }
    }
    Component {
        name: "QmlRotationSensorReading"
        prototype: "QmlSensorReading"
        exports: ["RotationReading 5.0", "RotationReading 5.1"]
        Property { name: "x"; type: "double"; isReadonly: true }
        Property { name: "y"; type: "double"; isReadonly: true }
        Property { name: "z"; type: "double"; isReadonly: true }
    }
    Component {
        name: "QmlSensor"
        prototype: "QObject"
        exports: ["Sensor 5.0", "Sensor 5.1"]
        exportMetaObjectRevisions: [0, 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"; type: "bool" }
        Property { name: "skipDuplicates"; revision: 1; type: "bool" }
        Signal {
            name: "skipDuplicatesChanged"
            Parameter { name: "skipDuplicates"; type: "bool" }
        }
        Method { name: "start"; type: "bool" }
        Method { name: "stop" }
    }
    Component {
        name: "QmlSensorGesture"
        prototype: "QObject"
        exports: ["SensorGesture 5.0", "SensorGesture 5.1"]
        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"
            Parameter { name: "gesture"; type: "string" }
        }
    }
    Component {
        name: "QmlSensorGlobal"
        prototype: "QObject"
        exports: ["QmlSensors 5.0", "QmlSensors 5.1"]
        Signal { name: "availableSensorsChanged" }
        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", "OutputRange 5.1"]
        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", "Range 5.1"]
        Property { name: "minimum"; type: "int"; isReadonly: true }
        Property { name: "maximum"; type: "int"; isReadonly: true }
    }
    Component {
        name: "QmlSensorReading"
        prototype: "QObject"
        exports: ["SensorReading 5.0", "SensorReading 5.1"]
        Property { name: "timestamp"; type: "qulonglong"; isReadonly: true }
    }
    Component {
        name: "QmlTapSensor"
        prototype: "QmlSensor"
        exports: ["TapSensor 5.0", "TapSensor 5.1"]
        Property { name: "returnDoubleTapEvents"; type: "bool" }
    }
    Component {
        name: "QmlTapSensorReading"
        prototype: "QmlSensorReading"
        exports: ["TapReading 5.0", "TapReading 5.1"]
        Property { name: "tapDirection"; type: "QTapReading::TapDirection"; isReadonly: true }
        Property { name: "doubleTap"; type: "bool"; isReadonly: true }
        Signal { name: "isDoubleTapChanged" }
    }
    Component {
        name: "QmlTiltSensor"
        prototype: "QmlSensor"
        exports: ["TiltSensor 5.0", "TiltSensor 5.1"]
        Method { name: "calibrate" }
    }
    Component {
        name: "QmlTiltSensorReading"
        prototype: "QmlSensorReading"
        exports: ["TiltReading 5.0", "TiltReading 5.1"]
        Property { name: "yRotation"; type: "double"; isReadonly: true }
        Property { name: "xRotation"; type: "double"; isReadonly: true }
    }
}