all repos — mgba @ 71e372bcf435cb8b9f0ec4212a617691d6b3f74b

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>673</width>
 10    <height>366</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_2">
144         <property name="text">
145          <string>Sync:</string>
146         </property>
147        </widget>
148       </item>
149       <item row="4" column="1">
150        <layout class="QHBoxLayout" name="horizontalLayout_10">
151         <item>
152          <widget class="QCheckBox" name="videoSync">
153           <property name="text">
154            <string>Video</string>
155           </property>
156          </widget>
157         </item>
158         <item>
159          <widget class="QCheckBox" name="audioSync">
160           <property name="text">
161            <string>Audio</string>
162           </property>
163          </widget>
164         </item>
165        </layout>
166       </item>
167       <item row="5" column="0">
168        <widget class="QLabel" name="label_9">
169         <property name="text">
170          <string>Frameskip:</string>
171         </property>
172        </widget>
173       </item>
174       <item row="5" column="1">
175        <layout class="QHBoxLayout" name="horizontalLayout_16">
176         <item>
177          <widget class="QLabel" name="label_12">
178           <property name="text">
179            <string>Skip every</string>
180           </property>
181          </widget>
182         </item>
183         <item>
184          <widget class="QSpinBox" name="frameskip"/>
185         </item>
186         <item>
187          <widget class="QLabel" name="label_13">
188           <property name="text">
189            <string>frames</string>
190           </property>
191          </widget>
192         </item>
193        </layout>
194       </item>
195       <item row="6" column="0">
196        <widget class="QLabel" name="label_3">
197         <property name="text">
198          <string>FPS target:</string>
199         </property>
200        </widget>
201       </item>
202       <item row="6" column="1">
203        <layout class="QHBoxLayout" name="horizontalLayout_2">
204         <item>
205          <widget class="QDoubleSpinBox" name="fpsTarget">
206           <property name="minimum">
207            <double>0.010000000000000</double>
208           </property>
209           <property name="maximum">
210            <double>240.000000000000000</double>
211           </property>
212           <property name="value">
213            <double>60.000000000000000</double>
214           </property>
215          </widget>
216         </item>
217         <item>
218          <widget class="QLabel" name="label_11">
219           <property name="text">
220            <string>frames per second</string>
221           </property>
222          </widget>
223         </item>
224        </layout>
225       </item>
226       <item row="7" column="0" colspan="2">
227        <widget class="Line" name="line_4">
228         <property name="orientation">
229          <enum>Qt::Horizontal</enum>
230         </property>
231        </widget>
232       </item>
233       <item row="8" column="1">
234        <widget class="QCheckBox" name="lockAspectRatio">
235         <property name="text">
236          <string>Lock aspect ratio</string>
237         </property>
238        </widget>
239       </item>
240       <item row="9" column="1">
241        <widget class="QCheckBox" name="resampleVideo">
242         <property name="text">
243          <string>Resample video</string>
244         </property>
245        </widget>
246       </item>
247       <item row="10" column="1">
248        <widget class="QCheckBox" name="suspendScreensaver">
249         <property name="text">
250          <string>Suspend screensaver</string>
251         </property>
252         <property name="checked">
253          <bool>true</bool>
254         </property>
255        </widget>
256       </item>
257      </layout>
258     </item>
259     <item>
260      <widget class="Line" name="line_5">
261       <property name="orientation">
262        <enum>Qt::Vertical</enum>
263       </property>
264      </widget>
265     </item>
266     <item>
267      <layout class="QFormLayout" name="formLayout_4">
268       <item row="0" column="0">
269        <widget class="QLabel" name="label">
270         <property name="text">
271          <string>BIOS file:</string>
272         </property>
273        </widget>
274       </item>
275       <item row="0" column="1">
276        <layout class="QHBoxLayout" name="horizontalLayout">
277         <item>
278          <widget class="QLineEdit" name="bios">
279           <property name="sizePolicy">
280            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
281             <horstretch>0</horstretch>
282             <verstretch>0</verstretch>
283            </sizepolicy>
284           </property>
285          </widget>
286         </item>
287         <item>
288          <widget class="QPushButton" name="biosBrowse">
289           <property name="text">
290            <string>Browse</string>
291           </property>
292          </widget>
293         </item>
294        </layout>
295       </item>
296       <item row="1" column="1">
297        <widget class="QCheckBox" name="skipBios">
298         <property name="text">
299          <string>Skip BIOS intro</string>
300         </property>
301        </widget>
302       </item>
303       <item row="2" column="1">
304        <widget class="QCheckBox" name="useBios">
305         <property name="text">
306          <string>Use BIOS file</string>
307         </property>
308         <property name="checked">
309          <bool>true</bool>
310         </property>
311        </widget>
312       </item>
313       <item row="3" column="0" colspan="2">
314        <widget class="Line" name="line_3">
315         <property name="orientation">
316          <enum>Qt::Horizontal</enum>
317         </property>
318        </widget>
319       </item>
320       <item row="4" column="1">
321        <widget class="QCheckBox" name="rewind">
322         <property name="text">
323          <string>Enable rewind</string>
324         </property>
325        </widget>
326       </item>
327       <item row="5" column="0">
328        <widget class="QLabel" name="label_4">
329         <property name="text">
330          <string>Rewind interval:</string>
331         </property>
332        </widget>
333       </item>
334       <item row="5" column="1">
335        <layout class="QHBoxLayout" name="horizontalLayout_12">
336         <item>
337          <widget class="QLabel" name="label_5">
338           <property name="text">
339            <string>Every</string>
340           </property>
341          </widget>
342         </item>
343         <item>
344          <widget class="QSpinBox" name="rewindInterval"/>
345         </item>
346         <item>
347          <widget class="QLabel" name="label_6">
348           <property name="text">
349            <string>frames</string>
350           </property>
351          </widget>
352         </item>
353        </layout>
354       </item>
355       <item row="6" column="0">
356        <widget class="QLabel" name="label_8">
357         <property name="text">
358          <string>Rewind length:</string>
359         </property>
360        </widget>
361       </item>
362       <item row="6" column="1">
363        <layout class="QHBoxLayout" name="horizontalLayout_13">
364         <item>
365          <widget class="QSpinBox" name="rewindCapacity"/>
366         </item>
367         <item>
368          <widget class="QLabel" name="label_7">
369           <property name="text">
370            <string>intervals</string>
371           </property>
372          </widget>
373         </item>
374        </layout>
375       </item>
376       <item row="7" column="0" colspan="2">
377        <widget class="Line" name="line_2">
378         <property name="orientation">
379          <enum>Qt::Horizontal</enum>
380         </property>
381        </widget>
382       </item>
383       <item row="8" column="1">
384        <widget class="QCheckBox" name="allowOpposingDirections">
385         <property name="text">
386          <string>Allow opposing input directions</string>
387         </property>
388        </widget>
389       </item>
390       <item row="9" column="0">
391        <widget class="QLabel" name="label_15">
392         <property name="text">
393          <string>Idle loops</string>
394         </property>
395        </widget>
396       </item>
397       <item row="9" column="1">
398        <widget class="QComboBox" name="idleOptimization">
399         <item>
400          <property name="text">
401           <string>Run all</string>
402          </property>
403         </item>
404         <item>
405          <property name="text">
406           <string>Remove known</string>
407          </property>
408         </item>
409         <item>
410          <property name="text">
411           <string>Detect and remove</string>
412          </property>
413         </item>
414        </widget>
415       </item>
416      </layout>
417     </item>
418    </layout>
419   </item>
420   <item>
421    <widget class="QDialogButtonBox" name="buttonBox">
422     <property name="standardButtons">
423      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
424     </property>
425    </widget>
426   </item>
427  </layout>
428 </widget>
429 <resources/>
430 <connections>
431  <connection>
432   <sender>buttonBox</sender>
433   <signal>accepted()</signal>
434   <receiver>SettingsView</receiver>
435   <slot>close()</slot>
436   <hints>
437    <hint type="sourcelabel">
438     <x>169</x>
439     <y>453</y>
440    </hint>
441    <hint type="destinationlabel">
442     <x>169</x>
443     <y>236</y>
444    </hint>
445   </hints>
446  </connection>
447  <connection>
448   <sender>buttonBox</sender>
449   <signal>rejected()</signal>
450   <receiver>SettingsView</receiver>
451   <slot>close()</slot>
452   <hints>
453    <hint type="sourcelabel">
454     <x>169</x>
455     <y>453</y>
456    </hint>
457    <hint type="destinationlabel">
458     <x>169</x>
459     <y>236</y>
460    </hint>
461   </hints>
462  </connection>
463 </connections>
464</ui>