all repos — mgba @ 20754b772e23b4aafa0c24c626c773ea2f027c03

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