src/platform/qt/SensorView.ui (view raw)
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>SensorView</class>
4 <widget class="QWidget" name="SensorView">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>434</width>
10 <height>288</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="windowTitle">
20 <string>Sensors</string>
21 </property>
22 <layout class="QVBoxLayout" name="verticalLayout">
23 <item>
24 <layout class="QHBoxLayout" name="horizontalLayout">
25 <item>
26 <widget class="QGroupBox" name="groupBox">
27 <property name="title">
28 <string>Realtime clock</string>
29 </property>
30 <layout class="QGridLayout" name="gridLayout_4">
31 <item row="1" column="0">
32 <widget class="QRadioButton" name="timeFixed">
33 <property name="text">
34 <string>Fixed time</string>
35 </property>
36 <attribute name="buttonGroup">
37 <string notr="true">timeButtons</string>
38 </attribute>
39 </widget>
40 </item>
41 <item row="0" column="0">
42 <widget class="QRadioButton" name="timeNoOverride">
43 <property name="text">
44 <string>System time</string>
45 </property>
46 <property name="checked">
47 <bool>true</bool>
48 </property>
49 <attribute name="buttonGroup">
50 <string notr="true">timeButtons</string>
51 </attribute>
52 </widget>
53 </item>
54 <item row="2" column="0">
55 <widget class="QRadioButton" name="timeFakeEpoch">
56 <property name="text">
57 <string>Start time at</string>
58 </property>
59 <attribute name="buttonGroup">
60 <string notr="true">timeButtons</string>
61 </attribute>
62 </widget>
63 </item>
64 <item row="0" column="1" rowspan="3">
65 <widget class="QPushButton" name="timeNow">
66 <property name="text">
67 <string>Now</string>
68 </property>
69 </widget>
70 </item>
71 <item row="3" column="0" colspan="2">
72 <widget class="QDateTimeEdit" name="time">
73 <property name="wrapping">
74 <bool>true</bool>
75 </property>
76 <property name="maximumDate">
77 <date>
78 <year>2100</year>
79 <month>1</month>
80 <day>6</day>
81 </date>
82 </property>
83 <property name="minimumDate">
84 <date>
85 <year>2000</year>
86 <month>1</month>
87 <day>1</day>
88 </date>
89 </property>
90 <property name="currentSection">
91 <enum>QDateTimeEdit::MonthSection</enum>
92 </property>
93 <property name="displayFormat">
94 <string>MM/dd/yy hh:mm:ss AP</string>
95 </property>
96 <property name="timeSpec">
97 <enum>Qt::UTC</enum>
98 </property>
99 </widget>
100 </item>
101 </layout>
102 </widget>
103 </item>
104 <item>
105 <widget class="QGroupBox" name="groupBox_2">
106 <property name="title">
107 <string>Light sensor</string>
108 </property>
109 <layout class="QGridLayout" name="gridLayout_6">
110 <item row="0" column="0">
111 <widget class="QLabel" name="label_4">
112 <property name="text">
113 <string>Brightness</string>
114 </property>
115 </widget>
116 </item>
117 <item row="0" column="1">
118 <widget class="QSpinBox" name="lightSpin">
119 <property name="maximum">
120 <number>255</number>
121 </property>
122 </widget>
123 </item>
124 <item row="1" column="0" colspan="2">
125 <widget class="QSlider" name="lightSlide">
126 <property name="maximum">
127 <number>255</number>
128 </property>
129 <property name="orientation">
130 <enum>Qt::Horizontal</enum>
131 </property>
132 <property name="tickPosition">
133 <enum>QSlider::TicksBelow</enum>
134 </property>
135 <property name="tickInterval">
136 <number>16</number>
137 </property>
138 </widget>
139 </item>
140 </layout>
141 </widget>
142 </item>
143 </layout>
144 </item>
145 <item>
146 <layout class="QHBoxLayout" name="horizontalLayout_2">
147 <item>
148 <widget class="QGroupBox" name="tilt">
149 <property name="title">
150 <string>Tilt sensor</string>
151 </property>
152 <layout class="QGridLayout" name="gridLayout_10">
153 <item row="0" column="0" colspan="2">
154 <layout class="QGridLayout" name="gridLayout_11">
155 <item row="0" column="1">
156 <widget class="QPushButton" name="tiltSetY">
157 <property name="text">
158 <string>Set Y</string>
159 </property>
160 <property name="checkable">
161 <bool>true</bool>
162 </property>
163 </widget>
164 </item>
165 <item row="0" column="0">
166 <widget class="QPushButton" name="tiltSetX">
167 <property name="text">
168 <string>Set X</string>
169 </property>
170 <property name="checkable">
171 <bool>true</bool>
172 </property>
173 </widget>
174 </item>
175 <item row="1" column="0" alignment="Qt::AlignHCenter">
176 <widget class="QDoubleSpinBox" name="tiltX">
177 <property name="sizePolicy">
178 <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
179 <horstretch>0</horstretch>
180 <verstretch>0</verstretch>
181 </sizepolicy>
182 </property>
183 <property name="alignment">
184 <set>Qt::AlignCenter</set>
185 </property>
186 <property name="readOnly">
187 <bool>true</bool>
188 </property>
189 <property name="buttonSymbols">
190 <enum>QAbstractSpinBox::NoButtons</enum>
191 </property>
192 <property name="minimum">
193 <double>-1.000000000000000</double>
194 </property>
195 <property name="maximum">
196 <double>1.000000000000000</double>
197 </property>
198 <property name="singleStep">
199 <double>0.010000000000000</double>
200 </property>
201 </widget>
202 </item>
203 <item row="1" column="1" alignment="Qt::AlignHCenter">
204 <widget class="QDoubleSpinBox" name="tiltY">
205 <property name="sizePolicy">
206 <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
207 <horstretch>0</horstretch>
208 <verstretch>0</verstretch>
209 </sizepolicy>
210 </property>
211 <property name="alignment">
212 <set>Qt::AlignCenter</set>
213 </property>
214 <property name="readOnly">
215 <bool>true</bool>
216 </property>
217 <property name="buttonSymbols">
218 <enum>QAbstractSpinBox::NoButtons</enum>
219 </property>
220 <property name="minimum">
221 <double>-1.000000000000000</double>
222 </property>
223 <property name="maximum">
224 <double>1.000000000000000</double>
225 </property>
226 <property name="singleStep">
227 <double>0.010000000000000</double>
228 </property>
229 </widget>
230 </item>
231 </layout>
232 </item>
233 </layout>
234 </widget>
235 </item>
236 <item>
237 <widget class="QGroupBox" name="gyro">
238 <property name="title">
239 <string>Gyroscope</string>
240 </property>
241 <layout class="QGridLayout" name="gridLayout_12">
242 <item row="0" column="0" colspan="2">
243 <layout class="QGridLayout" name="gridLayout_17">
244 <item row="0" column="1">
245 <widget class="QPushButton" name="gyroSetY">
246 <property name="text">
247 <string>Set Y</string>
248 </property>
249 <property name="checkable">
250 <bool>true</bool>
251 </property>
252 </widget>
253 </item>
254 <item row="0" column="0">
255 <widget class="QPushButton" name="gyroSetX">
256 <property name="text">
257 <string>Set X</string>
258 </property>
259 <property name="checkable">
260 <bool>true</bool>
261 </property>
262 </widget>
263 </item>
264 <item row="2" column="0">
265 <widget class="QLabel" name="label_2">
266 <property name="text">
267 <string>Sensitivity</string>
268 </property>
269 </widget>
270 </item>
271 <item row="2" column="1">
272 <widget class="QDoubleSpinBox" name="gyroSensitivity">
273 <property name="decimals">
274 <number>0</number>
275 </property>
276 <property name="maximum">
277 <double>1000.000000000000000</double>
278 </property>
279 </widget>
280 </item>
281 <item row="1" column="0" colspan="2">
282 <widget class="QSlider" name="gyroView">
283 <property name="enabled">
284 <bool>false</bool>
285 </property>
286 <property name="minimum">
287 <number>-2147483647</number>
288 </property>
289 <property name="maximum">
290 <number>2147483647</number>
291 </property>
292 <property name="value">
293 <number>0</number>
294 </property>
295 <property name="tracking">
296 <bool>false</bool>
297 </property>
298 <property name="orientation">
299 <enum>Qt::Horizontal</enum>
300 </property>
301 </widget>
302 </item>
303 </layout>
304 </item>
305 </layout>
306 </widget>
307 </item>
308 </layout>
309 </item>
310 </layout>
311 </widget>
312 <resources/>
313 <connections/>
314 <buttongroups>
315 <buttongroup name="timeButtons"/>
316 </buttongroups>
317</ui>