all repos — mgba @ e85e8968f254f74df6c3f6baf1ac60788381aa7b

mGBA Game Boy Advance Emulator

src/platform/qt/GamePakView.ui (view raw)

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>GamePakView</class>
  4 <widget class="QWidget" name="GamePakView">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>251</width>
 10    <height>433</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>Game Pak Overrides</string>
 21  </property>
 22  <layout class="QVBoxLayout" name="verticalLayout_2">
 23   <item>
 24    <widget class="QGroupBox" name="groupBox">
 25     <property name="title">
 26      <string/>
 27     </property>
 28     <layout class="QFormLayout" name="formLayout">
 29      <property name="fieldGrowthPolicy">
 30       <enum>QFormLayout::FieldsStayAtSizeHint</enum>
 31      </property>
 32      <item row="0" column="0">
 33       <widget class="QLabel" name="label">
 34        <property name="text">
 35         <string>Save type</string>
 36        </property>
 37       </widget>
 38      </item>
 39      <item row="0" column="1">
 40       <widget class="QComboBox" name="savetype">
 41        <item>
 42         <property name="text">
 43          <string>Autodetect</string>
 44         </property>
 45        </item>
 46        <item>
 47         <property name="text">
 48          <string>None</string>
 49         </property>
 50        </item>
 51        <item>
 52         <property name="text">
 53          <string>SRAM</string>
 54         </property>
 55        </item>
 56        <item>
 57         <property name="text">
 58          <string>Flash 512kb</string>
 59         </property>
 60        </item>
 61        <item>
 62         <property name="text">
 63          <string>Flash 1Mb</string>
 64         </property>
 65        </item>
 66        <item>
 67         <property name="text">
 68          <string>EEPROM</string>
 69         </property>
 70        </item>
 71       </widget>
 72      </item>
 73      <item row="1" column="0" colspan="2">
 74       <widget class="Line" name="line">
 75        <property name="orientation">
 76         <enum>Qt::Horizontal</enum>
 77        </property>
 78       </widget>
 79      </item>
 80      <item row="2" column="0">
 81       <widget class="QLabel" name="label_2">
 82        <property name="text">
 83         <string>Hardware</string>
 84        </property>
 85       </widget>
 86      </item>
 87      <item row="2" column="1">
 88       <widget class="QCheckBox" name="hwAutodetect">
 89        <property name="text">
 90         <string>Autodetect</string>
 91        </property>
 92        <property name="checked">
 93         <bool>true</bool>
 94        </property>
 95       </widget>
 96      </item>
 97      <item row="3" column="1">
 98       <widget class="QCheckBox" name="hwRTC">
 99        <property name="enabled">
