all repos — mgba @ 1b8fe1aa09563444903cd5609dde104222a80ec6

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