all repos — mgba @ 9674364358a1f951670fd51502ac02b918ffa4f5

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