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>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_17">
118 <property name="text">
119 <string>Volume:</string>
120 </property>
121 </widget>
122 </item>
123 <item row="2" column="1">
124 <layout class="QHBoxLayout" name="horizontalLayout_6">
125 <item>
126 <widget class="QSlider" name="volume">
127 <property name="maximum">
128 <number>256</number>
129 </property>
130 <property name="pageStep">
131 <number>16</number>
132 </property>
133 <property name="value">
134 <number>256</number>
135 </property>
136 <property name="orientation">
137 <enum>Qt::Horizontal</enum>
138 </property>
139 </widget>
140 </item>
141 <item>
142 <widget class="QCheckBox" name="mute">
143 <property name="text">
144 <string>Mute</string>
145 </property>
146 </widget>
147 </item>
148 </layout>
149 </item>
150 <item row="3" column="0" colspan="2">
151 <widget class="Line" name="line">
152 <property name="orientation">
153 <enum>Qt::Horizontal</enum>
154 </property>
155 </widget>
156 </item>
157 <item row="4" column="0">
158 <widget class="QLabel" name="label_10">
159 <property name="text">
160 <string>Display driver:</string>
161 </property>
162 </widget>
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="0">
231 <widget class="QLabel" name="label_2">
232 <property name="text">
233 <string>Sync:</string>
234 </property>
235 </widget>
236 </item>
237 <item row="8" column="1">
238 <layout class="QHBoxLayout" name="horizontalLayout_10">
239 <item>
240 <widget class="QCheckBox" name="videoSync">
241 <property name="text">
242 <string>Video</string>
243 </property>
244 </widget>
245 </item>
246 <item>
247 <widget class="QCheckBox" name="audioSync">
248 <property name="text">
249 <string>Audio</string>
250 </property>
251 </widget>
252 </item>
253 </layout>
254 </item>
255 <item row="9" column="1">
256 <widget class="QCheckBox" name="lockAspectRatio">
257 <property name="text">
258 <string>Lock aspect ratio</string>
259 </property>
260 </widget>
261 </item>
262 <item row="10" column="1">
263 <widget class="QCheckBox" name="resampleVideo">
264 <property name="text">
265 <string>Resample video</string>
266 </property>
267 </widget>
268 </item>
269 <item row="4" column="1">
270 <widget class="QComboBox" name="displayDriver">
271 <property name="sizePolicy">
272 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
273 <horstretch>0</horstretch>
274 <verstretch>0</verstretch>
275 </sizepolicy>
276 </property>
277 </widget>
278 </item>
279 </layout>
280 </item>
281 <item>
282 <widget class="Line" name="line_5">
283 <property name="orientation">
284 <enum>Qt::Vertical</enum>
285 </property>
286 </widget>
287 </item>
288 <item>
289 <layout class="QFormLayout" name="formLayout_4">
290 <item row="0" column="0">
291 <widget class="QLabel" name="label">
292 <property name="text">
293 <string>BIOS file:</string>
294 </property>
295 </widget>
296 </item>
297 <item row="0" column="1">
298 <layout class="QHBoxLayout" name="horizontalLayout">
299 <item>
300 <widget class="QLineEdit" name="bios">
301 <property name="sizePolicy">
302 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
303 <horstretch>0</horstretch>
304 <verstretch>0</verstretch>
305 </sizepolicy>
306 </property>
307 </widget>
308 </item>
309 <item>
310 <widget class="QPushButton" name="biosBrowse">
311 <property name="text">
312 <string>Browse</string>
313 </property>
314 </widget>
315 </item>
316 </layout>
317 </item>
318 <item row="1" column="1">
319 <widget class="QCheckBox" name="skipBios">
320 <property name="text">
321 <string>Skip BIOS intro</string>
322 </property>
323 </widget>
324 </item>
325 <item row="2" column="1">
326 <widget class="QCheckBox" name="useBios">
327 <property name="text">
328 <string>Use BIOS file</string>
329 </property>
330 <property name="checked">
331 <bool>true</bool>
332 </property>
333 </widget>
334 </item>
335 <item row="3" column="0" colspan="2">
336 <widget class="Line" name="line_3">
337 <property name="orientation">
338 <enum>Qt::Horizontal</enum>
339 </property>
340 </widget>
341 </item>
342 <item row="4" column="1">
343 <widget class="QCheckBox" name="rewind">
344 <property name="text">
345 <string>Enable rewind</string>
346 </property>
347 </widget>
348 </item>
349 <item row="5" column="0">
350 <widget class="QLabel" name="label_4">
351 <property name="text">
352 <string>Create rewind state:</string>
353 </property>
354 </widget>
355 </item>
356 <item row="5" column="1">
357 <layout class="QHBoxLayout" name="horizontalLayout_12">
358 <item>
359 <widget class="QLabel" name="label_5">
360 <property name="text">
361 <string>Every</string>
362 </property>
363 </widget>
364 </item>
365 <item>
366 <widget class="QSpinBox" name="rewindInterval"/>
367 </item>
368 <item>
369 <widget class="QLabel" name="label_6">
370 <property name="text">
371 <string>frames</string>
372 </property>
373 </widget>
374 </item>
375 </layout>
376 </item>
377 <item row="6" column="0">
378 <widget class="QLabel" name="label_8">
379 <property name="text">
380 <string>Rewind history:</string>
381 </property>
382 </widget>
383 </item>
384 <item row="6" column="1">
385 <layout class="QHBoxLayout" name="horizontalLayout_13">
386 <item>
387 <widget class="QSpinBox" name="rewindCapacity"/>
388 </item>
389 <item>
390 <widget class="QLabel" name="label_7">
391 <property name="text">
392 <string>states</string>
393 </property>
394 </widget>
395 </item>
396 </layout>
397 </item>
398 <item row="10" column="0" colspan="2">
399 <widget class="Line" name="line_2">
400 <property name="orientation">
401 <enum>Qt::Horizontal</enum>
402 </property>
403 </widget>
404 </item>
405 <item row="11" column="1">
406 <widget class="QCheckBox" name="allowOpposingDirections">
407 <property name="text">
408 <string>Allow opposing input directions</string>
409 </property>
410 </widget>
411 </item>
412 <item row="12" column="1">
413 <widget class="QCheckBox" name="suspendScreensaver">
414 <property name="text">
415 <string>Suspend screensaver</string>
416 </property>
417 <property name="checked">
418 <bool>true</bool>
419 </property>
420 </widget>
421 </item>
422 <item row="13" column="0">
423 <widget class="QLabel" name="label_15">
424 <property name="text">
425 <string>Idle loops</string>
426 </property>
427 </widget>
428 </item>
429 <item row="13" column="1">
430 <widget class="QComboBox" name="idleOptimization">
431 <item>
432 <property name="text">
433 <string>Run all</string>
434 </property>
435 </item>
436 <item>
437 <property name="text">
438 <string>Remove known</string>
439 </property>
440 </item>
441 <item>
442 <property name="text">
443 <string>Detect and remove</string>
444 </property>
445 </item>
446 </widget>
447 </item>
448 <item row="8" column="1">
449 <widget class="QDoubleSpinBox" name="fastForwardRatio">
450 <property name="enabled">
451 <bool>false</bool>
452 </property>
453 <property name="suffix">
454 <string>×</string>
455 </property>
456 <property name="minimum">
457 <double>0.010000000000000</double>
458 </property>
459 <property name="maximum">
460 <double>20.000000000000000</double>
461 </property>
462 <property name="singleStep">
463 <double>0.500000000000000</double>
464 </property>
465 <property name="value">
466 <double>5.000000000000000</double>
467 </property>
468 </widget>
469 </item>
470 <item row="8" column="0">
471 <widget class="QLabel" name="label_18">
472 <property name="text">
473 <string>Fast forward speed</string>
474 </property>
475 </widget>
476 </item>
477 <item row="9" column="1">
478 <widget class="QCheckBox" name="fastForwardUnbounded">
479 <property name="text">
480 <string>Unbounded</string>
481 </property>
482 <property name="checked">
483 <bool>true</bool>
484 </property>
485 </widget>
486 </item>
487 <item row="7" column="0" colspan="2">
488 <widget class="Line" name="line_6">
489 <property name="orientation">
490 <enum>Qt::Horizontal</enum>
491 </property>
492 </widget>
493 </item>
494 </layout>
495 </item>
496 </layout>
497 </item>
498 <item>
499 <widget class="QDialogButtonBox" name="buttonBox">
500 <property name="standardButtons">
501 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
502 </property>
503 </widget>
504 </item>
505 </layout>
506 </widget>
507 <resources/>
508 <connections>
509 <connection>
510 <sender>buttonBox</sender>
511 <signal>accepted()</signal>
512 <receiver>SettingsView</receiver>
513 <slot>close()</slot>
514 <hints>
515 <hint type="sourcelabel">
516 <x>169</x>
517 <y>453</y>
518 </hint>
519 <hint type="destinationlabel">
520 <x>169</x>
521 <y>236</y>
522 </hint>
523 </hints>
524 </connection>
525 <connection>
526 <sender>buttonBox</sender>
527 <signal>rejected()</signal>
528 <receiver>SettingsView</receiver>
529 <slot>close()</slot>
530 <hints>
531 <hint type="sourcelabel">
532 <x>169</x>
533 <y>453</y>
534 </hint>
535 <hint type="destinationlabel">
536 <x>169</x>
537 <y>236</y>
538 </hint>
539 </hints>
540 </connection>
541 </connections>
542</ui>