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>588</width>
10 <height>488</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="0">
27 <widget class="QListWidget" name="tabs">
28 <property name="sizePolicy">
29 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
30 <horstretch>0</horstretch>
31 <verstretch>0</verstretch>
32 </sizepolicy>
33 </property>
34 <property name="maximumSize">
35 <size>
36 <width>140</width>
37 <height>16777215</height>
38 </size>
39 </property>
40 <property name="currentRow">
41 <number>-1</number>
42 </property>
43 <item>
44 <property name="text">
45 <string>Audio/Video</string>
46 </property>
47 </item>
48 <item>
49 <property name="text">
50 <string>Interface</string>
51 </property>
52 </item>
53 <item>
54 <property name="text">
55 <string>Emulation</string>
56 </property>
57 </item>
58 <item>
59 <property name="text">
60 <string>BIOS</string>
61 </property>
62 </item>
63 <item>
64 <property name="text">
65 <string>Paths</string>
66 </property>
67 </item>
68 <item>
69 <property name="text">
70 <string>Game Boy</string>
71 </property>
72 </item>
73 </widget>
74 </item>
75 <item row="2" column="0" colspan="2">
76 <widget class="QDialogButtonBox" name="buttonBox">
77 <property name="standardButtons">
78 <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
79 </property>
80 </widget>
81 </item>
82 <item row="1" column="1">
83 <widget class="QStackedWidget" name="stackedWidget">
84 <property name="currentIndex">
85 <number>0</number>
86 </property>
87 <widget class="QWidget" name="av">
88 <layout class="QFormLayout" name="formLayout">
89 <property name="fieldGrowthPolicy">
90 <enum>QFormLayout::FieldsStayAtSizeHint</enum>
91 </property>
92 <item row="0" column="0">
93 <widget class="QLabel" name="label_14">
94 <property name="text">
95 <string>Audio driver:</string>
96 </property>
97 </widget>
98 </item>
99 <item row="0" column="1">
100 <widget class="QComboBox" name="audioDriver">
101 <property name="sizePolicy">
102 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
103 <horstretch>0</horstretch>
104 <verstretch>0</verstretch>
105 </sizepolicy>
106 </property>
107 </widget>
108 </item>
109 <item row="1" column="0">
110 <widget class="QLabel" name="audioBufferSizeLabel">
111 <property name="text">
112 <string>Audio buffer:</string>
113 </property>
114 </widget>
115 </item>
116 <item row="1" column="1">
117 <layout class="QHBoxLayout" name="horizontalLayout_11">
118 <item>
119 <widget class="QComboBox" name="audioBufferSize">
120 <property name="editable">
121 <bool>true</bool>
122 </property>
123 <property name="currentText">
124 <string>1536</string>
125 </property>
126 <property name="currentIndex">
127 <number>3</number>
128 </property>
129 <item>
130 <property name="text">
131 <string>512</string>
132 </property>
133 </item>
134 <item>
135 <property name="text">
136 <string>768</string>
137 </property>
138 </item>
139 <item>
140 <property name="text">
141 <string>1024</string>
142 </property>
143 </item>
144 <item>
145 <property name="text">
146 <string>1536</string>
147 </property>
148 </item>
149 <item>
150 <property name="text">
151 <string>2048</string>
152 </property>
153 </item>
154 <item>
155 <property name="text">
156 <string>3072</string>
157 </property>
158 </item>
159 <item>
160 <property name="text">
161 <string>4096</string>
162 </property>
163 </item>
164 </widget>
165 </item>
166 <item>
167 <widget class="QLabel" name="label_16">
168 <property name="text">
169 <string>samples</string>
170 </property>
171 </widget>
172 </item>
173 </layout>
174 </item>
175 <item row="2" column="0">
176 <widget class="QLabel" name="label_19">
177 <property name="text">
178 <string>Sample rate:</string>
179 </property>
180 </widget>
181 </item>
182 <item row="2" column="1">
183 <layout class="QHBoxLayout" name="horizontalLayout_14">
184 <item>
185 <widget class="QComboBox" name="sampleRate">
186 <property name="editable">
187 <bool>true</bool>
188 </property>
189 <property name="currentText">
190 <string>44100</string>
191 </property>
192 <property name="currentIndex">
193 <number>2</number>
194 </property>
195 <item>
196 <property name="text">
197 <string>22050</string>
198 </property>
199 </item>
200 <item>
201 <property name="text">
202 <string>32000</string>
203 </property>
204 </item>
205 <item>
206 <property name="text">
207 <string>44100</string>
208 </property>
209 </item>
210 <item>
211 <property name="text">
212 <string>48000</string>
213 </property>
214 </item>
215 </widget>
216 </item>
217 <item>
218 <widget class="QLabel" name="label_20">
219 <property name="text">
220 <string>Hz</string>
221 </property>
222 </widget>
223 </item>
224 </layout>
225 </item>
226 <item row="3" column="0">
227 <widget class="QLabel" name="label_17">
228 <property name="text">
229 <string>Volume:</string>
230 </property>
231 </widget>
232 </item>
233 <item row="3" column="1">
234 <layout class="QHBoxLayout" name="horizontalLayout_6">
235 <item>
236 <widget class="QSlider" name="volume">
237 <property name="minimumSize">
238 <size>
239 <width>128</width>
240 <height>0</height>
241 </size>
242 </property>
243 <property name="maximum">
244 <number>256</number>
245 </property>
246 <property name="pageStep">
247 <number>16</number>
248 </property>
249 <property name="value">
250 <number>256</number>
251 </property>
252 <property name="orientation">
253 <enum>Qt::Horizontal</enum>
254 </property>
255 </widget>
256 </item>
257 <item>
258 <widget class="QCheckBox" name="mute">
259 <property name="text">
260 <string>Mute</string>
261 </property>
262 </widget>
263 </item>
264 </layout>
265 </item>
266 <item row="4" column="0" colspan="2">
267 <widget class="Line" name="line_4">
268 <property name="orientation">
269 <enum>Qt::Horizontal</enum>
270 </property>
271 </widget>
272 </item>
273 <item row="5" column="0">
274 <widget class="QLabel" name="label_10">
275 <property name="text">
276 <string>Display driver:</string>
277 </property>
278 </widget>
279 </item>
280 <item row="5" column="1">
281 <widget class="QComboBox" name="displayDriver">
282 <property name="sizePolicy">
283 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
284 <horstretch>0</horstretch>
285 <verstretch>0</verstretch>
286 </sizepolicy>
287 </property>
288 </widget>
289 </item>
290 <item row="6" column="0">
291 <widget class="QLabel" name="label_9">
292 <property name="text">
293 <string>Frameskip:</string>
294 </property>
295 </widget>
296 </item>
297 <item row="6" column="1">
298 <layout class="QHBoxLayout" name="horizontalLayout_16">
299 <item>
300 <widget class="QLabel" name="label_12">
301 <property name="text">
302 <string>Skip every</string>
303 </property>
304 </widget>
305 </item>
306 <item>
307 <widget class="QSpinBox" name="frameskip"/>
308 </item>
309 <item>
310 <widget class="QLabel" name="label_13">
311 <property name="text">
312 <string>frames</string>
313 </property>
314 </widget>
315 </item>
316 </layout>
317 </item>
318 <item row="7" column="0">
319 <widget class="QLabel" name="label_3">
320 <property name="text">
321 <string>FPS target:</string>
322 </property>
323 </widget>
324 </item>
325 <item row="7" column="1">
326 <layout class="QHBoxLayout" name="horizontalLayout_2">
327 <item>
328 <widget class="QDoubleSpinBox" name="fpsTarget">
329 <property name="decimals">
330 <number>4</number>
331 </property>
332 <property name="minimum">
333 <double>0.010000000000000</double>
334 </property>
335 <property name="maximum">
336 <double>240.000000000000000</double>
337 </property>
338 <property name="value">
339 <double>60.000000000000000</double>
340 </property>
341 </widget>
342 </item>
343 <item>
344 <widget class="QLabel" name="label_11">
345 <property name="text">
346 <string>frames per second</string>
347 </property>
348 </widget>
349 </item>
350 </layout>
351 </item>
352 <item row="8" column="0" colspan="2">
353 <widget class="Line" name="line_5">
354 <property name="orientation">
355 <enum>Qt::Horizontal</enum>
356 </property>
357 </widget>
358 </item>
359 <item row="9" column="0">
360 <widget class="QLabel" name="label_2">
361 <property name="text">
362 <string>Sync:</string>
363 </property>
364 </widget>
365 </item>
366 <item row="9" column="1">
367 <layout class="QHBoxLayout" name="horizontalLayout_10">
368 <item>
369 <widget class="QCheckBox" name="videoSync">
370 <property name="text">
371 <string>Video</string>
372 </property>
373 </widget>
374 </item>
375 <item>
376 <widget class="QCheckBox" name="audioSync">
377 <property name="text">
378 <string>Audio</string>
379 </property>
380 </widget>
381 </item>
382 </layout>
383 </item>
384 <item row="10" column="1">
385 <widget class="QCheckBox" name="lockAspectRatio">
386 <property name="text">
387 <string>Lock aspect ratio</string>
388 </property>
389 </widget>
390 </item>
391 <item row="12" column="1">
392 <widget class="QCheckBox" name="resampleVideo">
393 <property name="text">
394 <string>Bilinear filtering</string>
395 </property>
396 </widget>
397 </item>
398 <item row="11" column="1">
399 <widget class="QCheckBox" name="lockIntegerScaling">
400 <property name="text">
401 <string>Force integer scaling</string>
402 </property>
403 </widget>
404 </item>
405 </layout>
406 </widget>
407 <widget class="QWidget" name="interface_2">
408 <layout class="QFormLayout" name="formLayout_4">
409 <item row="0" column="0">
410 <widget class="QLabel" name="label_26">
411 <property name="text">
412 <string>Language</string>
413 </property>
414 </widget>
415 </item>
416 <item row="0" column="1">
417 <widget class="QComboBox" name="languages">
418 <item>
419 <property name="text">
420 <string>English</string>
421 </property>
422 </item>
423 </widget>
424 </item>
425 <item row="1" column="0" colspan="2">
426 <widget class="Line" name="line_10">
427 <property name="orientation">
428 <enum>Qt::Horizontal</enum>
429 </property>
430 </widget>
431 </item>
432 <item row="2" column="0">
433 <widget class="QLabel" name="label_6">
434 <property name="text">
435 <string>Library:</string>
436 </property>
437 </widget>
438 </item>
439 <item row="2" column="1">
440 <widget class="QComboBox" name="libraryStyle">
441 <item>
442 <property name="text">
443 <string>List view</string>
444 </property>
445 </item>
446 <item>
447 <property name="text">
448 <string>Tree view</string>
449 </property>
450 </item>
451 </widget>
452 </item>
453 <item row="3" column="1">
454 <widget class="QCheckBox" name="showLibrary">
455 <property name="text">
456 <string>Show when no game open</string>
457 </property>
458 <property name="checked">
459 <bool>true</bool>
460 </property>
461 </widget>
462 </item>
463 <item row="4" column="1">
464 <widget class="QPushButton" name="clearCache">
465 <property name="text">
466 <string>Clear cache</string>
467 </property>
468 </widget>
469 </item>
470 <item row="5" column="0" colspan="2">
471 <widget class="Line" name="line_8">
472 <property name="orientation">
473 <enum>Qt::Horizontal</enum>
474 </property>
475 </widget>
476 </item>
477 <item row="6" column="1">
478 <widget class="QCheckBox" name="allowOpposingDirections">
479 <property name="text">
480 <string>Allow opposing input directions</string>
481 </property>
482 </widget>
483 </item>
484 <item row="7" column="1">
485 <widget class="QCheckBox" name="suspendScreensaver">
486 <property name="text">
487 <string>Suspend screensaver</string>
488 </property>
489 <property name="checked">
490 <bool>true</bool>
491 </property>
492 </widget>
493 </item>
494 <item row="8" column="1">
495 <widget class="QCheckBox" name="pauseOnFocusLost">
496 <property name="text">
497 <string>Pause when inactive</string>
498 </property>
499 </widget>
500 </item>
501 <item row="9" column="1">
502 <widget class="QCheckBox" name="showFps">
503 <property name="text">
504 <string>Show FPS in title bar</string>
505 </property>
506 <property name="checked">
507 <bool>true</bool>
508 </property>
509 </widget>
510 </item>
511 <item row="10" column="0" colspan="2">
512 <widget class="Line" name="line_13">
513 <property name="orientation">
514 <enum>Qt::Horizontal</enum>
515 </property>
516 </widget>
517 </item>
518 <item row="13" column="0" colspan="2">
519 <widget class="Line" name="line_16">
520 <property name="orientation">
521 <enum>Qt::Horizontal</enum>
522 </property>
523 </widget>
524 </item>
525 <item row="14" column="1">
526 <widget class="QCheckBox" name="cheatAutosave">
527 <property name="text">
528 <string>Automatically save cheats</string>
529 </property>
530 <property name="checked">
531 <bool>true</bool>
532 </property>
533 </widget>
534 </item>
535 <item row="15" column="1">
536 <widget class="QCheckBox" name="cheatAutoload">
537 <property name="text">
538 <string>Automatically load cheats</string>
539 </property>
540 <property name="checked">
541 <bool>true</bool>
542 </property>
543 </widget>
544 </item>
545 <item row="11" column="1">
546 <widget class="QCheckBox" name="autosave">
547 <property name="text">
548 <string>Automatically save state</string>
549 </property>
550 <property name="checked">
551 <bool>true</bool>
552 </property>
553 </widget>
554 </item>
555 <item row="12" column="1">
556 <widget class="QCheckBox" name="autoload">
557 <property name="text">
558 <string>Automatically load state</string>
559 </property>
560 <property name="checked">
561 <bool>true</bool>
562 </property>
563 </widget>
564 </item>
565 </layout>
566 </widget>
567 <widget class="QWidget" name="emulation">
568 <layout class="QFormLayout" name="formLayout_2">
569 <property name="fieldGrowthPolicy">
570 <enum>QFormLayout::FieldsStayAtSizeHint</enum>
571 </property>
572 <item row="0" column="0">
573 <widget class="QLabel" name="label_18">
574 <property name="text">
575 <string>Fast forward speed:</string>
576 </property>
577 </widget>
578 </item>
579 <item row="0" column="1">
580 <layout class="QHBoxLayout" name="horizontalLayout_5">
581 <item>
582 <widget class="QDoubleSpinBox" name="fastForwardRatio">
583 <property name="enabled">
584 <bool>false</bool>
585 </property>
586 <property name="suffix">
587 <string>×</string>
588 </property>
589 <property name="minimum">
590 <double>0.010000000000000</double>
591 </property>
592 <property name="maximum">
593 <double>20.000000000000000</double>
594 </property>
595 <property name="singleStep">
596 <double>0.500000000000000</double>
597 </property>
598 <property name="value">
599 <double>5.000000000000000</double>
600 </property>
601 </widget>
602 </item>
603 <item>
604 <widget class="QCheckBox" name="fastForwardUnbounded">
605 <property name="text">
606 <string>Unbounded</string>
607 </property>
608 <property name="checked">
609 <bool>true</bool>
610 </property>
611 </widget>
612 </item>
613 </layout>
614 </item>
615 <item row="2" column="0" colspan="2">
616 <widget class="Line" name="line">
617 <property name="orientation">
618 <enum>Qt::Horizontal</enum>
619 </property>
620 </widget>
621 </item>
622 <item row="3" column="1">
623 <widget class="QCheckBox" name="rewind">
624 <property name="text">
625 <string>Enable rewind</string>
626 </property>
627 </widget>
628 </item>
629 <item row="4" column="0">
630 <widget class="QLabel" name="label_8">
631 <property name="text">
632 <string>Rewind history:</string>
633 </property>
634 </widget>
635 </item>
636 <item row="4" column="1">
637 <layout class="QHBoxLayout" name="horizontalLayout_13">
638 <item>
639 <widget class="QSpinBox" name="rewindCapacity">
640 <property name="maximum">
641 <number>3600</number>
642 </property>
643 </widget>
644 </item>
645 <item>
646 <widget class="QLabel" name="label_7">
647 <property name="text">
648 <string>frames</string>
649 </property>
650 </widget>
651 </item>
652 </layout>
653 </item>
654 <item row="6" column="0" colspan="2">
655 <widget class="Line" name="line_3">
656 <property name="orientation">
657 <enum>Qt::Horizontal</enum>
658 </property>
659 </widget>
660 </item>
661 <item row="7" column="0">
662 <widget class="QLabel" name="label_15">
663 <property name="text">
664 <string>Idle loops:</string>
665 </property>
666 </widget>
667 </item>
668 <item row="7" column="1">
669 <widget class="QComboBox" name="idleOptimization">
670 <item>
671 <property name="text">
672 <string>Run all</string>
673 </property>
674 </item>
675 <item>
676 <property name="text">
677 <string>Remove known</string>
678 </property>
679 </item>
680 <item>
681 <property name="text">
682 <string>Detect and remove</string>
683 </property>
684 </item>
685 </widget>
686 </item>
687 <item row="9" column="0" colspan="2">
688 <widget class="Line" name="line_2">
689 <property name="orientation">
690 <enum>Qt::Horizontal</enum>
691 </property>
692 </widget>
693 </item>
694 <item row="10" column="0">
695 <widget class="QLabel" name="label_24">
696 <property name="text">
697 <string>Savestate extra data:</string>
698 </property>
699 </widget>
700 </item>
701 <item row="10" column="1">
702 <widget class="QCheckBox" name="saveStateScreenshot">
703 <property name="text">
704 <string>Screenshot</string>
705 </property>
706 <property name="checked">
707 <bool>true</bool>
708 </property>
709 </widget>
710 </item>
711 <item row="11" column="1">
712 <widget class="QCheckBox" name="saveStateSave">
713 <property name="text">
714 <string>Save data</string>
715 </property>
716 <property name="checked">
717 <bool>true</bool>
718 </property>
719 </widget>
720 </item>
721 <item row="12" column="1">
722 <widget class="QCheckBox" name="saveStateCheats">
723 <property name="text">
724 <string>Cheat codes</string>
725 </property>
726 <property name="checked">
727 <bool>true</bool>
728 </property>
729 </widget>
730 </item>
731 <item row="14" column="0">
732 <widget class="QLabel" name="label_25">
733 <property name="text">
734 <string>Load extra data:</string>
735 </property>
736 </widget>
737 </item>
738 <item row="14" column="1">
739 <widget class="QCheckBox" name="loadStateScreenshot">
740 <property name="text">
741 <string>Screenshot</string>
742 </property>
743 <property name="checked">
744 <bool>true</bool>
745 </property>
746 </widget>
747 </item>
748 <item row="15" column="1">
749 <widget class="QCheckBox" name="loadStateSave">
750 <property name="text">
751 <string>Save data</string>
752 </property>
753 </widget>
754 </item>
755 <item row="16" column="1">
756 <widget class="QCheckBox" name="loadStateCheats">
757 <property name="text">
758 <string>Cheat codes</string>
759 </property>
760 </widget>
761 </item>
762 <item row="13" column="0" colspan="2">
763 <widget class="Line" name="line_9">
764 <property name="orientation">
765 <enum>Qt::Horizontal</enum>
766 </property>
767 </widget>
768 </item>
769 <item row="5" column="1">
770 <widget class="QCheckBox" name="rewindSave">
771 <property name="text">
772 <string>Rewind affects save data</string>
773 </property>
774 <property name="checked">
775 <bool>true</bool>
776 </property>
777 </widget>
778 </item>
779 <item row="8" column="1">
780 <widget class="QCheckBox" name="preload">
781 <property name="text">
782 <string>Preload entire ROM into memory</string>
783 </property>
784 </widget>
785 </item>
786 <item row="1" column="0">
787 <widget class="QLabel" name="label_31">
788 <property name="text">
789 <string>Autofire interval:</string>
790 </property>
791 </widget>
792 </item>
793 <item row="1" column="1">
794 <widget class="QSpinBox" name="autofireThreshold">
795 <property name="minimum">
796 <number>1</number>
797 </property>
798 <property name="maximum">
799 <number>60</number>
800 </property>
801 </widget>
802 </item>
803 </layout>
804 </widget>
805 <widget class="QWidget" name="bios">
806 <layout class="QFormLayout" name="formLayout_5">
807 <item row="0" column="0">
808 <widget class="QLabel" name="label">
809 <property name="text">
810 <string>GB BIOS file:</string>
811 </property>
812 </widget>
813 </item>
814 <item row="0" column="1">
815 <layout class="QHBoxLayout" name="horizontalLayout">
816 <item>
817 <widget class="QLineEdit" name="gbBios">
818 <property name="sizePolicy">
819 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
820 <horstretch>0</horstretch>
821 <verstretch>0</verstretch>
822 </sizepolicy>
823 </property>
824 </widget>
825 </item>
826 <item>
827 <widget class="QPushButton" name="gbBiosBrowse">
828 <property name="text">
829 <string>Browse</string>
830 </property>
831 </widget>
832 </item>
833 </layout>
834 </item>
835 <item row="4" column="1">
836 <widget class="QCheckBox" name="useBios">
837 <property name="text">
838 <string>Use BIOS file if found</string>
839 </property>
840 <property name="checked">
841 <bool>true</bool>
842 </property>
843 </widget>
844 </item>
845 <item row="5" column="1">
846 <widget class="QCheckBox" name="skipBios">
847 <property name="text">
848 <string>Skip BIOS intro</string>
849 </property>
850 </widget>
851 </item>
852 <item row="3" column="1">
853 <layout class="QHBoxLayout" name="horizontalLayout_8">
854 <item>
855 <widget class="QLineEdit" name="gbaBios">
856 <property name="sizePolicy">
857 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
858 <horstretch>0</horstretch>
859 <verstretch>0</verstretch>
860 </sizepolicy>
861 </property>
862 </widget>
863 </item>
864 <item>
865 <widget class="QPushButton" name="gbaBiosBrowse">
866 <property name="text">
867 <string>Browse</string>
868 </property>
869 </widget>
870 </item>
871 </layout>
872 </item>
873 <item row="3" column="0">
874 <widget class="QLabel" name="label_4">
875 <property name="text">
876 <string>GBA BIOS file:</string>
877 </property>
878 </widget>
879 </item>
880 <item row="2" column="0">
881 <widget class="QLabel" name="label_5">
882 <property name="text">
883 <string>GBC BIOS file:</string>
884 </property>
885 </widget>
886 </item>
887 <item row="2" column="1">
888 <layout class="QHBoxLayout" name="horizontalLayout_30">
889 <item>
890 <widget class="QLineEdit" name="gbcBios">
891 <property name="sizePolicy">
892 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
893 <horstretch>0</horstretch>
894 <verstretch>0</verstretch>
895 </sizepolicy>
896 </property>
897 </widget>
898 </item>
899 <item>
900 <widget class="QPushButton" name="gbcBiosBrowse">
901 <property name="text">
902 <string>Browse</string>
903 </property>
904 </widget>
905 </item>
906 </layout>
907 </item>
908 <item row="1" column="0">
909 <widget class="QLabel" name="label_30">
910 <property name="text">
911 <string>SGB BIOS file:</string>
912 </property>
913 </widget>
914 </item>
915 <item row="1" column="1">
916 <layout class="QHBoxLayout" name="horizontalLayout_12">
917 <item>
918 <widget class="QLineEdit" name="sgbBios">
919 <property name="sizePolicy">
920 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
921 <horstretch>0</horstretch>
922 <verstretch>0</verstretch>
923 </sizepolicy>
924 </property>
925 </widget>
926 </item>
927 <item>
928 <widget class="QPushButton" name="sgbBiosBrowse">
929 <property name="text">
930 <string>Browse</string>
931 </property>
932 </widget>
933 </item>
934 </layout>
935 </item>
936 </layout>
937 </widget>
938 <widget class="QWidget" name="paths">
939 <layout class="QFormLayout" name="formLayout_3">
940 <property name="fieldGrowthPolicy">
941 <enum>QFormLayout::FieldsStayAtSizeHint</enum>
942 </property>
943 <item row="1" column="0">
944 <widget class="QLabel" name="label_21">
945 <property name="text">
946 <string>Save games</string>
947 </property>
948 </widget>
949 </item>
950 <item row="1" column="1">
951 <layout class="QHBoxLayout" name="horizontalLayout_3">
952 <item>
953 <widget class="QLineEdit" name="savegamePath">
954 <property name="sizePolicy">
955 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
956 <horstretch>0</horstretch>
957 <verstretch>0</verstretch>
958 </sizepolicy>
959 </property>
960 <property name="minimumSize">
961 <size>
962 <width>170</width>
963 <height>0</height>
964 </size>
965 </property>
966 </widget>
967 </item>
968 <item>
969 <widget class="QPushButton" name="savegameBrowse">
970 <property name="text">
971 <string>Browse</string>
972 </property>
973 </widget>
974 </item>
975 </layout>
976 </item>
977 <item row="2" column="1">
978 <widget class="QCheckBox" name="savegameSameDir">
979 <property name="text">
980 <string>Same directory as the ROM</string>
981 </property>
982 </widget>
983 </item>
984 <item row="3" column="0" colspan="2">
985 <widget class="Line" name="line_7">
986 <property name="orientation">
987 <enum>Qt::Horizontal</enum>
988 </property>
989 </widget>
990 </item>
991 <item row="4" column="0">
992 <widget class="QLabel" name="label_22">
993 <property name="text">
994 <string>Save states</string>
995 </property>
996 </widget>
997 </item>
998 <item row="4" column="1">
999 <layout class="QHBoxLayout" name="horizontalLayout_4">
1000 <item>
1001 <widget class="QLineEdit" name="savestatePath">
1002 <property name="sizePolicy">
1003 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1004 <horstretch>0</horstretch>
1005 <verstretch>0</verstretch>
1006 </sizepolicy>
1007 </property>
1008 <property name="minimumSize">
1009 <size>
1010 <width>170</width>
1011 <height>0</height>
1012 </size>
1013 </property>
1014 </widget>
1015 </item>
1016 <item>
1017 <widget class="QPushButton" name="savestateBrowse">
1018 <property name="text">
1019 <string>Browse</string>
1020 </property>
1021 </widget>
1022 </item>
1023 </layout>
1024 </item>
1025 <item row="5" column="1">
1026 <widget class="QCheckBox" name="savestateSameDir">
1027 <property name="text">
1028 <string>Same directory as the ROM</string>
1029 </property>
1030 </widget>
1031 </item>
1032 <item row="6" column="0" colspan="2">
1033 <widget class="Line" name="line_6">
1034 <property name="orientation">
1035 <enum>Qt::Horizontal</enum>
1036 </property>
1037 </widget>
1038 </item>
1039 <item row="7" column="0">
1040 <widget class="QLabel" name="label_23">
1041 <property name="text">
1042 <string>Screenshots</string>
1043 </property>
1044 </widget>
1045 </item>
1046 <item row="7" column="1">
1047 <layout class="QHBoxLayout" name="horizontalLayout_7">
1048 <item>
1049 <widget class="QLineEdit" name="screenshotPath">
1050 <property name="sizePolicy">
1051 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1052 <horstretch>0</horstretch>
1053 <verstretch>0</verstretch>
1054 </sizepolicy>
1055 </property>
1056 <property name="minimumSize">
1057 <size>
1058 <width>170</width>
1059 <height>0</height>
1060 </size>
1061 </property>
1062 </widget>
1063 </item>
1064 <item>
1065 <widget class="QPushButton" name="screenshotBrowse">
1066 <property name="text">
1067 <string>Browse</string>
1068 </property>
1069 </widget>
1070 </item>
1071 </layout>
1072 </item>
1073 <item row="8" column="1">
1074 <widget class="QCheckBox" name="screenshotSameDir">
1075 <property name="text">
1076 <string>Same directory as the ROM</string>
1077 </property>
1078 </widget>
1079 </item>
1080 <item row="9" column="0" colspan="2">
1081 <widget class="Line" name="line_15">
1082 <property name="orientation">
1083 <enum>Qt::Horizontal</enum>
1084 </property>
1085 </widget>
1086 </item>
1087 <item row="10" column="0">
1088 <widget class="QLabel" name="label_47">
1089 <property name="text">
1090 <string>Patches</string>
1091 </property>
1092 </widget>
1093 </item>
1094 <item row="10" column="1">
1095 <layout class="QHBoxLayout" name="horizontalLayout_26">
1096 <item>
1097 <widget class="QLineEdit" name="patchPath">
1098 <property name="sizePolicy">
1099 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1100 <horstretch>0</horstretch>
1101 <verstretch>0</verstretch>
1102 </sizepolicy>
1103 </property>
1104 <property name="minimumSize">
1105 <size>
1106 <width>170</width>
1107 <height>0</height>
1108 </size>
1109 </property>
1110 </widget>
1111 </item>
1112 <item>
1113 <widget class="QPushButton" name="patchBrowse">
1114 <property name="text">
1115 <string>Browse</string>
1116 </property>
1117 </widget>
1118 </item>
1119 </layout>
1120 </item>
1121 <item row="11" column="1">
1122 <widget class="QCheckBox" name="patchSameDir">
1123 <property name="text">
1124 <string>Same directory as the ROM</string>
1125 </property>
1126 </widget>
1127 </item>
1128 <item row="12" column="0" colspan="2">
1129 <widget class="Line" name="line_14">
1130 <property name="orientation">
1131 <enum>Qt::Horizontal</enum>
1132 </property>
1133 </widget>
1134 </item>
1135 <item row="13" column="0">
1136 <widget class="QLabel" name="label_48">
1137 <property name="text">
1138 <string>Cheats</string>
1139 </property>
1140 </widget>
1141 </item>
1142 <item row="13" column="1">
1143 <layout class="QHBoxLayout" name="horizontalLayout_27">
1144 <item>
1145 <widget class="QLineEdit" name="cheatsPath">
1146 <property name="sizePolicy">
1147 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1148 <horstretch>0</horstretch>
1149 <verstretch>0</verstretch>
1150 </sizepolicy>
1151 </property>
1152 <property name="minimumSize">
1153 <size>
1154 <width>170</width>
1155 <height>0</height>
1156 </size>
1157 </property>
1158 </widget>
1159 </item>
1160 <item>
1161 <widget class="QPushButton" name="cheatsBrowse">
1162 <property name="text">
1163 <string>Browse</string>
1164 </property>
1165 </widget>
1166 </item>
1167 </layout>
1168 </item>
1169 <item row="14" column="1">
1170 <widget class="QCheckBox" name="cheatsSameDir">
1171 <property name="text">
1172 <string>Same directory as the ROM</string>
1173 </property>
1174 </widget>
1175 </item>
1176 </layout>
1177 </widget>
1178 <widget class="QWidget" name="gb">
1179 <layout class="QFormLayout" name="formLayout_1">
1180 <item row="0" column="0">
1181 <widget class="QLabel" name="label_29">
1182 <property name="text">
1183 <string>Game Boy model</string>
1184 </property>
1185 </widget>
1186 </item>
1187 <item row="0" column="1">
1188 <widget class="QComboBox" name="gbModel">
1189 <item>
1190 <property name="text">
1191 <string>Autodetect</string>
1192 </property>
1193 </item>
1194 <item>
1195 <property name="text">
1196 <string>Game Boy (DMG)</string>
1197 </property>
1198 </item>
1199 <item>
1200 <property name="text">
1201 <string>Super Game Boy (SGB)</string>
1202 </property>
1203 </item>
1204 <item>
1205 <property name="text">
1206 <string>Game Boy Color (CGB)</string>
1207 </property>
1208 </item>
1209 <item>
1210 <property name="text">
1211 <string>Game Boy Advance (AGB)</string>
1212 </property>
1213 </item>
1214 </widget>
1215 </item>
1216 <item row="1" column="0">
1217 <widget class="QLabel" name="label_32">
1218 <property name="text">
1219 <string>Super Game Boy model</string>
1220 </property>
1221 </widget>
1222 </item>
1223 <item row="1" column="1">
1224 <widget class="QComboBox" name="sgbModel">
1225 <item>
1226 <property name="text">
1227 <string>Autodetect</string>
1228 </property>
1229 </item>
1230 <item>
1231 <property name="text">
1232 <string>Game Boy (DMG)</string>
1233 </property>
1234 </item>
1235 <item>
1236 <property name="text">
1237 <string>Super Game Boy (SGB)</string>
1238 </property>
1239 </item>
1240 <item>
1241 <property name="text">
1242 <string>Game Boy Color (CGB)</string>
1243 </property>
1244 </item>
1245 <item>
1246 <property name="text">
1247 <string>Game Boy Advance (AGB)</string>
1248 </property>
1249 </item>
1250 </widget>
1251 </item>
1252 <item row="2" column="0">
1253 <widget class="QLabel" name="label_33">
1254 <property name="text">
1255 <string>Game Boy Color model</string>
1256 </property>
1257 </widget>
1258 </item>
1259 <item row="2" column="1">
1260 <widget class="QComboBox" name="cgbModel">
1261 <item>
1262 <property name="text">
1263 <string>Autodetect</string>
1264 </property>
1265 </item>
1266 <item>
1267 <property name="text">
1268 <string>Game Boy (DMG)</string>
1269 </property>
1270 </item>
1271 <item>
1272 <property name="text">
1273 <string>Super Game Boy (SGB)</string>
1274 </property>
1275 </item>
1276 <item>
1277 <property name="text">
1278 <string>Game Boy Color (CGB)</string>
1279 </property>
1280 </item>
1281 <item>
1282 <property name="text">
1283 <string>Game Boy Advance (AGB)</string>
1284 </property>
1285 </item>
1286 </widget>
1287 </item>
1288 <item row="3" column="0" colspan="2">
1289 <widget class="Line" name="line_12">
1290 <property name="orientation">
1291 <enum>Qt::Horizontal</enum>
1292 </property>
1293 </widget>
1294 </item>
1295 <item row="4" column="0">
1296 <widget class="QLabel" name="label_28">
1297 <property name="text">
1298 <string>Default BG colors:</string>
1299 </property>
1300 </widget>
1301 </item>
1302 <item row="4" column="1">
1303 <layout class="QHBoxLayout" name="horizontalLayout_9">
1304 <item>
1305 <widget class="QFrame" name="color0">
1306 <property name="minimumSize">
1307 <size>
1308 <width>30</width>
1309 <height>30</height>
1310 </size>
1311 </property>
1312 <property name="autoFillBackground">
1313 <bool>true</bool>
1314 </property>
1315 <property name="frameShape">
1316 <enum>QFrame::StyledPanel</enum>
1317 </property>
1318 <property name="frameShadow">
1319 <enum>QFrame::Raised</enum>
1320 </property>
1321 </widget>
1322 </item>
1323 <item>
1324 <widget class="QFrame" name="color1">
1325 <property name="minimumSize">
1326 <size>
1327 <width>30</width>
1328 <height>30</height>
1329 </size>
1330 </property>
1331 <property name="autoFillBackground">
1332 <bool>true</bool>
1333 </property>
1334 <property name="frameShape">
1335 <enum>QFrame::StyledPanel</enum>
1336 </property>
1337 <property name="frameShadow">
1338 <enum>QFrame::Raised</enum>
1339 </property>
1340 </widget>
1341 </item>
1342 <item>
1343 <widget class="QFrame" name="color2">
1344 <property name="minimumSize">
1345 <size>
1346 <width>30</width>
1347 <height>30</height>
1348 </size>
1349 </property>
1350 <property name="autoFillBackground">
1351 <bool>true</bool>
1352 </property>
1353 <property name="frameShape">
1354 <enum>QFrame::StyledPanel</enum>
1355 </property>
1356 <property name="frameShadow">
1357 <enum>QFrame::Raised</enum>
1358 </property>
1359 </widget>
1360 </item>
1361 <item>
1362 <widget class="QFrame" name="color3">
1363 <property name="minimumSize">
1364 <size>
1365 <width>30</width>
1366 <height>30</height>
1367 </size>
1368 </property>
1369 <property name="autoFillBackground">
1370 <bool>true</bool>
1371 </property>
1372 <property name="frameShape">
1373 <enum>QFrame::StyledPanel</enum>
1374 </property>
1375 <property name="frameShadow">
1376 <enum>QFrame::Raised</enum>
1377 </property>
1378 </widget>
1379 </item>
1380 </layout>
1381 </item>
1382 <item row="5" column="1">
1383 <layout class="QHBoxLayout" name="horizontalLayout_15">
1384 <item>
1385 <widget class="QFrame" name="color4">
1386 <property name="minimumSize">
1387 <size>
1388 <width>30</width>
1389 <height>30</height>
1390 </size>
1391 </property>
1392 <property name="autoFillBackground">
1393 <bool>true</bool>
1394 </property>
1395 <property name="frameShape">
1396 <enum>QFrame::StyledPanel</enum>
1397 </property>
1398 <property name="frameShadow">
1399 <enum>QFrame::Raised</enum>
1400 </property>
1401 </widget>
1402 </item>
1403 <item>
1404 <widget class="QFrame" name="color5">
1405 <property name="minimumSize">
1406 <size>
1407 <width>30</width>
1408 <height>30</height>
1409 </size>
1410 </property>
1411 <property name="autoFillBackground">
1412 <bool>true</bool>
1413 </property>
1414 <property name="frameShape">
1415 <enum>QFrame::StyledPanel</enum>
1416 </property>
1417 <property name="frameShadow">
1418 <enum>QFrame::Raised</enum>
1419 </property>
1420 </widget>
1421 </item>
1422 <item>
1423 <widget class="QFrame" name="color6">
1424 <property name="minimumSize">
1425 <size>
1426 <width>30</width>
1427 <height>30</height>
1428 </size>
1429 </property>
1430 <property name="autoFillBackground">
1431 <bool>true</bool>
1432 </property>
1433 <property name="frameShape">
1434 <enum>QFrame::StyledPanel</enum>
1435 </property>
1436 <property name="frameShadow">
1437 <enum>QFrame::Raised</enum>
1438 </property>
1439 </widget>
1440 </item>
1441 <item>
1442 <widget class="QFrame" name="color7">
1443 <property name="minimumSize">
1444 <size>
1445 <width>30</width>
1446 <height>30</height>
1447 </size>
1448 </property>
1449 <property name="autoFillBackground">
1450 <bool>true</bool>
1451 </property>
1452 <property name="frameShape">
1453 <enum>QFrame::StyledPanel</enum>
1454 </property>
1455 <property name="frameShadow">
1456 <enum>QFrame::Raised</enum>
1457 </property>
1458 </widget>
1459 </item>
1460 </layout>
1461 </item>
1462 <item row="7" column="1">
1463 <widget class="QCheckBox" name="sgbBorders">
1464 <property name="text">
1465 <string>Super Game Boy borders</string>
1466 </property>
1467 </widget>
1468 </item>
1469 <item row="8" column="0" colspan="2">
1470 <widget class="Line" name="line_11">
1471 <property name="orientation">
1472 <enum>Qt::Horizontal</enum>
1473 </property>
1474 </widget>
1475 </item>
1476 <item row="9" column="0">
1477 <widget class="QLabel" name="label_27">
1478 <property name="text">
1479 <string>Camera driver:</string>
1480 </property>
1481 </widget>
1482 </item>
1483 <item row="9" column="1">
1484 <widget class="QComboBox" name="cameraDriver">
1485 <property name="sizePolicy">
1486 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1487 <horstretch>0</horstretch>
1488 <verstretch>0</verstretch>
1489 </sizepolicy>
1490 </property>
1491 </widget>
1492 </item>
1493 <item row="6" column="1">
1494 <layout class="QHBoxLayout" name="horizontalLayout_37">
1495 <item>
1496 <widget class="QFrame" name="color8">
1497 <property name="minimumSize">
1498 <size>
1499 <width>30</width>
1500 <height>30</height>
1501 </size>
1502 </property>
1503 <property name="autoFillBackground">
1504 <bool>true</bool>
1505 </property>
1506 <property name="frameShape">
1507 <enum>QFrame::StyledPanel</enum>
1508 </property>
1509 <property name="frameShadow">
1510 <enum>QFrame::Raised</enum>
1511 </property>
1512 </widget>
1513 </item>
1514 <item>
1515 <widget class="QFrame" name="color9">
1516 <property name="minimumSize">
1517 <size>
1518 <width>30</width>
1519 <height>30</height>
1520 </size>
1521 </property>
1522 <property name="autoFillBackground">
1523 <bool>true</bool>
1524 </property>
1525 <property name="frameShape">
1526 <enum>QFrame::StyledPanel</enum>
1527 </property>
1528 <property name="frameShadow">
1529 <enum>QFrame::Raised</enum>
1530 </property>
1531 </widget>
1532 </item>
1533 <item>
1534 <widget class="QFrame" name="color10">
1535 <property name="minimumSize">
1536 <size>
1537 <width>30</width>
1538 <height>30</height>
1539 </size>
1540 </property>
1541 <property name="autoFillBackground">
1542 <bool>true</bool>
1543 </property>
1544 <property name="frameShape">
1545 <enum>QFrame::StyledPanel</enum>
1546 </property>
1547 <property name="frameShadow">
1548 <enum>QFrame::Raised</enum>
1549 </property>
1550 </widget>
1551 </item>
1552 <item>
1553 <widget class="QFrame" name="color11">
1554 <property name="minimumSize">
1555 <size>
1556 <width>30</width>
1557 <height>30</height>
1558 </size>
1559 </property>
1560 <property name="autoFillBackground">
1561 <bool>true</bool>
1562 </property>
1563 <property name="frameShape">
1564 <enum>QFrame::StyledPanel</enum>
1565 </property>
1566 <property name="frameShadow">
1567 <enum>QFrame::Raised</enum>
1568 </property>
1569 </widget>
1570 </item>
1571 </layout>
1572 </item>
1573 <item row="5" column="0">
1574 <widget class="QLabel" name="label_69">
1575 <property name="text">
1576 <string>Default sprite colors 1:</string>
1577 </property>
1578 </widget>
1579 </item>
1580 <item row="6" column="0">
1581 <widget class="QLabel" name="label_70">
1582 <property name="text">
1583 <string>Default sprite colors 2:</string>
1584 </property>
1585 </widget>
1586 </item>
1587 </layout>
1588 </widget>
1589 </widget>
1590 </item>
1591 </layout>
1592 </widget>
1593 <resources/>
1594 <connections>
1595 <connection>
1596 <sender>buttonBox</sender>
1597 <signal>accepted()</signal>
1598 <receiver>SettingsView</receiver>
1599 <slot>close()</slot>
1600 <hints>
1601 <hint type="sourcelabel">
1602 <x>169</x>
1603 <y>453</y>
1604 </hint>
1605 <hint type="destinationlabel">
1606 <x>169</x>
1607 <y>236</y>
1608 </hint>
1609 </hints>
1610 </connection>
1611 <connection>
1612 <sender>buttonBox</sender>
1613 <signal>rejected()</signal>
1614 <receiver>SettingsView</receiver>
1615 <slot>close()</slot>
1616 <hints>
1617 <hint type="sourcelabel">
1618 <x>169</x>
1619 <y>453</y>
1620 </hint>
1621 <hint type="destinationlabel">
1622 <x>169</x>
1623 <y>236</y>
1624 </hint>
1625 </hints>
1626 </connection>
1627 <connection>
1628 <sender>tabs</sender>
1629 <signal>currentRowChanged(int)</signal>
1630 <receiver>stackedWidget</receiver>
1631 <slot>setCurrentIndex(int)</slot>
1632 <hints>
1633 <hint type="sourcelabel">
1634 <x>61</x>
1635 <y>209</y>
1636 </hint>
1637 <hint type="destinationlabel">
1638 <x>315</x>
1639 <y>209</y>
1640 </hint>
1641 </hints>
1642 </connection>
1643 <connection>
1644 <sender>savegameSameDir</sender>
1645 <signal>toggled(bool)</signal>
1646 <receiver>savegamePath</receiver>
1647 <slot>setDisabled(bool)</slot>
1648 <hints>
1649 <hint type="sourcelabel">
1650 <x>392</x>
1651 <y>82</y>
1652 </hint>
1653 <hint type="destinationlabel">
1654 <x>366</x>
1655 <y>48</y>
1656 </hint>
1657 </hints>
1658 </connection>
1659 <connection>
1660 <sender>savestateSameDir</sender>
1661 <signal>toggled(bool)</signal>
1662 <receiver>savestatePath</receiver>
1663 <slot>setDisabled(bool)</slot>
1664 <hints>
1665 <hint type="sourcelabel">
1666 <x>392</x>
1667 <y>161</y>
1668 </hint>
1669 <hint type="destinationlabel">
1670 <x>366</x>
1671 <y>127</y>
1672 </hint>
1673 </hints>
1674 </connection>
1675 <connection>
1676 <sender>screenshotSameDir</sender>
1677 <signal>toggled(bool)</signal>
1678 <receiver>screenshotPath</receiver>
1679 <slot>setDisabled(bool)</slot>
1680 <hints>
1681 <hint type="sourcelabel">
1682 <x>392</x>
1683 <y>240</y>
1684 </hint>
1685 <hint type="destinationlabel">
1686 <x>366</x>
1687 <y>206</y>
1688 </hint>
1689 </hints>
1690 </connection>
1691 <connection>
1692 <sender>patchSameDir</sender>
1693 <signal>toggled(bool)</signal>
1694 <receiver>patchPath</receiver>
1695 <slot>setDisabled(bool)</slot>
1696 <hints>
1697 <hint type="sourcelabel">
1698 <x>345</x>
1699 <y>319</y>
1700 </hint>
1701 <hint type="destinationlabel">
1702 <x>340</x>
1703 <y>285</y>
1704 </hint>
1705 </hints>
1706 </connection>
1707 <connection>
1708 <sender>cheatsSameDir</sender>
1709 <signal>toggled(bool)</signal>
1710 <receiver>cheatsPath</receiver>
1711 <slot>setDisabled(bool)</slot>
1712 <hints>
1713 <hint type="sourcelabel">
1714 <x>351</x>
1715 <y>407</y>
1716 </hint>
1717 <hint type="destinationlabel">
1718 <x>343</x>
1719 <y>372</y>
1720 </hint>
1721 </hints>
1722 </connection>
1723 <connection>
1724 <sender>fastForwardUnbounded</sender>
1725 <signal>toggled(bool)</signal>
1726 <receiver>fastForwardRatio</receiver>
1727 <slot>setDisabled(bool)</slot>
1728 <hints>
1729 <hint type="sourcelabel">
1730 <x>445</x>
1731 <y>38</y>
1732 </hint>
1733 <hint type="destinationlabel">
1734 <x>349</x>
1735 <y>38</y>
1736 </hint>
1737 </hints>
1738 </connection>
1739 </connections>
1740</ui>