all repos — mgba @ 1fa904878b07c938d849285c5b3c604e8f456ef5

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>565</width>
 10    <height>459</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="QGridLayout" name="gridLayout">
 23   <property name="sizeConstraint">
 24    <enum>QLayout::SetFixedSize</enum>
 25   </property>
 26   <item row="1" column="1">
 27    <widget class="QStackedWidget" name="stackedWidget">
 28     <widget class="QWidget" name="stackedWidgetPage1">
 29      <layout class="QFormLayout" name="formLayout">
 30       <property name="fieldGrowthPolicy">
 31        <enum>QFormLayout::FieldsStayAtSizeHint</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="2" column="1">
124        <layout class="QHBoxLayout" name="horizontalLayout_14">
125         <item>
126          <widget class="QComboBox" name="sampleRate">
127           <property name="editable">
128            <bool>true</bool>
129           </property>
130           <property name="currentText" stdset="0">
131            <string>44100</string>
132           </property>
133           <property name="currentIndex">
134            <number>2</number>
135           </property>
136           <item>
137            <property name="text">
138             <string>22050</string>
139            </property>
140           </item>
141           <item>
142            <property name="text">
143             <string>32000</string>
144            </property>
145           </item>
146           <item>
147            <property name="text">
148             <string>44100</string>
149            </property>
150           </item>
151           <item>
152            <property name="text">
153             <string>48000</string>
154            </property>
155           </item>
156          </widget>
157         </item>
158         <item>
159          <widget class="QLabel" name="label_20">
160           <property name="text">
161            <string>Hz</string>
162           </property>
163          </widget>
164         </item>
165        </layout>
166       </item>
167       <item row="3" column="0">
168        <widget class="QLabel" name="label_17">
169         <property name="text">
170          <string>Volume:</string>
171         </property>
172        </widget>
173       </item>
174       <item row="3" column="1">
175        <layout class="QHBoxLayout" name="horizontalLayout_6">
176         <item>
177          <widget class="QSlider" name="volume">
178           <property name="minimumSize">
179            <size>
180             <width>128</width>
181             <height>0</height>
182            </size>
183           </property>
184           <property name="maximum">
185            <number>256</number>
186           </property>
187           <property name="pageStep">
188            <number>16</number>
189           </property>
190           <property name="value">
191            <number>256</number>
192           </property>
193           <property name="orientation">
194            <enum>Qt::Horizontal</enum>
195           </property>
196          </widget>
197         </item>
198         <item>
199          <widget class="QCheckBox" name="mute">
200           <property name="text">
201            <string>Mute</string>
202           </property>
203          </widget>
204         </item>
205        </layout>
206       </item>
207       <item row="4" column="0" colspan="2">
208        <widget class="Line" name="line_4">
209         <property name="orientation">
210          <enum>Qt::Horizontal</enum>
211         </property>
212        </widget>
213       </item>
214       <item row="5" column="0">
215        <widget class="QLabel" name="label_10">
216         <property name="text">
217          <string>Display driver:</string>
218         </property>
219        </widget>
220       </item>
221       <item row="5" column="1">
222        <widget class="QComboBox" name="displayDriver">
223         <property name="sizePolicy">
224          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
225           <horstretch>0</horstretch>
226           <verstretch>0</verstretch>
227          </sizepolicy>
228         </property>
229        </widget>
230       </item>
231       <item row="6" column="0">
232        <widget class="QLabel" name="label_9">
233         <property name="text">
234          <string>Frameskip:</string>
235         </property>
236        </widget>
237       </item>
238       <item row="6" column="1">
239        <layout class="QHBoxLayout" name="horizontalLayout_16">
240         <item>
241          <widget class="QLabel" name="label_12">
242           <property name="text">
243            <string>Skip every</string>
244           </property>
245          </widget>
246         </item>
247         <item>
248          <widget class="QSpinBox" name="frameskip"/>
249         </item>
250         <item>
251          <widget class="QLabel" name="label_13">
252           <property name="text">
253            <string>frames</string>
254           </property>
255          </widget>
256         </item>
257        </layout>
258       </item>
259       <item row="7" column="0">
260        <widget class="QLabel" name="label_3">
261         <property name="text">
262          <string>FPS target:</string>
263         </property>
264        </widget>
265       </item>
266       <item row="7" column="1">
267        <layout class="QHBoxLayout" name="horizontalLayout_2">
268         <item>
269          <widget class="QDoubleSpinBox" name="fpsTarget">
270           <property name="minimum">
271            <double>0.010000000000000</double>
272           </property>
273           <property name="maximum">
274            <double>240.000000000000000</double>
275           </property>
276           <property name="value">
277            <double>60.000000000000000</double>
278           </property>
279          </widget>
280         </item>
281         <item>
282          <widget class="QLabel" name="label_11">
283           <property name="text">
284            <string>frames per second</string>
285           </property>
286          </widget>
287         </item>
288        </layout>
289       </item>
290       <item row="8" column="0" colspan="2">
291        <widget class="Line" name="line_5">
292         <property name="orientation">
293          <enum>Qt::Horizontal</enum>
294         </property>
295        </widget>
296       </item>
297       <item row="9" column="0">
298        <widget class="QLabel" name="label_2">
299         <property name="text">
300          <string>Sync:</string>
301         </property>
302        </widget>
303       </item>
304       <item row="9" column="1">
305        <layout class="QHBoxLayout" name="horizontalLayout_10">
306         <item>
307          <widget class="QCheckBox" name="videoSync">
308           <property name="text">
309            <string>Video</string>
310           </property>
311          </widget>
312         </item>
313         <item>
314          <widget class="QCheckBox" name="audioSync">
315           <property name="text">
316            <string>Audio</string>
317           </property>
318          </widget>
319         </item>
320        </layout>
321       </item>
322       <item row="10" column="1">
323        <widget class="QCheckBox" name="lockAspectRatio">
324         <property name="text">
325          <string>Lock aspect ratio</string>
326         </property>
327        </widget>
328       </item>
329       <item row="11" column="1">
330        <widget class="QCheckBox" name="resampleVideo">
331         <property name="text">
332          <string>Resample video</string>
333         </property>
334        </widget>
335       </item>
336      </layout>
337     </widget>
338     <widget class="QWidget" name="stackedWidgetPage2">
339      <layout class="QFormLayout" name="formLayout_2">
340       <property name="fieldGrowthPolicy">
341        <enum>QFormLayout::FieldsStayAtSizeHint</enum>
342       </property>
343       <item row="0" column="0">
344        <widget class="QLabel" name="label">
345         <property name="text">
346          <string>BIOS file:</string>
347         </property>
348        </widget>
349       </item>
350       <item row="0" column="1">
351        <layout class="QHBoxLayout" name="horizontalLayout">
352         <item>
353          <widget class="QLineEdit" name="bios">
354           <property name="sizePolicy">
355            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
356             <horstretch>0</horstretch>
357             <verstretch>0</verstretch>
358            </sizepolicy>
359           </property>
360          </widget>
361         </item>
362         <item>
363          <widget class="QPushButton" name="biosBrowse">
364           <property name="text">
365            <string>Browse</string>
366           </property>
367          </widget>
368         </item>
369        </layout>
370       </item>
371       <item row="1" column="1">
372        <widget class="QCheckBox" name="useBios">
373         <property name="text">
374          <string>Use BIOS file</string>
375         </property>
376         <property name="checked">
377          <bool>true</bool>
378         </property>
379        </widget>
380       </item>
381       <item row="4" column="0">
382        <widget class="QLabel" name="label_4">
383         <property name="text">
384          <string>Create rewind state:</string>
385         </property>
386        </widget>
387       </item>
388       <item row="4" column="1">
389        <widget class="QCheckBox" name="rewind">
390         <property name="text">
391          <string>Enable rewind</string>
392         </property>
393        </widget>
394       </item>
395       <item row="5" column="1">
396        <layout class="QHBoxLayout" name="horizontalLayout_12">
397         <item>
398          <widget class="QLabel" name="label_5">
399           <property name="text">
400            <string>Every</string>
401           </property>
402          </widget>
403         </item>
404         <item>
405          <widget class="QSpinBox" name="rewindInterval"/>
406         </item>
407         <item>
408          <widget class="QLabel" name="label_6">
409           <property name="text">
410            <string>frames</string>
411           </property>
412          </widget>
413         </item>
414        </layout>
415       </item>
416       <item row="6" column="0">
417        <widget class="QLabel" name="label_8">
418         <property name="text">
419          <string>Rewind history:</string>
420         </property>
421        </widget>
422       </item>
423       <item row="6" column="1">
424        <layout class="QHBoxLayout" name="horizontalLayout_13">
425         <item>
426          <widget class="QSpinBox" name="rewindCapacity"/>
427         </item>
428         <item>
429          <widget class="QLabel" name="label_7">
430           <property name="text">
431            <string>states</string>
432           </property>
433          </widget>
434         </item>
435        </layout>
436       </item>
437       <item row="8" column="0">
438        <widget class="QLabel" name="label_18">
439         <property name="text">
440          <string>Fast forward speed</string>
441         </property>
442        </widget>
443       </item>
444       <item row="8" column="1">
445        <widget class="QDoubleSpinBox" name="fastForwardRatio">
446         <property name="enabled">
447          <bool>false</bool>
448         </property>
449         <property name="suffix">
450          <string>×</string>
451         </property>
452         <property name="minimum">
453          <double>0.010000000000000</double>
454         </property>
455         <property name="maximum">
456          <double>20.000000000000000</double>
457         </property>
458         <property name="singleStep">
459          <double>0.500000000000000</double>
460         </property>
461         <property name="value">
462          <double>5.000000000000000</double>
463         </property>
464        </widget>
465       </item>
466       <item row="9" column="1">
467        <widget class="QCheckBox" name="fastForwardUnbounded">
468         <property name="text">
469          <string>Unbounded</string>
470         </property>
471         <property name="checked">
472          <bool>true</bool>
473         </property>
474        </widget>
475       </item>
476       <item row="11" column="1">
477        <widget class="QCheckBox" name="allowOpposingDirections">
478         <property name="text">
479          <string>Allow opposing input directions</string>
480         </property>
481        </widget>
482       </item>
483       <item row="12" column="1">
484        <widget class="QCheckBox" name="suspendScreensaver">
485         <property name="text">
486          <string>Suspend screensaver</string>
487         </property>
488         <property name="checked">
489          <bool>true</bool>
490         </property>
491        </widget>
492       </item>
493       <item row="14" column="0">
494        <widget class="QLabel" name="label_15">
495         <property name="text">
496          <string>Idle loops</string>
497         </property>
498        </widget>
499       </item>
500       <item row="14" column="1">
501        <widget class="QComboBox" name="idleOptimization">
502         <item>
503          <property name="text">
504           <string>Run all</string>
505          </property>
506         </item>
507         <item>
508          <property name="text">
509           <string>Remove known</string>
510          </property>
511         </item>
512         <item>
513          <property name="text">
514           <string>Detect and remove</string>
515          </property>
516         </item>
517        </widget>
518       </item>
519       <item row="2" column="1">
520        <widget class="QCheckBox" name="skipBios">
521         <property name="text">
522          <string>Skip BIOS intro</string>
523         </property>
524        </widget>
525       </item>
526       <item row="3" column="0" colspan="2">
527        <widget class="Line" name="line">
528         <property name="orientation">
529          <enum>Qt::Horizontal</enum>
530         </property>
531        </widget>
532       </item>
533       <item row="7" column="0" colspan="2">
534        <widget class="Line" name="line_2">
535         <property name="orientation">
536          <enum>Qt::Horizontal</enum>
537         </property>
538        </widget>
539       </item>
540       <item row="10" column="0" colspan="2">
541        <widget class="Line" name="line_3">
542         <property name="orientation">
543          <enum>Qt::Horizontal</enum>
544         </property>
545        </widget>
546       </item>
547       <item row="13" column="1">
548        <widget class="QCheckBox" name="pauseOnFocusLost">
549         <property name="text">
550          <string>Pause when inactive</string>
551         </property>
552        </widget>
553       </item>
554      </layout>
555     </widget>
556    </widget>
557   </item>
558   <item row="1" column="0">
559    <widget class="QListWidget" name="tabs">
560     <property name="sizePolicy">
561      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
562       <horstretch>0</horstretch>
563       <verstretch>0</verstretch>
564      </sizepolicy>
565     </property>
566     <property name="maximumSize">
567      <size>
568       <width>100</width>
569       <height>16777215</height>
570      </size>
571     </property>
572     <item>
573      <property name="text">
574       <string>Audio/Video</string>
575      </property>
576     </item>
577     <item>
578      <property name="text">
579       <string>Running</string>
580      </property>
581     </item>
582    </widget>
583   </item>
584   <item row="2" column="0" colspan="2">
585    <widget class="QDialogButtonBox" name="buttonBox">
586     <property name="standardButtons">
587      <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
588     </property>
589    </widget>
590   </item>
591  </layout>
592 </widget>
593 <resources/>
594 <connections>
595  <connection>
596   <sender>buttonBox</sender>
597   <signal>accepted()</signal>
598   <receiver>SettingsView</receiver>
599   <slot>close()</slot>
600   <hints>
601    <hint type="sourcelabel">
602     <x>169</x>
603     <y>453</y>
604    </hint>
605    <hint type="destinationlabel">
606     <x>169</x>
607     <y>236</y>
608    </hint>
609   </hints>
610  </connection>
611  <connection>
612   <sender>buttonBox</sender>
613   <signal>rejected()</signal>
614   <receiver>SettingsView</receiver>
615   <slot>close()</slot>
616   <hints>
617    <hint type="sourcelabel">
618     <x>169</x>
619     <y>453</y>
620    </hint>
621    <hint type="destinationlabel">
622     <x>169</x>
623     <y>236</y>
624    </hint>
625   </hints>
626  </connection>
627  <connection>
628   <sender>tabs</sender>
629   <signal>currentRowChanged(int)</signal>
630   <receiver>stackedWidget</receiver>
631   <slot>setCurrentIndex(int)</slot>
632   <hints>
633    <hint type="sourcelabel">
634     <x>61</x>
635     <y>209</y>
636    </hint>
637    <hint type="destinationlabel">
638     <x>315</x>
639     <y>209</y>
640    </hint>
641   </hints>
642  </connection>
643 </connections>
644</ui>