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>568</width>
10 <height>451</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="QGridLayout" name="gridLayout">
23 <property name="sizeConstraint">
24 <enum>QLayout::SetFixedSize</enum>
25 </property>
26 <item row="1" column="1">
27 <widget class="QStackedWidget" name="stackedWidget">
28 <property name="currentIndex">
29 <number>0</number>
30 </property>
31 <widget class="QWidget" name="stackedWidgetPage1">
32 <layout class="QFormLayout" name="formLayout">
33 <property name="fieldGrowthPolicy">
34 <enum>QFormLayout::FieldsStayAtSizeHint</enum>
35 </property>
36 <item row="0" column="0">
37 <widget class="QLabel" name="label_14">
38 <property name="text">
39 <string>Audio driver:</string>
40 </property>
41 </widget>
42 </item>
43 <item row="0" column="1">
44 <widget class="QComboBox" name="audioDriver">
45 <property name="sizePolicy">
46 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
47 <horstretch>0</horstretch>
48 <verstretch>0</verstretch>
49 </sizepolicy>
50 </property>
51 </widget>
52 </item>
53 <item row="1" column="0">
54 <widget class="QLabel" name="audioBufferSizeLabel">
55 <property name="text">
56 <string>Audio buffer:</string>
57 </property>
58 </widget>
59 </item>
60 <item row="1" column="1">
61 <layout class="QHBoxLayout" name="horizontalLayout_11">
62 <item>
63 <widget class="QComboBox" name="audioBufferSize">
64 <property name="editable">
65 <bool>true</bool>
66 </property>
67 <property name="currentText" stdset="0">
68 <string>1536</string>
69 </property>
70 <property name="currentIndex">
71 <number>3</number>
72 </property>
73 <item>
74 <property name="text">
75 <string>512</string>
76 </property>
77 </item>
78 <item>
79 <property name="text">
80 <string>768</string>
81 </property>
82 </item>
83 <item>
84 <property name="text">
85 <string>1024</string>
86 </property>
87 </item>
88 <item>
89 <property name="text">
90 <string>1536</string>
91 </property>
92 </item>
93 <item>
94 <property name="text">
95 <string>2048</string>
96 </property>
97 </item>
98 <item>
99 <property name="text">
100 <string>3072</string>
101 </property>
102 </item>
103 <item>
104 <property name="text">
105 <string>4096</string>
106 </property>
107 </item>
108 </widget>
109 </item>
110 <item>
111 <widget class="QLabel" name="label_16">
112 <property name="text">
113 <string>samples</string>
114 </property>
115 </widget>
116 </item>
117 </layout>
118 </item>
119 <item row="2" column="0">
120 <widget class="QLabel" name="label_19">
121 <property name="text">
122 <string>Sample rate:</string>
123 </property>
124 </widget>
125 </item>
126 <item row="2" column="1">
127 <layout class="QHBoxLayout" name="horizontalLayout_14">
128 <item>
129 <widget class="QComboBox" name="sampleRate">
130 <property name="editable">
131 <bool>true</bool>
132 </property>
133 <property name="currentText" stdset="0">
134 <string>44100</string>
135 </property>
136 <property name="currentIndex">
137 <number>2</number>
138 </property>
139 <item>
140 <property name="text">
141 <string>22050</string>
142 </property>
143 </item>
144 <item>
145 <property name="text">
146 <string>32000</string>
147 </property>
148 </item>
149 <item>
150 <property name="text">
151 <string>44100</string>
152 </property>
153 </item>
154 <item>
155 <property name="text">
156 <string>48000</string>
157 </property>
158 </item>
159 </widget>
160 </item>
161 <item>
162 <widget class="QLabel" name="label_20">
163 <property name="text">
164 <string>Hz</string>
165 </property>
166 </widget>
167 </item>
168 </layout>
169 </item>
170 <item row="3" column="0">
171 <widget class="QLabel" name="label_17">
172 <property name="text">
173 <string>Volume:</string>
174 </property>
175 </widget>
176 </item>
177 <item row="3" column="1">
178 <layout class="QHBoxLayout" name="horizontalLayout_6">
179 <item>
180 <widget class="QSlider" name="volume">
181 <property name="minimumSize">
182 <size>
183 <width>128</width>
184 <height>0</height>
185 </size>
186 </property>
187 <property name="maximum">
188 <number>256</number>
189 </property>
190 <property name="pageStep">
191 <number>16</number>
192 </property>
193 <property name="value">
194 <number>256</number>
195 </property>
196 <property name="orientation">
197 <enum>Qt::Horizontal</enum>
198 </property>
199 </widget>
200 </item>
201 <item>
202 <widget class="QCheckBox" name="mute">
203 <property name="text">
204 <string>Mute</string>
205 </property>
206 </widget>
207 </item>
208 </layout>
209 </item>
210 <item row="4" column="0" colspan="2">
211 <widget class="Line" name="line_4">
212 <property name="orientation">
213 <enum>Qt::Horizontal</enum>
214 </property>
215 </widget>
216 </item>
217 <item row="5" column="0">
218 <widget class="QLabel" name="label_10">
219 <property name="text">
220 <string>Display driver:</string>
221 </property>
222 </widget>
223 </item>
224 <item row="5" column="1">
225 <widget class="QComboBox" name="displayDriver">
226 <property name="sizePolicy">
227 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
228 <horstretch>0</horstretch>
229 <verstretch>0</verstretch>
230 </sizepolicy>
231 </property>
232 </widget>
233 </item>
234 <item row="6" column="0">
235 <widget class="QLabel" name="label_9">
236 <property name="text">
237 <string>Frameskip:</string>
238 </property>
239 </widget>
240 </item>
241 <item row="6" column="1">
242 <layout class="QHBoxLayout" name="horizontalLayout_16">
243 <item>
244 <widget class="QLabel" name="label_12">
245 <property name="text">
246 <string>Skip every</string>
247 </property>
248 </widget>
249 </item>
250 <item>
251 <widget class="QSpinBox" name="frameskip"/>
252 </item>
253 <item>
254 <widget class="QLabel" name="label_13">
255 <property name="text">
256 <string>frames</string>
257 </property>
258 </widget>
259 </item>
260 </layout>
261 </item>
262 <item row="7" column="0">
263 <widget class="QLabel" name="label_3">
264 <property name="text">
265 <string>FPS target:</string>
266 </property>
267 </widget>
268 </item>
269 <item row="7" column="1">
270 <layout class="QHBoxLayout" name="horizontalLayout_2">
271 <item>
272 <widget class="QDoubleSpinBox" name="fpsTarget">
273 <property name="minimum">
274 <double>0.010000000000000</double>
275 </property>
276 <property name="maximum">
277 <double>240.000000000000000</double>
278 </property>
279 <property name="value">
280 <double>60.000000000000000</double>
281 </property>
282 </widget>
283 </item>
284 <item>
285 <widget class="QLabel" name="label_11">
286 <property name="text">
287 <string>frames per second</string>
288 </property>
289 </widget>
290 </item>
291 </layout>
292 </item>
293 <item row="8" column="0" colspan="2">
294 <widget class="Line" name="line_5">
295 <property name="orientation">
296 <enum>Qt::Horizontal</enum>
297 </property>
298 </widget>
299 </item>
300 <item row="9" column="0">
301 <widget class="QLabel" name="label_2">
302 <property name="text">
303 <string>Sync:</string>
304 </property>
305 </widget>
306 </item>
307 <item row="9" column="1">
308 <layout class="QHBoxLayout" name="horizontalLayout_10">
309 <item>
310 <widget class="QCheckBox" name="videoSync">
311 <property name="text">
312 <string>Video</string>
313 </property>
314 </widget>
315 </item>
316 <item>
317 <widget class="QCheckBox" name="audioSync">
318 <property name="text">
319 <string>Audio</string>
320 </property>
321 </widget>
322 </item>
323 </layout>
324 </item>
325 <item row="10" column="1">
326 <widget class="QCheckBox" name="lockAspectRatio">
327 <property name="text">
328 <string>Lock aspect ratio</string>
329 </property>
330 </widget>
331 </item>
332 <item row="11" column="1">
333 <widget class="QCheckBox" name="resampleVideo">
334 <property name="text">
335 <string>Resample video</string>
336 </property>
337 </widget>
338 </item>
339 </layout>
340 </widget>
341 <widget class="QWidget" name="stackedWidgetPage2">
342 <layout class="QFormLayout" name="formLayout_2">
343 <property name="fieldGrowthPolicy">
344 <enum>QFormLayout::FieldsStayAtSizeHint</enum>
345 </property>
346 <item row="0" column="0">
347 <widget class="QLabel" name="label">
348 <property name="text">
349 <string>BIOS file:</string>
350 </property>
351 </widget>
352 </item>
353 <item row="0" column="1">
354 <layout class="QHBoxLayout" name="horizontalLayout">
355 <item>
356 <widget class="QLineEdit" name="bios">
357 <property name="sizePolicy">
358 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
359 <horstretch>0</horstretch>
360 <verstretch>0</verstretch>
361 </sizepolicy>
362 </property>
363 </widget>
364 </item>
365 <item>
366 <widget class="QPushButton" name="biosBrowse">
367 <property name="text">
368 <string>Browse</string>
369 </property>
370 </widget>
371 </item>
372 </layout>
373 </item>
374 <item row="1" column="1">
375 <widget class="QCheckBox" name="useBios">
376 <property name="text">
377 <string>Use BIOS file</string>
378 </property>
379 <property name="checked">
380 <bool>true</bool>
381 </property>
382 </widget>
383 </item>
384 <item row="4" column="0">
385 <widget class="QLabel" name="label_4">
386 <property name="text">
387 <string>Create rewind state:</string>
388 </property>
389 </widget>
390 </item>
391 <item row="4" column="1">
392 <widget class="QCheckBox" name="rewind">
393 <property name="text">
394 <string>Enable rewind</string>
395 </property>
396 </widget>
397 </item>
398 <item row="5" column="1">
399 <layout class="QHBoxLayout" name="horizontalLayout_12">
400 <item>
401 <widget class="QLabel" name="label_5">
402 <property name="text">
403 <string>Every</string>
404 </property>
405 </widget>
406 </item>
407 <item>
408 <widget class="QSpinBox" name="rewindInterval"/>
409 </item>
410 <item>
411 <widget class="QLabel" name="label_6">
412 <property name="text">
413 <string>frames</string>
414 </property>
415 </widget>
416 </item>
417 </layout>
418 </item>
419 <item row="6" column="0">
420 <widget class="QLabel" name="label_8">
421 <property name="text">
422 <string>Rewind history:</string>
423 </property>
424 </widget>
425 </item>
426 <item row="6" column="1">
427 <layout class="QHBoxLayout" name="horizontalLayout_13">
428 <item>
429 <widget class="QSpinBox" name="rewindCapacity"/>
430 </item>
431 <item>
432 <widget class="QLabel" name="label_7">
433 <property name="text">
434 <string>states</string>
435 </property>
436 </widget>
437 </item>
438 </layout>
439 </item>
440 <item row="8" column="0">
441 <widget class="QLabel" name="label_18">
442 <property name="text">
443 <string>Fast forward speed</string>
444 </property>
445 </widget>
446 </item>
447 <item row="8" column="1">
448 <widget class="QDoubleSpinBox" name="fastForwardRatio">
449 <property name="enabled">
450 <bool>false</bool>
451 </property>
452 <property name="suffix">
453 <string>×</string>
454 </property>
455 <property name="minimum">
456 <double>0.010000000000000</double>
457 </property>
458 <property name="maximum">
459 <double>20.000000000000000</double>
460 </property>
461 <property name="singleStep">
462 <double>0.500000000000000</double>
463 </property>
464 <property name="value">
465 <double>5.000000000000000</double>
466 </property>
467 </widget>
468 </item>
469 <item row="9" column="1">
470 <widget class="QCheckBox" name="fastForwardUnbounded">
471 <property name="text">
472 <string>Unbounded</string>
473 </property>
474 <property name="checked">
475 <bool>true</bool>
476 </property>
477 </widget>
478 </item>
479 <item row="11" column="1">
480 <widget class="QCheckBox" name="allowOpposingDirections">
481 <property name="text">
482 <string>Allow opposing input directions</string>
483 </property>
484 </widget>
485 </item>
486 <item row="12" column="1">
487 <widget class="QCheckBox" name="suspendScreensaver">
488 <property name="text">
489 <string>Suspend screensaver</string>
490 </property>
491 <property name="checked">
492 <bool>true</bool>
493 </property>
494 </widget>
495 </item>
496 <item row="14" column="0">
497 <widget class="QLabel" name="label_15">
498 <property name="text">
499 <string>Idle loops</string>
500 </property>
501 </widget>
502 </item>
503 <item row="14" column="1">
504 <widget class="QComboBox" name="idleOptimization">
505 <item>
506 <property name="text">
507 <string>Run all</string>
508 </property>
509 </item>
510 <item>
511 <property name="text">
512 <string>Remove known</string>
513 </property>
514 </item>
515 <item>
516 <property name="text">
517 <string>Detect and remove</string>
518 </property>
519 </item>
520 </widget>
521 </item>
522 <item row="2" column="1">
523 <widget class="QCheckBox" name="skipBios">
524 <property name="text">
525 <string>Skip BIOS intro</string>
526 </property>
527 </widget>
528 </item>
529 <item row="3" column="0" colspan="2">
530 <widget class="Line" name="line">
531 <property name="orientation">
532 <enum>Qt::Horizontal</enum>
533 </property>
534 </widget>
535 </item>
536 <item row="7" column="0" colspan="2">
537 <widget class="Line" name="line_2">
538 <property name="orientation">
539 <enum>Qt::Horizontal</enum>
540 </property>
541 </widget>
542 </item>
543 <item row="10" column="0" colspan="2">
544 <widget class="Line" name="line_3">
545 <property name="orientation">
546 <enum>Qt::Horizontal</enum>
547 </property>
548 </widget>
549 </item>
550 <item row="13" column="1">
551 <widget class="QCheckBox" name="pauseOnFocusLost">
552 <property name="text">
553 <string>Pause when inactive</string>
554 </property>
555 </widget>
556 </item>
557 </layout>
558 </widget>
559 <widget class="QWidget" name="page">
560 <layout class="QFormLayout" name="formLayout_3">
561 <property name="fieldGrowthPolicy">
562 <enum>QFormLayout::FieldsStayAtSizeHint</enum>
563 </property>
564 <item row="1" column="0">
565 <widget class="QLabel" name="label_21">
566 <property name="text">
567 <string>Save games</string>
568 </property>
569 </widget>
570 </item>
571 <item row="1" column="1">
572 <layout class="QHBoxLayout" name="horizontalLayout_3">
573 <item>
574 <widget class="QLineEdit" name="savegamePath">
575 <property name="sizePolicy">
576 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
577 <horstretch>0</horstretch>
578 <verstretch>0</verstretch>
579 </sizepolicy>
580 </property>
581 <property name="minimumSize">
582 <size>
583 <width>170</width>
584 <height>0</height>
585 </size>
586 </property>
587 </widget>
588 </item>
589 <item>
590 <widget class="QPushButton" name="savegameBrowse">
591 <property name="text">
592 <string>Browse</string>
593 </property>
594 </widget>
595 </item>
596 </layout>
597 </item>
598 <item row="2" column="1">
599 <widget class="QCheckBox" name="savegameSameDir">
600 <property name="text">
601 <string>Same directory as the ROM</string>
602 </property>
603 </widget>
604 </item>
605 <item row="3" column="0" colspan="2">
606 <widget class="Line" name="line_7">
607 <property name="orientation">
608 <enum>Qt::Horizontal</enum>
609 </property>
610 </widget>
611 </item>
612 <item row="4" column="0">
613 <widget class="QLabel" name="label_22">
614 <property name="text">
615 <string>Save states</string>
616 </property>
617 </widget>
618 </item>
619 <item row="4" column="1">
620 <layout class="QHBoxLayout" name="horizontalLayout_4">
621 <item>
622 <widget class="QLineEdit" name="savestatePath">
623 <property name="sizePolicy">
624 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
625 <horstretch>0</horstretch>
626 <verstretch>0</verstretch>
627 </sizepolicy>
628 </property>
629 <property name="minimumSize">
630 <size>
631 <width>170</width>
632 <height>0</height>
633 </size>
634 </property>
635 </widget>
636 </item>
637 <item>
638 <widget class="QPushButton" name="savestateBrowse">
639 <property name="text">
640 <string>Browse</string>
641 </property>
642 </widget>
643 </item>
644 </layout>
645 </item>
646 <item row="5" column="1">
647 <widget class="QCheckBox" name="savestateSameDir">
648 <property name="text">
649 <string>Same directory as the ROM</string>
650 </property>
651 </widget>
652 </item>
653 <item row="6" column="0" colspan="2">
654 <widget class="Line" name="line_6">
655 <property name="orientation">
656 <enum>Qt::Horizontal</enum>
657 </property>
658 </widget>
659 </item>
660 <item row="7" column="0">
661 <widget class="QLabel" name="label_23">
662 <property name="text">
663 <string>Screenshots</string>
664 </property>
665 </widget>
666 </item>
667 <item row="7" column="1">
668 <layout class="QHBoxLayout" name="horizontalLayout_7">
669 <item>
670 <widget class="QLineEdit" name="screenshotPath">
671 <property name="sizePolicy">
672 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
673 <horstretch>0</horstretch>
674 <verstretch>0</verstretch>
675 </sizepolicy>
676 </property>
677 <property name="minimumSize">
678 <size>
679 <width>170</width>
680 <height>0</height>
681 </size>
682 </property>
683 </widget>
684 </item>
685 <item>
686 <widget class="QPushButton" name="screenshotBrowse">
687 <property name="text">
688 <string>Browse</string>
689 </property>
690 </widget>
691 </item>
692 </layout>
693 </item>
694 <item row="8" column="1">
695 <widget class="QCheckBox" name="screenshotSameDir">
696 <property name="text">
697 <string>Same directory as the ROM</string>
698 </property>
699 </widget>
700 </item>
701 <item row="9" column="0" colspan="2">
702 <widget class="Line" name="line_15">
703 <property name="orientation">
704 <enum>Qt::Horizontal</enum>
705 </property>
706 </widget>
707 </item>
708 <item row="10" column="0">
709 <widget class="QLabel" name="label_47">
710 <property name="text">
711 <string>Patches</string>
712 </property>
713 </widget>
714 </item>
715 <item row="10" column="1">
716 <layout class="QHBoxLayout" name="horizontalLayout_26">
717 <item>
718 <widget class="QLineEdit" name="patchPath">
719 <property name="sizePolicy">
720 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
721 <horstretch>0</horstretch>
722 <verstretch>0</verstretch>
723 </sizepolicy>
724 </property>
725 <property name="minimumSize">
726 <size>
727 <width>170</width>
728 <height>0</height>
729 </size>
730 </property>
731 </widget>
732 </item>
733 <item>
734 <widget class="QPushButton" name="patchBrowse">
735 <property name="text">
736 <string>Browse</string>
737 </property>
738 </widget>
739 </item>
740 </layout>
741 </item>
742 <item row="11" column="1">
743 <widget class="QCheckBox" name="patchSameDir">
744 <property name="text">
745 <string>Same directory as the ROM</string>
746 </property>
747 </widget>
748 </item>
749 </layout>
750 </widget>
751 </widget>
752 </item>
753 <item row="1" column="0">
754 <widget class="QListWidget" name="tabs">
755 <property name="sizePolicy">
756 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
757 <horstretch>0</horstretch>
758 <verstretch>0</verstretch>
759 </sizepolicy>
760 </property>
761 <property name="maximumSize">
762 <size>
763 <width>140</width>
764 <height>16777215</height>
765 </size>
766 </property>
767 <item>
768 <property name="text">
769 <string>Audio/Video</string>
770 </property>
771 </item>
772 <item>
773 <property name="text">
774 <string>Emulation</string>
775 </property>
776 </item>
777 <item>
778 <property name="text">
779 <string>Paths</string>
780 </property>
781 </item>
782 </widget>
783 </item>
784 <item row="2" column="0" colspan="2">
785 <widget class="QDialogButtonBox" name="buttonBox">
786 <property name="standardButtons">
787 <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
788 </property>
789 </widget>
790 </item>
791 </layout>
792 </widget>
793 <resources/>
794 <connections>
795 <connection>
796 <sender>buttonBox</sender>
797 <signal>accepted()</signal>
798 <receiver>SettingsView</receiver>
799 <slot>close()</slot>
800 <hints>
801 <hint type="sourcelabel">
802 <x>169</x>
803 <y>453</y>
804 </hint>
805 <hint type="destinationlabel">
806 <x>169</x>
807 <y>236</y>
808 </hint>
809 </hints>
810 </connection>
811 <connection>
812 <sender>buttonBox</sender>
813 <signal>rejected()</signal>
814 <receiver>SettingsView</receiver>
815 <slot>close()</slot>
816 <hints>
817 <hint type="sourcelabel">
818 <x>169</x>
819 <y>453</y>
820 </hint>
821 <hint type="destinationlabel">
822 <x>169</x>
823 <y>236</y>
824 </hint>
825 </hints>
826 </connection>
827 <connection>
828 <sender>tabs</sender>
829 <signal>currentRowChanged(int)</signal>
830 <receiver>stackedWidget</receiver>
831 <slot>setCurrentIndex(int)</slot>
832 <hints>
833 <hint type="sourcelabel">
834 <x>61</x>
835 <y>209</y>
836 </hint>
837 <hint type="destinationlabel">
838 <x>315</x>
839 <y>209</y>
840 </hint>
841 </hints>
842 </connection>
843 <connection>
844 <sender>savegameSameDir</sender>
845 <signal>toggled(bool)</signal>
846 <receiver>savegamePath</receiver>
847 <slot>setDisabled(bool)</slot>
848 <hints>
849 <hint type="sourcelabel">
850 <x>392</x>
851 <y>82</y>
852 </hint>
853 <hint type="destinationlabel">
854 <x>366</x>
855 <y>48</y>
856 </hint>
857 </hints>
858 </connection>
859 <connection>
860 <sender>savestateSameDir</sender>
861 <signal>toggled(bool)</signal>
862 <receiver>savestatePath</receiver>
863 <slot>setDisabled(bool)</slot>
864 <hints>
865 <hint type="sourcelabel">
866 <x>392</x>
867 <y>161</y>
868 </hint>
869 <hint type="destinationlabel">
870 <x>366</x>
871 <y>127</y>
872 </hint>
873 </hints>
874 </connection>
875 <connection>
876 <sender>screenshotSameDir</sender>
877 <signal>toggled(bool)</signal>
878 <receiver>screenshotPath</receiver>
879 <slot>setDisabled(bool)</slot>
880 <hints>
881 <hint type="sourcelabel">
882 <x>392</x>
883 <y>240</y>
884 </hint>
885 <hint type="destinationlabel">
886 <x>366</x>
887 <y>206</y>
888 </hint>
889 </hints>
890 </connection>
891 <connection>
892 <sender>patchSameDir</sender>
893 <signal>toggled(bool)</signal>
894 <receiver>patchPath</receiver>
895 <slot>setDisabled(bool)</slot>
896 <hints>
897 <hint type="sourcelabel">
898 <x>345</x>
899 <y>319</y>
900 </hint>
901 <hint type="destinationlabel">
902 <x>340</x>
903 <y>285</y>
904 </hint>
905 </hints>
906 </connection>
907 </connections>
908</ui>