all repos — mgba @ 8fad1d136c878e263fcf21772f74d66235d17a23

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