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
|
import QtQuick.tooling 1.0
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
Module {
Component {
name: "QAccelerometer"
prototype: "QSensor"
exports: [
"QtMobility.sensors/Accelerometer 1.1"
]
}
Component {
name: "QAccelerometerReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/AccelerometerReading 1.1"
]
Property { name: "x"; type: "qreal"; isReadonly: true }
Property { name: "y"; type: "qreal"; isReadonly: true }
Property { name: "z"; type: "qreal"; isReadonly: true }
}
Component {
name: "QAmbientLightReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/AmbientLightReading 1.1"
]
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: [
"QtMobility.sensors/AmbientLightSensor 1.1"
]
}
Component {
name: "QCompass"
prototype: "QSensor"
exports: [
"QtMobility.sensors/Compass 1.1"
]
}
Component {
name: "QCompassReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/CompassReading 1.1"
]
Property { name: "azimuth"; type: "qreal"; isReadonly: true }
Property { name: "calibrationLevel"; type: "qreal"; isReadonly: true }
}
Component {
name: "QMagnetometer"
prototype: "QSensor"
exports: [
"QtMobility.sensors/Magnetometer 1.1"
]
}
Component {
name: "QMagnetometerReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/MagnetometerReading 1.1"
]
Property { name: "x"; type: "qreal"; isReadonly: true }
Property { name: "y"; type: "qreal"; isReadonly: true }
Property { name: "z"; type: "qreal"; isReadonly: true }
Property { name: "calibrationLevel"; type: "qreal"; isReadonly: true }
}
Component {
name: "QOrientationReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/OrientationReading 1.1"
]
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: [
"QtMobility.sensors/OrientationSensor 1.1"
]
}
Component {
name: "QProximityReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/ProximityReading 1.1"
]
Property { name: "close"; type: "bool"; isReadonly: true }
}
Component {
name: "QProximitySensor"
prototype: "QSensor"
exports: [
"QtMobility.sensors/ProximitySensor 1.1"
]
}
Component {
name: "QRotationReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/RotationReading 1.1"
]
Property { name: "x"; type: "qreal"; isReadonly: true }
Property { name: "y"; type: "qreal"; isReadonly: true }
Property { name: "z"; type: "qreal"; isReadonly: true }
}
Component {
name: "QRotationSensor"
prototype: "QSensor"
exports: [
"QtMobility.sensors/RotationSensor 1.1"
]
}
Component {
name: "QSensor"
prototype: "QObject"
Property { name: "sensorid"; type: "QByteArray" }
Property { name: "type"; type: "QByteArray"; isReadonly: true }
Property { name: "connectedToBackend"; type: "bool"; isReadonly: true }
Property { name: "availableDataRates"; type: "QtMobility::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: "QtMobility::qoutputrangelist"; isReadonly: true }
Property { name: "outputRange"; type: "int" }
Property { name: "description"; type: "string"; isReadonly: true }
Property { name: "error"; type: "int"; isReadonly: true }
Signal { name: "busyChanged" }
Signal { name: "activeChanged" }
Signal { name: "readingChanged" }
Signal {
name: "sensorError"
Parameter { name: "error"; type: "int" }
}
Method { name: "start"; type: "bool" }
Method { name: "stop" }
Method { name: "connectToBackend"; type: "bool" }
}
Component {
name: "QSensorReading"
prototype: "QObject"
Property { name: "timestamp"; type: "QtMobility::qtimestamp"; isReadonly: true }
}
Component {
name: "QTapReading"
prototype: "QSensorReading"
exports: [
"QtMobility.sensors/TapReading 1.1"
]
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
}
}
Property { name: "tapDirection"; type: "TapDirection"; isReadonly: true }
Property { name: "doubleTap"; type: "bool"; isReadonly: true }
}
Component {
name: "QTapSensor"
prototype: "QSensor"
exports: [
"QtMobility.sensors/TapSensor 1.1"
]
}
}
|