all repos — mgba @ e0d0e86b7065cdaed1f7006183977e207714bccd

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>656</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   <item>
 24    <layout class="QHBoxLayout" name="horizontalLayout_3">
 25     <item>
 26      <layout class="QFormLayout" name="formLayout">
 27       <property name="fieldGrowthPolicy">
 28        <enum>QFormLayout::ExpandingFieldsGrow</enum>
 29       </property>
 30       <item row="0" column="0">
 31        <widget class="QLabel" name="label_14">
 32         <property name="text">
 33          <string>Audio driver:</string>
 34         </property>
 35        </widget>
 36       </item>
 37       <item row="0" column="1">
 38        <widget class="QComboBox" name="audioDriver">
 39         <property name="sizePolicy">
 40          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 41           <horstretch>0</horstretch>
 42           <verstretch>0</verstretch>
 43          </sizepolicy>
 44         </property>
 45        </widget>
 46       </item>
 47       <item row="1" column="0">
 48        <widget class="QLabel" name="audioBufferSizeLabel">
 49         <property name="text">
 50          <string>Audio buffer:</string>
 51         </property>
 52        </widget>
 53       </item>
 54       <item row="1" column="1">
 55        <layout class="QHBoxLayout" name="horizontalLayout_11">
 56         <item>
 57          <widget class="QComboBox" name="audioBufferSize">
 58           <property name="editable">
 59            <bool>true</bool>
 60           </property>
 61           <property name="currentText">
 62            <string>2048</string>
 63           </property>
 64           <property name="currentIndex">
 65            <number>2</number>
 66           </property>
 67           <item>
 68            <property name="text">
 69             <string>512</string>
 70            </property>
 71           </item>
 72           <item>
 73            <property name="text">
 74             <string>1024</string>
 75            </property>
 76           </item>
 77           <item>
 78            <property name="text">
 79             <string>2048</string>
 80            </property>
 81           </item>
 82           <item>
 83            <property name="text">
 84             <string>4096</string>
 85            </property>
 86           </item>
 87          </widget>
 88         </item>
 89         <item>
 90          <widget class="QLabel" name="label_16">
 91           <property name="text">
 92            <string>samples</string>
 93           </property>
 94          </widget>
 95         </item>
 96        </layout>
 97       </item>
 98       <item row="2" column="0">
 99        <widget class="QLabel" name="label_17">
