all repos — mgba @ e17e4fd19003209ff9db1f0ac1394e463c7b4a47

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>707</width>
 10    <height>420</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   <property name="sizeConstraint">
 24    <enum>QLayout::SetFixedSize</enum>
 25   </property>
 26   <item>
 27    <layout class="QHBoxLayout" name="horizontalLayout_3">
 28     <item>
 29      <layout class="QFormLayout" name="formLayout">
 30       <property name="fieldGrowthPolicy">
 31        <enum>QFormLayout::ExpandingFieldsGrow</enum>
 32       </property>
 33       <item row="0" column="0">
 34        <widget class="QLabel" name="label_14">
 35         <property name="text">
 36          <string>Audio driver:</string>
 37         </property>
 38        </widget>
 39       </item>
 40       <item row="0" column="1">
 41        <widget class="QComboBox" name="audioDriver">
 42         <property name="sizePolicy">
 43          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 44           <horstretch>0</horstretch>
 45           <verstretch>0</verstretch>
 46          </sizepolicy>
 47         </property>
 48        </widget>
 49       </item>
 50       <item row="1" column="0">
 51        <widget class="QLabel" name="audioBufferSizeLabel">
 52         <property name="text">
 53          <string>Audio buffer:</string>
 54         </property>
 55        </widget>
 56       </item>
 57       <item row="1" column="1">
 58        <layout class="QHBoxLayout" name="horizontalLayout_11">
 59         <item>
 60          <widget class="QComboBox" name="audioBufferSize">
 61           <property name="editable">
 62            <bool>true</bool>
 63           </property>
 64           <property name="currentText">
 65            <string>1536</string>
 66           </property>
 67           <property name="currentIndex">
 68            <number>3</number>
 69           </property>
 70           <item>
 71            <property name="text">
 72             <string>512</string>
 73            </property>
 74           </item>
 75           <item>
 76            <property name="text">
 77             <string>768</string>
 78            </property>
 79           </item>
 80           <item>
 81            <property name="text">
 82             <string>1024</string>
 83            </property>
 84           </item>
 85           <item>
 86            <property name="text">
 87             <string>1536</string>
 88            </property>
 89           </item>
 90           <item>
 91            <property name="text">
 92             <string>2048</string>
 93            </property>
 94           </item>
 95           <item>
 96            <property name="text">
 97             <string>3072</string>
 98            </property>
 99           </item>
