all repos — mgba @ d0a332ffd4bcc238f89d042c770d841ef1166039

mGBA Game Boy Advance Emulator

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>508</width>
 10    <height>258</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           </widget>
161          </item>
162          <item row="0" column="0">
163           <widget class="QPushButton" name="tiltSetX">
164            <property name="text">
165             <string>Set X</string>
166            </property>
167           </widget>
168          </item>
169          <item row="1" column="0" alignment="Qt::AlignHCenter">
170           <widget class="QDoubleSpinBox" name="tiltX">
171            <property name="sizePolicy">
172             <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
173              <horstretch>0</horstretch>
174              <verstretch>0</verstretch>
175             </sizepolicy>
176            </property>
177            <property name="alignment">
178             <set>Qt::AlignCenter</set>
179            </property>
180            <property name="readOnly">
181             <bool>true</bool>
182            </property>
183            <property name="buttonSymbols">
184             <enum>QAbstractSpinBox::NoButtons</enum>
185            </property>
186            <property name="minimum">
187             <double>-1.000000000000000</double>
188            </property>
189            <property name="maximum">
190             <double>1.000000000000000</double>
191            </property>
192            <property name="singleStep">
193             <double>0.010000000000000</double>
194            </property>
195           </widget>
196          </item>
197          <item row="1" column="1" alignment="Qt::AlignHCenter">
198           <widget class="QDoubleSpinBox" name="tiltY">
199            <property name="sizePolicy">
200             <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
201              <horstretch>0</horstretch>
202              <verstretch>0</verstretch>
203             </sizepolicy>
204            </property>
205            <property name="alignment">
206             <set>Qt::AlignCenter</set>
207            </property>
208            <property name="readOnly">
209             <bool>true</bool>
210            </property>
211            <property name="buttonSymbols">
212             <enum>QAbstractSpinBox::NoButtons</enum>
213            </property>
214            <property name="minimum">
215             <double>-1.000000000000000</double>
216            </property>
217            <property name="maximum">
218             <double>1.000000000000000</double>
219            </property>
220            <property name="singleStep">
221             <double>0.010000000000000</double>
222            </property>
223           </widget>
224          </item>
225         </layout>
226        </item>
227       </layout>
228      </widget>
229     </item>
230     <item>
231      <widget class="QGroupBox" name="gyro">
232       <property name="title">
233        <string>Gyroscope</string>
234       </property>
235       <layout class="QGridLayout" name="gridLayout_12">
236        <item row="0" column="0" colspan="2">
237         <layout class="QGridLayout" name="gridLayout_17">
238          <item row="0" column="1">
239           <widget class="QPushButton" name="gyroSetY">
240            <property name="text">
241             <string>Set Y</string>
242            </property>
243           </widget>
244          </item>
245          <item row="0" column="0">
246           <widget class="QPushButton" name="gyroSetX">
247            <property name="text">
248             <string>Set X</string>
249            </property>
250           </widget>
251          </item>
252          <item row="2" column="0">
253           <widget class="QLabel" name="label_2">
254            <property name="text">
255             <string>Sensitivity</string>
256            </property>
257           </widget>
258          </item>
259          <item row="2" column="1">
260           <widget class="QDoubleSpinBox" name="gyroSensitivity">
261            <property name="decimals">
262             <number>0</number>
263            </property>
264            <property name="maximum">
265             <double>1000.000000000000000</double>
266            </property>
267           </widget>
268          </item>
269          <item row="1" column="0" colspan="2">
270           <widget class="QSlider" name="gyroView">
271            <property name="enabled">
272             <bool>false</bool>
273            </property>
274            <property name="minimum">
275             <number>-2147483647</number>
276            </property>
277            <property name="maximum">
278             <number>2147483647</number>
279            </property>
280            <property name="value">
281             <number>0</number>
282            </property>
283            <property name="tracking">
284             <bool>false</bool>
285            </property>
286            <property name="orientation">
287             <enum>Qt::Horizontal</enum>
288            </property>
289           </widget>
290          </item>
291         </layout>
292        </item>
293       </layout>
294      </widget>
295     </item>
296    </layout>
297   </item>
298  </layout>
299 </widget>
300 <resources/>
301 <connections/>
302 <buttongroups>
303  <buttongroup name="timeButtons"/>
304 </buttongroups>
305</ui>