100         <bool>false</bool>
101        </property>
102        <property name="text">
103         <string>Realtime Clock</string>
104        </property>
105       </widget>
106      </item>
107      <item row="4" column="1">
108       <widget class="QCheckBox" name="hwGyro">
109        <property name="enabled">
110         <bool>false</bool>
111        </property>
112        <property name="text">
113         <string>Gyroscope</string>
114        </property>
115       </widget>
116      </item>
117      <item row="5" column="1">
118       <widget class="QCheckBox" name="hwTilt">
119        <property name="enabled">
120         <bool>false</bool>
121        </property>
122        <property name="text">
123         <string>Tilt</string>
124        </property>
125       </widget>
126      </item>
127      <item row="6" column="1">
128       <widget class="QCheckBox" name="hwLight">
129        <property name="enabled">
130         <bool>false</bool>
131        </property>
132        <property name="text">
133         <string>Light sensor</string>
134        </property>
135       </widget>
136      </item>
137      <item row="7" column="1">
138       <widget class="QCheckBox" name="hwRumble">
139        <property name="enabled">
140         <bool>false</bool>
141        </property>
142        <property name="text">
143         <string>Rumble</string>
144        </property>
145       </widget>
146      </item>
147      <item row="8" column="0" colspan="2">
148       <layout class="QHBoxLayout" name="horizontalLayout_2">
149        <item>
150         <spacer name="horizontalSpacer_2">
151          <property name="orientation">
152           <enum>Qt::Horizontal</enum>
153          </property>
154          <property name="sizeHint" stdset="0">
155           <size>
156            <width>40</width>
157            <height>20</height>
158           </size>
159          </property>
160         </spacer>
161        </item>
162        <item>
163         <widget class="QPushButton" name="save">
164          <property name="enabled">
165           <bool>false</bool>
166          </property>
167          <property name="text">
168           <string>Save overrides</string>
169          </property>
170         </widget>
171        </item>
172        <item>
173         <spacer name="horizontalSpacer">
174          <property name="orientation">
175           <enum>Qt::Horizontal</enum>
176          </property>
177          <property name="sizeHint" stdset="0">
178           <size>
179            <width>40</width>
180            <height>20</height>
181           </size>
182          </property>
183         </spacer>
184        </item>
185       </layout>
186      </item>
187     </layout>
188    </widget>
189   </item>
190   <item>
191    <widget class="QTabWidget" name="tabWidget">
192     <property name="currentIndex">
193      <number>0</number>
194     </property>
195     <widget class="QWidget" name="tab_3">
196      <attribute name="title">
197       <string>RTC</string>
198      </attribute>
199      <layout class="QGridLayout" name="gridLayout_2">
200       <item row="2" column="0">
201        <widget class="QRadioButton" name="timeFakeEpoch">
202         <property name="text">
203          <string>Start time at</string>
204         </property>
205         <attribute name="buttonGroup">
206          <string notr="true">timeButtons</string>
207         </attribute>
208        </widget>
209       </item>
210       <item row="0" column="0">
211        <widget class="QRadioButton" name="timeNoOverride">
212         <property name="text">
213          <string>System time</string>
214         </property>
215         <property name="checked">
216          <bool>true</bool>
217         </property>
218         <attribute name="buttonGroup">
219          <string notr="true">timeButtons</string>
220         </attribute>
221        </widget>
222       </item>
223       <item row="1" column="0">
224        <widget class="QRadioButton" name="timeFixed">
225         <property name="text">
226          <string>Fixed time</string>
227         </property>
228         <attribute name="buttonGroup">
229          <string notr="true">timeButtons</string>
230         </attribute>
231        </widget>
232       </item>
233       <item row="3" column="0" colspan="2">
234        <widget class="QDateTimeEdit" name="time">
235         <property name="wrapping">
236          <bool>true</bool>
237         </property>
238         <property name="maximumDate">
239          <date>
240           <year>2099</year>
241           <month>12</month>
242           <day>31</day>
243          </date>
244         </property>
245         <property name="minimumDate">
246          <date>
247           <year>2000</year>
248           <month>1</month>
249           <day>1</day>
250          </date>
251         </property>
252         <property name="currentSection">
253          <enum>QDateTimeEdit::MonthSection</enum>
254         </property>
255         <property name="displayFormat">
256          <string>MM/dd/yy hh:mm:ss AP</string>
257         </property>
258         <property name="timeSpec">
259          <enum>Qt::UTC</enum>
260         </property>
261        </widget>
262       </item>
263       <item row="0" column="1" rowspan="3" alignment="Qt::AlignBottom">
264        <widget class="QPushButton" name="timeNow">
265         <property name="text">
266          <string>Now</string>
267         </property>
268        </widget>
269       </item>
270      </layout>
271     </widget>
272     <widget class="QWidget" name="tab_6">
273      <attribute name="title">
274       <string>Light</string>
275      </attribute>
276      <layout class="QGridLayout" name="gridLayout">
277       <item row="0" column="1">
278        <widget class="QSpinBox" name="lightSpin">
279         <property name="maximum">
280          <number>255</number>
281         </property>
282        </widget>
283       </item>
284       <item row="0" column="0">
285        <widget class="QLabel" name="label_3">
286         <property name="text">
287          <string>Brightness</string>
288         </property>
289        </widget>
290       </item>
291       <item row="1" column="0" colspan="2">
292        <widget class="QSlider" name="lightSlide">
293         <property name="maximum">
294          <number>255</number>
295         </property>
296         <property name="orientation">
297          <enum>Qt::Horizontal</enum>
298         </property>
299         <property name="tickPosition">
300          <enum>QSlider::TicksBelow</enum>
301         </property>
302         <property name="tickInterval">
303          <number>16</number>
304         </property>
305        </widget>
306       </item>
307      </layout>
308     </widget>
309    </widget>
310   </item>
311  </layout>
312 </widget>
313 <resources/>
314 <connections/>
315 <buttongroups>
316  <buttongroup name="timeButtons"/>
317 </buttongroups>
318</ui>