100           <item>
101            <property name="text">
102             <string>4096</string>
103            </property>
104           </item>
105          </widget>
106         </item>
107         <item>
108          <widget class="QLabel" name="label_16">
109           <property name="text">
110            <string>samples</string>
111           </property>
112          </widget>
113         </item>
114        </layout>
115       </item>
116       <item row="2" column="0">
117        <widget class="QLabel" name="label_19">
118         <property name="text">
119          <string>Sample rate:</string>
120         </property>
121        </widget>
122       </item>
123       <item row="3" column="0">
124        <widget class="QLabel" name="label_17">
125         <property name="text">
126          <string>Volume:</string>
127         </property>
128        </widget>
129       </item>
130       <item row="3" column="1">
131        <layout class="QHBoxLayout" name="horizontalLayout_6">
132         <item>
133          <widget class="QSlider" name="volume">
134           <property name="maximum">
135            <number>256</number>
136           </property>
137           <property name="pageStep">
138            <number>16</number>
139           </property>
140           <property name="value">
141            <number>256</number>
142           </property>
143           <property name="orientation">
144            <enum>Qt::Horizontal</enum>
145           </property>
146          </widget>
147         </item>
148         <item>
149          <widget class="QCheckBox" name="mute">
150           <property name="text">
151            <string>Mute</string>
152           </property>
153          </widget>
154         </item>
155        </layout>
156       </item>
157       <item row="4" column="0" colspan="2">
158        <widget class="Line" name="line">
159         <property name="orientation">
160          <enum>Qt::Horizontal</enum>
161         </property>
162        </widget>
163       </item>
164       <item row="5" column="0">
165        <widget class="QLabel" name="label_10">
166         <property name="text">
167          <string>Display driver:</string>
168         </property>
169        </widget>
170       </item>
171       <item row="5" column="1">
172        <widget class="QComboBox" name="displayDriver">
173         <property name="sizePolicy">
174          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
175           <horstretch>0</horstretch>
176           <verstretch>0</verstretch>
177          </sizepolicy>
178         </property>
179        </widget>
180       </item>
181       <item row="6" column="0">
182        <widget class="QLabel" name="label_9">
183         <property name="text">
184          <string>Frameskip:</string>
185         </property>
186        </widget>
187       </item>
188       <item row="6" column="1">
189        <layout class="QHBoxLayout" name="horizontalLayout_16">
190         <item>
191          <widget class="QLabel" name="label_12">
192           <property name="text">
193            <string>Skip every</string>
194           </property>
195          </widget>
196         </item>
197         <item>
198          <widget class="QSpinBox" name="frameskip"/>
199         </item>
200         <item>
201          <widget class="QLabel" name="label_13">
202           <property name="text">
203            <string>frames</string>
204           </property>
205          </widget>
206         </item>
207        </layout>
208       </item>
209       <item row="7" column="0">
210        <widget class="QLabel" name="label_3">
211         <property name="text">
212          <string>FPS target:</string>
213         </property>
214        </widget>
215       </item>
216       <item row="7" column="1">
217        <layout class="QHBoxLayout" name="horizontalLayout_2">
218         <item>
219          <widget class="QDoubleSpinBox" name="fpsTarget">
220           <property name="minimum">
221            <double>0.010000000000000</double>
222           </property>
223           <property name="maximum">
224            <double>240.000000000000000</double>
225           </property>
226           <property name="value">
227            <double>60.000000000000000</double>
228           </property>
229          </widget>
230         </item>
231         <item>
232          <widget class="QLabel" name="label_11">
233           <property name="text">
234            <string>frames per second</string>
235           </property>
236          </widget>
237         </item>
238        </layout>
239       </item>
240       <item row="8" column="0" colspan="2">
241        <widget class="Line" name="line_4">
242         <property name="orientation">
243          <enum>Qt::Horizontal</enum>
244         </property>
245        </widget>
246       </item>
247       <item row="9" column="0">
248        <widget class="QLabel" name="label_2">
249         <property name="text">
250          <string>Sync:</string>
251         </property>
252        </widget>
253       </item>
254       <item row="9" column="1">
255        <layout class="QHBoxLayout" name="horizontalLayout_10">
256         <item>
257          <widget class="QCheckBox" name="videoSync">
258           <property name="text">
259            <string>Video</string>
260           </property>
261          </widget>
262         </item>
263         <item>
264          <widget class="QCheckBox" name="audioSync">
265           <property name="text">
266            <string>Audio</string>
267           </property>
268          </widget>
269         </item>
270        </layout>
271       </item>
272       <item row="10" column="1">
273        <widget class="QCheckBox" name="lockAspectRatio">
274         <property name="text">
275          <string>Lock aspect ratio</string>
276         </property>
277        </widget>
278       </item>
279       <item row="11" column="1">
280        <widget class="QCheckBox" name="resampleVideo">
281         <property name="text">
282          <string>Resample video</string>
283         </property>
284        </widget>
285       </item>
286       <item row="2" column="1">
287        <layout class="QHBoxLayout" name="horizontalLayout_14">
288         <item>
289          <widget class="QComboBox" name="sampleRate">
290           <property name="editable">
291            <bool>true</bool>
292           </property>
293           <property name="currentText">
294            <string>44100</string>
295           </property>
296           <property name="currentIndex">
297            <number>2</number>
298           </property>
299           <item>
300            <property name="text">
301             <string>22050</string>
302            </property>
303           </item>
304           <item>
305            <property name="text">
306             <string>32000</string>
307            </property>
308           </item>
309           <item>
310            <property name="text">
311             <string>44100</string>
312            </property>
313           </item>
314           <item>
315            <property name="text">
316             <string>48000</string>
317            </property>
318           </item>
319          </widget>
320         </item>
321         <item>
322          <widget class="QLabel" name="label_20">
323           <property name="text">
324            <string>Hz</string>
325           </property>
326          </widget>
327         </item>
328        </layout>
329       </item>
330      </layout>
331     </item>
332     <item>
333      <widget class="Line" name="line_5">
334       <property name="orientation">
335        <enum>Qt::Vertical</enum>
336       </property>
337      </widget>
338     </item>
339     <item>
340      <layout class="QFormLayout" name="formLayout_4">
341       <item row="0" column="0">
342        <widget class="QLabel" name="label">
343         <property name="text">
344          <string>BIOS file:</string>
345         </property>
346        </widget>
347       </item>
348       <item row="0" column="1">
349        <layout class="QHBoxLayout" name="horizontalLayout">
350         <item>
351          <widget class="QLineEdit" name="bios">
352           <property name="sizePolicy">
353            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
354             <horstretch>0</horstretch>
355             <verstretch>0</verstretch>
356            </sizepolicy>
357           </property>
358          </widget>
359         </item>
360         <item>
361          <widget class="QPushButton" name="biosBrowse">
362           <property name="text">
363            <string>Browse</string>
364           </property>
365          </widget>
366         </item>
367        </layout>
368       </item>
369       <item row="1" column="1">
370        <widget class="QCheckBox" name="skipBios">
371         <property name="text">
372          <string>Skip BIOS intro</string>
373         </property>
374        </widget>
375       </item>
376       <item row="2" column="1">
377        <widget class="QCheckBox" name="useBios">
378         <property name="text">
379          <string>Use BIOS file</string>
380         </property>
381         <property name="checked">
382          <bool>true</bool>
383         </property>
384        </widget>
385       </item>
386       <item row="3" column="0" colspan="2">
387        <widget class="Line" name="line_3">
388         <property name="orientation">
389          <enum>Qt::Horizontal</enum>
390         </property>
391        </widget>
392       </item>
393       <item row="4" column="1">
394        <widget class="QCheckBox" name="rewind">
395         <property name="text">
396          <string>Enable rewind</string>
397         </property>
398        </widget>
399       </item>
400       <item row="5" column="0">
401        <widget class="QLabel" name="label_4">
402         <property name="text">
403          <string>Create rewind state:</string>
404         </property>
405        </widget>
406       </item>
407       <item row="5" column="1">
408        <layout class="QHBoxLayout" name="horizontalLayout_12">
409         <item>
410          <widget class="QLabel" name="label_5">
411           <property name="text">
412            <string>Every</string>
413           </property>
414          </widget>
415         </item>
416         <item>
417          <widget class="QSpinBox" name="rewindInterval"/>
418         </item>
419         <item>
420          <widget class="QLabel" name="label_6">
421           <property name="text">
422            <string>frames</string>
423           </property>
424          </widget>
425         </item>
426        </layout>
427       </item>
428       <item row="6" column="0">
429        <widget class="QLabel" name="label_8">
430         <property name="text">
431          <string>Rewind history:</string>
432         </property>
433        </widget>
434       </item>
435       <item row="6" column="1">
436        <layout class="QHBoxLayout" name="horizontalLayout_13">
437         <item>
438          <widget class="QSpinBox" name="rewindCapacity"/>
439         </item>
440         <item>
441          <widget class="QLabel" name="label_7">
442           <property name="text">
443            <string>states</string>
444           </property>
445          </widget>
446         </item>
447        </layout>
448       </item>
449       <item row="10" column="0" colspan="2">
450        <widget class="Line" name="line_2">
451         <property name="orientation">
452          <enum>Qt::Horizontal</enum>
453         </property>
454        </widget>
455       </item>
456       <item row="11" column="1">
457        <widget class="QCheckBox" name="allowOpposingDirections">
458         <property name="text">
459          <string>Allow opposing input directions</string>
460         </property>
461        </widget>
462       </item>
463       <item row="12" column="1">
464        <widget class="QCheckBox" name="suspendScreensaver">
465         <property name="text">
466          <string>Suspend screensaver</string>
467         </property>
468         <property name="checked">
469          <bool>true</bool>
470         </property>
471        </widget>
472       </item>
473       <item row="13" column="0">
474        <widget class="QLabel" name="label_15">
475         <property name="text">
476          <string>Idle loops</string>
477         </property>
478        </widget>
479       </item>
480       <item row="13" column="1">
481        <widget class="QComboBox" name="idleOptimization">
482         <item>
483          <property name="text">
484           <string>Run all</string>
485          </property>
486         </item>
487         <item>
488          <property name="text">
489           <string>Remove known</string>
490          </property>
491         </item>
492         <item>
493          <property name="text">
494           <string>Detect and remove</string>
495          </property>
496         </item>
497        </widget>
498       </item>
499       <item row="8" column="1">
500        <widget class="QDoubleSpinBox" name="fastForwardRatio">
501         <property name="enabled">
502          <bool>false</bool>
503         </property>
504         <property name="suffix">
505          <string>×</string>
506         </property>
507         <property name="minimum">
508          <double>0.010000000000000</double>
509         </property>
510         <property name="maximum">
511          <double>20.000000000000000</double>
512         </property>
513         <property name="singleStep">
514          <double>0.500000000000000</double>
515         </property>
516         <property name="value">
517          <double>5.000000000000000</double>
518         </property>
519        </widget>
520       </item>
521       <item row="8" column="0">
522        <widget class="QLabel" name="label_18">
523         <property name="text">
524          <string>Fast forward speed</string>
525         </property>
526        </widget>
527       </item>
528       <item row="9" column="1">
529        <widget class="QCheckBox" name="fastForwardUnbounded">
530         <property name="text">
531          <string>Unbounded</string>
532         </property>
533         <property name="checked">
534          <bool>true</bool>
535         </property>
536        </widget>
537       </item>
538       <item row="7" column="0" colspan="2">
539        <widget class="Line" name="line_6">
540         <property name="orientation">
541          <enum>Qt::Horizontal</enum>
542         </property>
543        </widget>
544       </item>
545      </layout>
546     </item>
547    </layout>
548   </item>
549   <item>
550    <widget class="QDialogButtonBox" name="buttonBox">
551     <property name="standardButtons">
552      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
553     </property>
554    </widget>
555   </item>
556  </layout>
557 </widget>
558 <resources/>
559 <connections>
560  <connection>
561   <sender>buttonBox</sender>
562   <signal>accepted()</signal>
563   <receiver>SettingsView</receiver>
564   <slot>close()</slot>
565   <hints>
566    <hint type="sourcelabel">
567     <x>169</x>
568     <y>453</y>
569    </hint>
570    <hint type="destinationlabel">
571     <x>169</x>
572     <y>236</y>
573    </hint>
574   </hints>
575  </connection>
576  <connection>
577   <sender>buttonBox</sender>
578   <signal>rejected()</signal>
579   <receiver>SettingsView</receiver>
580   <slot>close()</slot>
581   <hints>
582    <hint type="sourcelabel">
583     <x>169</x>
584     <y>453</y>
585    </hint>
586    <hint type="destinationlabel">
587     <x>169</x>
588     <y>236</y>
589    </hint>
590   </hints>
591  </connection>
592 </connections>
593</ui>