all repos — mgba @ 3c18fe162c2c76eca80692d37083f6809bae4c8d

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>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          <property name="timeSpec">
100           <enum>Qt::UTC</enum>
101          </property>
102         </widget>
103        </item>
104       </layout>
105      </widget>
106     </item>
107     <item>
108      <widget class="QGroupBox" name="groupBox_2">
109       <property name="title">
110        <string>Light sensor</string>
111       </property>
112       <layout class="QGridLayout" name="gridLayout_6">
113        <item row="0" column="0">
114         <widget class="QLabel" name="label_4">
115          <property name="text">
116           <string>Brightness</string>
117          </property>
118         </widget>
119        </item>
120        <item row="0" column="1">
121         <widget class="QSpinBox" name="lightSpin">
122          <property name="maximum">
123           <number>255</number>
124          </property>
125         </widget>
126        </item>
127        <item row="1" column="0" colspan="2">
128         <widget class="QSlider" name="lightSlide">
129          <property name="maximum">
130           <number>255</number>
131          </property>
132          <property name="orientation">
133           <enum>Qt::Horizontal</enum>
134          </property>
135          <property name="tickPosition">
136           <enum>QSlider::TicksBelow</enum>
137          </property>
138          <property name="tickInterval">
139           <number>16</number>
140          </property>
141         </widget>
142        </item>
143       </layout>
144      </widget>
145     </item>
146    </layout>
147   </item>
148   <item>
149    <layout class="QHBoxLayout" name="horizontalLayout_2">
150     <item>
151      <widget class="QGroupBox" name="tilt">
152       <property name="title">
153        <string>Tilt sensor</string>
154       </property>
155       <layout class="QGridLayout" name="gridLayout_10">
156        <item row="0" column="0" colspan="2">
157         <layout class="QGridLayout" name="gridLayout_11">
158          <item row="0" column="1">
159           <widget class="QPushButton" name="tiltSetY">
160            <property name="text">
161             <string>Set Y</string>
162            </property>
163            <property name="checkable">
164             <bool>true</bool>
165            </property>
166           </widget>
167          </item>
168          <item row="0" column="0">
169           <widget class="QPushButton" name="tiltSetX">
170            <property name="text">
171             <string>Set X</string>
172            </property>
173            <property name="checkable">
174             <bool>true</bool>
175            </property>
176           </widget>
177          </item>
178          <item row="1" column="0" alignment="Qt::AlignHCenter">
179           <widget class="QDoubleSpinBox" name="tiltX">
180            <property name="sizePolicy">
181             <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
182              <horstretch>0</horstretch>
183              <verstretch>0</verstretch>
184             </sizepolicy>
185            </property>
186            <property name="alignment">
187             <set>Qt::AlignCenter</set>
188            </property>
189            <property name="readOnly">
190             <bool>true</bool>
191            </property>
192            <property name="buttonSymbols">
193             <enum>QAbstractSpinBox::NoButtons</enum>
194            </property>
195            <property name="minimum">
196             <double>-1.000000000000000</double>
197            </property>
198            <property name="maximum">
199             <double>1.000000000000000</double>
200            </property>
201            <property name="singleStep">
202             <double>0.010000000000000</double>
203            </property>
204           </widget>
205          </item>
206          <item row="1" column="1" alignment="Qt::AlignHCenter">
207           <widget class="QDoubleSpinBox" name="tiltY">
208            <property name="sizePolicy">
209             <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
210              <horstretch>0</horstretch>
211              <verstretch>0</verstretch>
212             </sizepolicy>
213            </property>
214            <property name="alignment">
215             <set>Qt::AlignCenter</set>
216            </property>
217            <property name="readOnly">
218             <bool>true</bool>
219            </property>
220            <property name="buttonSymbols">
221             <enum>QAbstractSpinBox::NoButtons</enum>
222            </property>
223            <property name="minimum">
224             <double>-1.000000000000000</double>
225            </property>
226            <property name="maximum">
227             <double>1.000000000000000</double>
228            </property>
229            <property name="singleStep">
230             <double>0.010000000000000</double>
231            </property>
232           </widget>
233          </item>
234         </layout>
235        </item>
236       </layout>
237      </widget>
238     </item>
239     <item>
240      <widget class="QGroupBox" name="gyro">
241       <property name="title">
242        <string>Gyroscope</string>
243       </property>
244       <layout class="QGridLayout" name="gridLayout_12">
245        <item row="0" column="0" colspan="2">
246         <layout class="QGridLayout" name="gridLayout_17">
247          <item row="0" column="1">
248           <widget class="QPushButton" name="gyroSetY">
249            <property name="text">
250             <string>Set Y</string>
251            </property>
252            <property name="checkable">
253             <bool>true</bool>
254            </property>
255           </widget>
256          </item>
257          <item row="0" column="0">
258           <widget class="QPushButton" name="gyroSetX">
259            <property name="text">
260             <string>Set X</string>
261            </property>
262            <property name="checkable">
263             <bool>true</bool>
264            </property>
265           </widget>
266          </item>
267          <item row="2" column="0">
268           <widget class="QLabel" name="label_2">
269            <property name="text">
270             <string>Sensitivity</string>
271            </property>
272           </widget>
273          </item>
274          <item row="2" column="1">
275           <widget class="QDoubleSpinBox" name="gyroSensitivity">
276            <property name="decimals">
277             <number>0</number>
278            </property>
279            <property name="maximum">
280             <double>1000.000000000000000</double>
281            </property>
282           </widget>
283          </item>
284          <item row="1" column="0" colspan="2">
285           <widget class="QSlider" name="gyroView">
286            <property name="enabled">
287             <bool>false</bool>
288            </property>
289            <property name="minimum">
290             <number>-2147483647</number>
291            </property>
292            <property name="maximum">
293             <number>2147483647</number>
294            </property>
295            <property name="value">
296             <number>0</number>
297            </property>
298            <property name="tracking">
299             <bool>false</bool>
300            </property>
301            <property name="orientation">
302             <enum>Qt::Horizontal</enum>
303            </property>
304           </widget>
305          </item>
306         </layout>
307        </item>
308       </layout>
309      </widget>
310     </item>
311    </layout>
312   </item>
313  </layout>
314 </widget>
315 <resources/>
316 <connections/>
317 <buttongroups>
318  <buttongroup name="timeButtons"/>
319 </buttongroups>
320</ui>