100         <property name="text">
101          <string>Volume:</string>
102         </property>
103        </widget>
104       </item>
105       <item row="2" column="1">
106        <layout class="QHBoxLayout" name="horizontalLayout_6">
107         <item>
108          <widget class="QSlider" name="volume">
109           <property name="maximum">
110            <number>256</number>
111           </property>
112           <property name="pageStep">
113            <number>16</number>
114           </property>
115           <property name="value">
116            <number>256</number>
117           </property>
118           <property name="orientation">
119            <enum>Qt::Horizontal</enum>
120           </property>
121          </widget>
122         </item>
123         <item>
124          <widget class="QCheckBox" name="mute">
125           <property name="text">
126            <string>Mute</string>
127           </property>
128          </widget>
129         </item>
130        </layout>
131       </item>
132       <item row="3" column="0" colspan="2">
133        <widget class="Line" name="line">
134         <property name="orientation">
135          <enum>Qt::Horizontal</enum>
136         </property>
137        </widget>
138       </item>
139       <item row="4" column="0">
140        <widget class="QLabel" name="label_2">
141         <property name="text">
142          <string>Sync:</string>
143         </property>
144        </widget>
145       </item>
146       <item row="4" column="1">
147        <layout class="QHBoxLayout" name="horizontalLayout_10">
148         <item>
149          <widget class="QCheckBox" name="videoSync">
150           <property name="text">
151            <string>Video</string>
152           </property>
153          </widget>
154         </item>
155         <item>
156          <widget class="QCheckBox" name="audioSync">
157           <property name="text">
158            <string>Audio</string>
159           </property>
160          </widget>
161         </item>
162        </layout>
163       </item>
164       <item row="5" column="0">
165        <widget class="QLabel" name="label_9">
166         <property name="text">
167          <string>Frameskip:</string>
168         </property>
169        </widget>
170       </item>
171       <item row="5" column="1">
172        <layout class="QHBoxLayout" name="horizontalLayout_16">
173         <item>
174          <widget class="QLabel" name="label_12">
175           <property name="text">
176            <string>Skip every</string>
177           </property>
178          </widget>
179         </item>
180         <item>
181          <widget class="QSpinBox" name="frameskip"/>
182         </item>
183         <item>
184          <widget class="QLabel" name="label_13">
185           <property name="text">
186            <string>frames</string>
187           </property>
188          </widget>
189         </item>
190        </layout>
191       </item>
192       <item row="6" column="0">
193        <widget class="QLabel" name="label_3">
194         <property name="text">
195          <string>FPS target:</string>
196         </property>
197        </widget>
198       </item>
199       <item row="6" column="1">
200        <layout class="QHBoxLayout" name="horizontalLayout_2">
201         <item>
202          <widget class="QDoubleSpinBox" name="fpsTarget">
203           <property name="minimum">
204            <double>0.010000000000000</double>
205           </property>
206           <property name="maximum">
207            <double>240.000000000000000</double>
208           </property>
209           <property name="value">
210            <double>60.000000000000000</double>
211           </property>
212          </widget>
213         </item>
214         <item>
215          <widget class="QLabel" name="label_11">
216           <property name="text">
217            <string>frames per second</string>
218           </property>
219          </widget>
220         </item>
221        </layout>
222       </item>
223       <item row="7" column="0" colspan="2">
224        <widget class="Line" name="line_4">
225         <property name="orientation">
226          <enum>Qt::Horizontal</enum>
227         </property>
228        </widget>
229       </item>
230       <item row="8" column="1">
231        <widget class="QCheckBox" name="lockAspectRatio">
232         <property name="text">
233          <string>Lock aspect ratio</string>
234         </property>
235        </widget>
236       </item>
237       <item row="9" column="1">
238        <widget class="QCheckBox" name="resampleVideo">
239         <property name="text">
240          <string>Resample video</string>
241         </property>
242        </widget>
243       </item>
244       <item row="10" column="1">
245        <widget class="QCheckBox" name="suspendScreensaver">
246         <property name="text">
247          <string>Suspend screensaver</string>
248         </property>
249         <property name="checked">
250          <bool>true</bool>
251         </property>
252        </widget>
253       </item>
254      </layout>
255     </item>
256     <item>
257      <widget class="Line" name="line_5">
258       <property name="orientation">
259        <enum>Qt::Vertical</enum>
260       </property>
261      </widget>
262     </item>
263     <item>
264      <layout class="QFormLayout" name="formLayout_4">
265       <item row="0" column="0">
266        <widget class="QLabel" name="label">
267         <property name="text">
268          <string>BIOS file:</string>
269         </property>
270        </widget>
271       </item>
272       <item row="0" column="1">
273        <layout class="QHBoxLayout" name="horizontalLayout">
274         <item>
275          <widget class="QLineEdit" name="bios">
276           <property name="sizePolicy">
277            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
278             <horstretch>0</horstretch>
279             <verstretch>0</verstretch>
280            </sizepolicy>
281           </property>
282          </widget>
283         </item>
284         <item>
285          <widget class="QPushButton" name="biosBrowse">
286           <property name="text">
287            <string>Browse</string>
288           </property>
289          </widget>
290         </item>
291        </layout>
292       </item>
293       <item row="1" column="1">
294        <widget class="QCheckBox" name="skipBios">
295         <property name="text">
296          <string>Skip BIOS intro</string>
297         </property>
298        </widget>
299       </item>
300       <item row="2" column="1">
301        <widget class="QCheckBox" name="useBios">
302         <property name="text">
303          <string>Use BIOS file</string>
304         </property>
305         <property name="checked">
306          <bool>true</bool>
307         </property>
308        </widget>
309       </item>
310       <item row="3" column="0" colspan="2">
311        <widget class="Line" name="line_3">
312         <property name="orientation">
313          <enum>Qt::Horizontal</enum>
314         </property>
315        </widget>
316       </item>
317       <item row="4" column="1">
318        <widget class="QCheckBox" name="rewind">
319         <property name="text">
320          <string>Enable rewind</string>
321         </property>
322        </widget>
323       </item>
324       <item row="5" column="0">
325        <widget class="QLabel" name="label_4">
326         <property name="text">
327          <string>Rewind interval:</string>
328         </property>
329        </widget>
330       </item>
331       <item row="5" column="1">
332        <layout class="QHBoxLayout" name="horizontalLayout_12">
333         <item>
334          <widget class="QLabel" name="label_5">
335           <property name="text">
336            <string>Every</string>
337           </property>
338          </widget>
339         </item>
340         <item>
341          <widget class="QSpinBox" name="rewindInterval"/>
342         </item>
343         <item>
344          <widget class="QLabel" name="label_6">
345           <property name="text">
346            <string>frames</string>
347           </property>
348          </widget>
349         </item>
350        </layout>
351       </item>
352       <item row="6" column="0">
353        <widget class="QLabel" name="label_8">
354         <property name="text">
355          <string>Rewind length:</string>
356         </property>
357        </widget>
358       </item>
359       <item row="6" column="1">
360        <layout class="QHBoxLayout" name="horizontalLayout_13">
361         <item>
362          <widget class="QSpinBox" name="rewindCapacity"/>
363         </item>
364         <item>
365          <widget class="QLabel" name="label_7">
366           <property name="text">
367            <string>intervals</string>
368           </property>
369          </widget>
370         </item>
371        </layout>
372       </item>
373       <item row="7" column="0" colspan="2">
374        <widget class="Line" name="line_2">
375         <property name="orientation">
376          <enum>Qt::Horizontal</enum>
377         </property>
378        </widget>
379       </item>
380       <item row="8" column="1">
381        <widget class="QCheckBox" name="allowOpposingDirections">
382         <property name="text">
383          <string>Allow opposing input directions</string>
384         </property>
385        </widget>
386       </item>
387       <item row="9" column="0">
388        <widget class="QLabel" name="label_15">
389         <property name="text">
390          <string>Idle loops</string>
391         </property>
392        </widget>
393       </item>
394       <item row="9" column="1">
395        <widget class="QComboBox" name="idleOptimization">
396         <item>
397          <property name="text">
398           <string>Run all</string>
399          </property>
400         </item>
401         <item>
402          <property name="text">
403           <string>Remove known</string>
404          </property>
405         </item>
406         <item>
407          <property name="text">
408           <string>Detect and remove</string>
409          </property>
410         </item>
411        </widget>
412       </item>
413      </layout>
414     </item>
415    </layout>
416   </item>
417   <item>
418    <widget class="QDialogButtonBox" name="buttonBox">
419     <property name="standardButtons">
420      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
421     </property>
422    </widget>
423   </item>
424  </layout>
425 </widget>
426 <resources/>
427 <connections>
428  <connection>
429   <sender>buttonBox</sender>
430   <signal>accepted()</signal>
431   <receiver>SettingsView</receiver>
432   <slot>close()</slot>
433   <hints>
434    <hint type="sourcelabel">
435     <x>169</x>
436     <y>453</y>
437    </hint>
438    <hint type="destinationlabel">
439     <x>169</x>
440     <y>236</y>
441    </hint>
442   </hints>
443  </connection>
444  <connection>
445   <sender>buttonBox</sender>
446   <signal>rejected()</signal>
447   <receiver>SettingsView</receiver>
448   <slot>close()</slot>
449   <hints>
450    <hint type="sourcelabel">
451     <x>169</x>
452     <y>453</y>
453    </hint>
454    <hint type="destinationlabel">
455     <x>169</x>
456     <y>236</y>
457    </hint>
458   </hints>
459  </connection>
460 </connections>
461</ui>