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>319</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 <property name="sizeConstraint">
24 <enum>QLayout::SetFixedSize</enum>
25 </property>
26 <item>
27 <layout class="QHBoxLayout" name="horizontalLayout">
28 <item>
29 <widget class="QGroupBox" name="groupBox">
30 <property name="title">
31 <string>Realtime clock</string>
32 </property>
33 <layout class="QGridLayout" name="gridLayout_4">
34 <item row="1" column="0">
35 <widget class="QRadioButton" name="timeFixed">
36 <property name="text">
37 <string>Fixed time</string>
38 </property>
39 <attribute name="buttonGroup">
40 <string notr="true">timeButtons</string>
41 </attribute>
42 </widget>
43 </item>
44 <item row="0" column="0">
45 <widget class="QRadioButton" name="timeNoOverride">
46 <property name="text">
47 <string>System time</string>
48 </property>
49 <property name="checked">
50 <bool>true</bool>
51 </property>
52 <attribute name="buttonGroup">
53 <string notr="true">timeButtons</string>
54 </attribute>
55 </widget>
56 </item>
57 <item row="2" column="0">
58 <widget class="QRadioButton" name="timeFakeEpoch">
59 <property name="text">
60 <string>Start time at</string>
61 </property>
62 <attribute name="buttonGroup">
63 <string notr="true">timeButtons</string>
64 </attribute>
65 </widget>
66 </item>
67 <item row="0" column="1" rowspan="3">
68 <widget class="QPushButton" name="timeNow">
69 <property name="text">
70 <string>Now</string>
71 </property>
72 </widget>
73 </item>
74 <item row="3" column="0" colspan="2">
75 <widget class="QDateTimeEdit" name="time">
76 <property name="wrapping">
77 <bool>true</bool>
78 </property>
79 <property name="maximumDate">
80 <date>
81 <year>2099</year>
82 <month>12</month>
83 <day>31</day>
84 </date>
85 </property>
86 <property name="minimumDate">
87 <date>
88 <year>2000</year>
89 <month>1</month>
90 <day>1</day>
91 </date>
92 </property>
93 <property name="currentSection">
94 <enum>QDateTimeEdit::MonthSection</enum>
95 </property>
96 <property name="displayFormat">
97 <string>MM/dd/yy hh:mm:ss AP</string>
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>