all repos — mgba @ f5bc61b852a9a02355f0866f7f67266aaaf1a9c1

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" stdset="0">
 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" stdset="0">
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="2" 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="4" column="0" colspan="2">
377        <widget class="Line" name="line_3">
378         <property name="orientation">
379          <enum>Qt::Horizontal</enum>
380         </property>
381        </widget>
382       </item>
383       <item row="5" column="1">
384        <widget class="QCheckBox" name="rewind">
385         <property name="text">
386          <string>Enable rewind</string>
387         </property>
388        </widget>
389       </item>
390       <item row="6" column="0">
391        <widget class="QLabel" name="label_4">
392         <property name="text">
393          <string>Create rewind state:</string>
394         </property>
395        </widget>
396       </item>
397       <item row="6" column="1">
398        <layout class="QHBoxLayout" name="horizontalLayout_12">
399         <item>
400          <widget class="QLabel" name="label_5">
401           <property name="text">
402            <string>Every</string>
403           </property>
404          </widget>
405         </item>
406         <item>
407          <widget class="QSpinBox" name="rewindInterval"/>
408         </item>
409         <item>
410          <widget class="QLabel" name="label_6">
411           <property name="text">
412            <string>frames</string>
413           </property>
414          </widget>
415         </item>
416        </layout>
417       </item>
418       <item row="7" column="0">
419        <widget class="QLabel" name="label_8">
420         <property name="text">
421          <string>Rewind history:</string>
422         </property>
423        </widget>
424       </item>
425       <item row="7" column="1">
426        <layout class="QHBoxLayout" name="horizontalLayout_13">
427         <item>
428          <widget class="QSpinBox" name="rewindCapacity"/>
429         </item>
430         <item>
431          <widget class="QLabel" name="label_7">
432           <property name="text">
433            <string>states</string>
434           </property>
435          </widget>
436         </item>
437        </layout>
438       </item>
439       <item row="11" column="0" colspan="2">
440        <widget class="Line" name="line_2">
441         <property name="orientation">
442          <enum>Qt::Horizontal</enum>
443         </property>
444        </widget>
445       </item>
446       <item row="12" column="1">
447        <widget class="QCheckBox" name="allowOpposingDirections">
448         <property name="text">
449          <string>Allow opposing input directions</string>
450         </property>
451        </widget>
452       </item>
453       <item row="13" column="1">
454        <widget class="QCheckBox" name="suspendScreensaver">
455         <property name="text">
456          <string>Suspend screensaver</string>
457         </property>
458         <property name="checked">
459          <bool>true</bool>
460         </property>
461        </widget>
462       </item>
463       <item row="14" column="0">
464        <widget class="QLabel" name="label_15">
465         <property name="text">
466          <string>Idle loops</string>
467         </property>
468        </widget>
469       </item>
470       <item row="14" column="1">
471        <widget class="QComboBox" name="idleOptimization">
472         <item>
473          <property name="text">
474           <string>Run all</string>
475          </property>
476         </item>
477         <item>
478          <property name="text">
479           <string>Remove known</string>
480          </property>
481         </item>
482         <item>
483          <property name="text">
484           <string>Detect and remove</string>
485          </property>
486         </item>
487        </widget>
488       </item>
489       <item row="9" column="1">
490        <widget class="QDoubleSpinBox" name="fastForwardRatio">
491         <property name="enabled">
492          <bool>false</bool>
493         </property>
494         <property name="suffix">
495          <string>×</string>
496         </property>
497         <property name="minimum">
498          <double>0.010000000000000</double>
499         </property>
500         <property name="maximum">
501          <double>20.000000000000000</double>
502         </property>
503         <property name="singleStep">
504          <double>0.500000000000000</double>
505         </property>
506         <property name="value">
507          <double>5.000000000000000</double>
508         </property>
509        </widget>
510       </item>
511       <item row="9" column="0">
512        <widget class="QLabel" name="label_18">
513         <property name="text">
514          <string>Fast forward speed</string>
515         </property>
516        </widget>
517       </item>
518       <item row="10" column="1">
519        <widget class="QCheckBox" name="fastForwardUnbounded">
520         <property name="text">
521          <string>Unbounded</string>
522         </property>
523         <property name="checked">
524          <bool>true</bool>
525         </property>
526        </widget>
527       </item>
528       <item row="8" column="0" colspan="2">
529        <widget class="Line" name="line_6">
530         <property name="orientation">
531          <enum>Qt::Horizontal</enum>
532         </property>
533        </widget>
534       </item>
535       <item row="1" column="1">
536        <widget class="QCheckBox" name="useBios">
537         <property name="text">
538          <string>Use BIOS file</string>
539         </property>
540         <property name="checked">
541          <bool>true</bool>
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::Apply|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  <connection>
593   <sender>useBios</sender>
594   <signal>toggled(bool)</signal>
595   <receiver>skipBios</receiver>
596   <slot>setEnabled(bool)</slot>
597   <hints>
598    <hint type="sourcelabel">
599     <x>520</x>
600     <y>62</y>
601    </hint>
602    <hint type="destinationlabel">
603     <x>525</x>
604     <y>83</y>
605    </hint>
606   </hints>
607  </connection>
608 </connections>
609</ui>