all repos — mgba @ 8266f54d7674ec7fdbe263efea163481c8b33571

mGBA Game Boy Advance Emulator

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

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>SettingsView</class>
  4 <widget class="QWidget" name="SettingsView">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>374</width>
 10    <height>608</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>Settings</string>
 21  </property>
 22  <layout class="QVBoxLayout" name="verticalLayout">
 23   <item>
 24    <layout class="QFormLayout" name="formLayout">
 25     <property name="fieldGrowthPolicy">
 26      <enum>QFormLayout::ExpandingFieldsGrow</enum>
 27     </property>
 28     <item row="0" column="0">
 29      <widget class="QLabel" name="label">
 30       <property name="text">
 31        <string>BIOS file:</string>
 32       </property>
 33      </widget>
 34     </item>
 35     <item row="0" column="1">
 36      <layout class="QHBoxLayout" name="horizontalLayout">
 37       <item>
 38        <widget class="QLineEdit" name="bios">
 39         <property name="sizePolicy">
 40          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 41           <horstretch>0</horstretch>
 42           <verstretch>0</verstretch>
 43          </sizepolicy>
 44         </property>
 45        </widget>
 46       </item>
 47       <item>
 48        <widget class="QPushButton" name="biosBrowse">
 49         <property name="text">
 50          <string>Browse</string>
 51         </property>
 52        </widget>
 53       </item>
 54      </layout>
 55     </item>
 56     <item row="1" column="1">
 57      <widget class="QCheckBox" name="skipBios">
 58       <property name="text">
 59        <string>Skip BIOS intro</string>
 60       </property>
 61      </widget>
 62     </item>
 63     <item row="2" column="1">
 64      <widget class="QCheckBox" name="useBios">
 65       <property name="text">
 66        <string>Use BIOS file</string>
 67       </property>
 68       <property name="checked">
 69        <bool>true</bool>
 70       </property>
 71      </widget>
 72     </item>
 73     <item row="3" column="0" colspan="2">
 74      <widget class="Line" name="line_2">
 75       <property name="orientation">
 76        <enum>Qt::Horizontal</enum>
 77       </property>
 78      </widget>
 79     </item>
 80     <item row="4" column="0">
 81      <widget class="QLabel" name="label_14">
 82       <property name="text">
 83        <string>Audio driver:</string>
 84       </property>
 85      </widget>
 86     </item>
 87     <item row="4" column="1">
 88      <widget class="QComboBox" name="audioDriver">
 89       <property name="sizePolicy">
 90        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 91         <horstretch>0</horstretch>
 92         <verstretch>0</verstretch>
 93        </sizepolicy>
 94       </property>
 95      </widget>
 96     </item>
 97     <item row="5" column="0">
 98      <widget class="QLabel" name="audioBufferSizeLabel">
 99       <property name="text">
100        <string>Audio buffer:</string>
101       </property>
102      </widget>
103     </item>
104     <item row="5" column="1">
105      <layout class="QHBoxLayout" name="horizontalLayout_9">
106       <item>
107        <widget class="QComboBox" name="audioBufferSize">
108         <property name="editable">
109          <bool>true</bool>
110         </property>
111         <property name="currentText">
112          <string>2048</string>
113         </property>
114         <property name="currentIndex">
115          <number>2</number>
116         </property>
117         <item>
118          <property name="text">
119           <string>512</string>
120          </property>
121         </item>
122         <item>
123          <property name="text">
124           <string>1024</string>
125          </property>
126         </item>
127         <item>
128          <property name="text">
129           <string>2048</string>
130          </property>
131         </item>
132         <item>
133          <property name="text">
134           <string>4096</string>
135          </property>
136         </item>
137        </widget>
138       </item>
139       <item>
140        <widget class="QLabel" name="label_10">
141         <property name="text">
142          <string>samples</string>
143         </property>
144        </widget>
145       </item>
146      </layout>
147     </item>
148     <item row="6" column="0">
149      <widget class="QLabel" name="label_16">
150       <property name="text">
151        <string>Volume:</string>
152       </property>
153      </widget>
154     </item>
155     <item row="6" column="1">
156      <layout class="QHBoxLayout" name="horizontalLayout_5">
157       <item>
158        <widget class="QSlider" name="volume">
159         <property name="maximum">
160          <number>256</number>
161         </property>
162         <property name="pageStep">
163          <number>16</number>
164         </property>
165         <property name="value">
166          <number>256</number>
167         </property>
168         <property name="orientation">
169          <enum>Qt::Horizontal</enum>
170         </property>
171        </widget>
172       </item>
173       <item>
174        <widget class="QCheckBox" name="mute">
175         <property name="text">
176          <string>Mute</string>
177         </property>
178        </widget>
179       </item>
180      </layout>
181     </item>
182     <item row="7" column="0" colspan="2">
183      <widget class="Line" name="line">
184       <property name="orientation">
185        <enum>Qt::Horizontal</enum>
186       </property>
187      </widget>
188     </item>
189     <item row="8" column="0">
190      <widget class="QLabel" name="label_2">
191       <property name="text">
192        <string>Sync:</string>
193       </property>
194      </widget>
195     </item>
196     <item row="8" column="1">
197      <layout class="QHBoxLayout" name="horizontalLayout_10">
198       <item>
199        <widget class="QCheckBox" name="videoSync">
200         <property name="text">
201          <string>Video</string>
202         </property>
203        </widget>
204       </item>
205       <item>
206        <widget class="QCheckBox" name="audioSync">
207         <property name="text">
208          <string>Audio</string>
209         </property>
210        </widget>
211       </item>
212      </layout>
213     </item>
214     <item row="9" column="0">
215      <widget class="QLabel" name="label_9">
216       <property name="text">
217        <string>Frameskip:</string>
218       </property>
219      </widget>
220     </item>
221     <item row="9" column="1">
222      <layout class="QHBoxLayout" name="horizontalLayout_16">
223       <item>
224        <widget class="QLabel" name="label_12">
225         <property name="text">
226          <string>Skip every</string>
227         </property>
228        </widget>
229       </item>
230       <item>
231        <widget class="QSpinBox" name="frameskip"/>
232       </item>
233       <item>
234        <widget class="QLabel" name="label_13">
235         <property name="text">
236          <string>frames</string>
237         </property>
238        </widget>
239       </item>
240      </layout>
241     </item>
242     <item row="10" column="0">
243      <widget class="QLabel" name="label_3">
244       <property name="text">
245        <string>FPS target:</string>
246       </property>
247      </widget>
248     </item>
249     <item row="10" column="1">
250      <layout class="QHBoxLayout" name="horizontalLayout_2">
251       <item>
252        <widget class="QSpinBox" name="fpsTarget">
253         <property name="maximum">
254          <number>240</number>
255         </property>
256         <property name="value">
257          <number>60</number>
258         </property>
259        </widget>
260       </item>
261       <item>
262        <widget class="QLabel" name="label_11">
263         <property name="text">
264          <string>frames per second</string>
265         </property>
266        </widget>
267       </item>
268      </layout>
269     </item>
270     <item row="11" column="1">
271      <widget class="QCheckBox" name="lockAspectRatio">
272       <property name="text">
273        <string>Lock aspect ratio</string>
274       </property>
275      </widget>
276     </item>
277     <item row="12" column="1">
278      <widget class="QCheckBox" name="resampleVideo">
279       <property name="text">
280        <string>Resample video</string>
281       </property>
282      </widget>
283     </item>
284     <item row="13" column="0" colspan="2">
285      <widget class="Line" name="line_3">
286       <property name="orientation">
287        <enum>Qt::Horizontal</enum>
288       </property>
289      </widget>
290     </item>
291     <item row="14" column="1">
292      <widget class="QCheckBox" name="rewind">
293       <property name="text">
294        <string>Enable rewind</string>
295       </property>
296      </widget>
297     </item>
298     <item row="15" column="0">
299      <widget class="QLabel" name="label_4">
300       <property name="text">
301        <string>Rewind interval:</string>
302       </property>
303      </widget>
304     </item>
305     <item row="15" column="1">
306      <layout class="QHBoxLayout" name="horizontalLayout_12">
307       <item>
308        <widget class="QLabel" name="label_5">
309         <property name="text">
310          <string>Every</string>
311         </property>
312        </widget>
313       </item>
314       <item>
315        <widget class="QSpinBox" name="rewindInterval"/>
316       </item>
317       <item>
318        <widget class="QLabel" name="label_6">
319         <property name="text">
320          <string>frames</string>
321         </property>
322        </widget>
323       </item>
324      </layout>
325     </item>
326     <item row="16" column="0">
327      <widget class="QLabel" name="label_8">
328       <property name="text">
329        <string>Rewind length:</string>
330       </property>
331      </widget>
332     </item>
333     <item row="16" column="1">
334      <layout class="QHBoxLayout" name="horizontalLayout_13">
335       <item>
336        <widget class="QSpinBox" name="rewindCapacity"/>
337       </item>
338       <item>
339        <widget class="QLabel" name="label_7">
340         <property name="text">
341          <string>intervals</string>
342         </property>
343        </widget>
344       </item>
345      </layout>
346     </item>
347     <item row="17" column="1">
348      <widget class="QCheckBox" name="allowOpposingDirections">
349       <property name="text">
350        <string>Allow opposing input directions</string>
351       </property>
352      </widget>
353     </item>
354     <item row="18" column="0" colspan="2">
355      <widget class="Line" name="line_4">
356       <property name="orientation">
357        <enum>Qt::Horizontal</enum>
358       </property>
359      </widget>
360     </item>
361     <item row="19" column="0">
362      <widget class="QLabel" name="label_15">
363       <property name="text">
364        <string>Idle loops</string>
365       </property>
366      </widget>
367     </item>
368     <item row="19" column="1">
369      <widget class="QComboBox" name="idleOptimization">
370       <item>
371        <property name="text">
372         <string>Run all</string>
373        </property>
374       </item>
375       <item>
376        <property name="text">
377         <string>Remove known</string>
378        </property>
379       </item>
380       <item>
381        <property name="text">
382         <string>Detect and remove</string>
383        </property>
384       </item>
385      </widget>
386     </item>
387    </layout>
388   </item>
389   <item>
390    <widget class="QDialogButtonBox" name="buttonBox">
391     <property name="standardButtons">
392      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
393     </property>
394    </widget>
395   </item>
396  </layout>
397 </widget>
398 <resources/>
399 <connections>
400  <connection>
401   <sender>buttonBox</sender>
402   <signal>accepted()</signal>
403   <receiver>SettingsView</receiver>
404   <slot>close()</slot>
405   <hints>
406    <hint type="sourcelabel">
407     <x>169</x>
408     <y>453</y>
409    </hint>
410    <hint type="destinationlabel">
411     <x>169</x>
412     <y>236</y>
413    </hint>
414   </hints>
415  </connection>
416  <connection>
417   <sender>buttonBox</sender>
418   <signal>rejected()</signal>
419   <receiver>SettingsView</receiver>
420   <slot>close()</slot>
421   <hints>
422    <hint type="sourcelabel">
423     <x>169</x>
424     <y>453</y>
425    </hint>
426    <hint type="destinationlabel">
427     <x>169</x>
428     <y>236</y>
429    </hint>
430   </hints>
431  </connection>
432 </connections>
433</ui>