all repos — mgba @ 129af691054cb1acffd9a2be9eb9f1dbf47f51df

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>650</width>
  10    <height>454</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      </layout>
 499     </widget>
 500     <widget class="QWidget" name="emulation">
 501      <layout class="QFormLayout" name="formLayout_2">
 502       <property name="fieldGrowthPolicy">
 503        <enum>QFormLayout::FieldsStayAtSizeHint</enum>
 504       </property>
 505       <item row="0" column="0">
 506        <widget class="QLabel" name="label_18">
 507         <property name="text">
 508          <string>Fast forward speed:</string>
 509         </property>
 510        </widget>
 511       </item>
 512       <item row="0" column="1">
 513        <layout class="QHBoxLayout" name="horizontalLayout_5">
 514         <item>
 515          <widget class="QDoubleSpinBox" name="fastForwardRatio">
 516           <property name="enabled">
 517            <bool>false</bool>
 518           </property>
 519           <property name="suffix">
 520            <string>×</string>
 521           </property>
 522           <property name="minimum">
 523            <double>0.010000000000000</double>
 524           </property>
 525           <property name="maximum">
 526            <double>20.000000000000000</double>
 527           </property>
 528           <property name="singleStep">
 529            <double>0.500000000000000</double>
 530           </property>
 531           <property name="value">
 532            <double>5.000000000000000</double>
 533           </property>
 534          </widget>
 535         </item>
 536         <item>
 537          <widget class="QCheckBox" name="fastForwardUnbounded">
 538           <property name="text">
 539            <string>Unbounded</string>
 540           </property>
 541           <property name="checked">
 542            <bool>true</bool>
 543           </property>
 544          </widget>
 545         </item>
 546        </layout>
 547       </item>
 548       <item row="1" column="0" colspan="2">
 549        <widget class="Line" name="line">
 550         <property name="orientation">
 551          <enum>Qt::Horizontal</enum>
 552         </property>
 553        </widget>
 554       </item>
 555       <item row="2" column="1">
 556        <widget class="QCheckBox" name="rewind">
 557         <property name="text">
 558          <string>Enable rewind</string>
 559         </property>
 560        </widget>
 561       </item>
 562       <item row="3" column="0">
 563        <widget class="QLabel" name="label_8">
 564         <property name="text">
 565          <string>Rewind history:</string>
 566         </property>
 567        </widget>
 568       </item>
 569       <item row="3" column="1">
 570        <layout class="QHBoxLayout" name="horizontalLayout_13">
 571         <item>
 572          <widget class="QSpinBox" name="rewindCapacity">
 573           <property name="maximum">
 574            <number>3600</number>
 575           </property>
 576          </widget>
 577         </item>
 578         <item>
 579          <widget class="QLabel" name="label_7">
 580           <property name="text">
 581            <string>frames</string>
 582           </property>
 583          </widget>
 584         </item>
 585        </layout>
 586       </item>
 587       <item row="5" column="0" colspan="2">
 588        <widget class="Line" name="line_3">
 589         <property name="orientation">
 590          <enum>Qt::Horizontal</enum>
 591         </property>
 592        </widget>
 593       </item>
 594       <item row="6" column="0">
 595        <widget class="QLabel" name="label_15">
 596         <property name="text">
 597          <string>Idle loops:</string>
 598         </property>
 599        </widget>
 600       </item>
 601       <item row="6" column="1">
 602        <widget class="QComboBox" name="idleOptimization">
 603         <item>
 604          <property name="text">
 605           <string>Run all</string>
 606          </property>
 607         </item>
 608         <item>
 609          <property name="text">
 610           <string>Remove known</string>
 611          </property>
 612         </item>
 613         <item>
 614          <property name="text">
 615           <string>Detect and remove</string>
 616          </property>
 617         </item>
 618        </widget>
 619       </item>
 620       <item row="8" column="0" colspan="2">
 621        <widget class="Line" name="line_2">
 622         <property name="orientation">
 623          <enum>Qt::Horizontal</enum>
 624         </property>
 625        </widget>
 626       </item>
 627       <item row="9" column="0">
 628        <widget class="QLabel" name="label_24">
 629         <property name="text">
 630          <string>Savestate extra data:</string>
 631         </property>
 632        </widget>
 633       </item>
 634       <item row="9" column="1">
 635        <widget class="QCheckBox" name="saveStateScreenshot">
 636         <property name="text">
 637          <string>Screenshot</string>
 638         </property>
 639         <property name="checked">
 640          <bool>true</bool>
 641         </property>
 642        </widget>
 643       </item>
 644       <item row="10" column="1">
 645        <widget class="QCheckBox" name="saveStateSave">
 646         <property name="text">
 647          <string>Save data</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="saveStateCheats">
 656         <property name="text">
 657          <string>Cheat codes</string>
 658         </property>
 659         <property name="checked">
 660          <bool>true</bool>
 661         </property>
 662        </widget>
 663       </item>
 664       <item row="13" column="0">
 665        <widget class="QLabel" name="label_25">
 666         <property name="text">
 667          <string>Load extra data:</string>
 668         </property>
 669        </widget>
 670       </item>
 671       <item row="13" column="1">
 672        <widget class="QCheckBox" name="loadStateScreenshot">
 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="14" column="1">
 682        <widget class="QCheckBox" name="loadStateSave">
 683         <property name="text">
 684          <string>Save data</string>
 685         </property>
 686        </widget>
 687       </item>
 688       <item row="15" column="1">
 689        <widget class="QCheckBox" name="loadStateCheats">
 690         <property name="text">
 691          <string>Cheat codes</string>
 692         </property>
 693        </widget>
 694       </item>
 695       <item row="12" column="0" colspan="2">
 696        <widget class="Line" name="line_9">
 697         <property name="orientation">
 698          <enum>Qt::Horizontal</enum>
 699         </property>
 700        </widget>
 701       </item>
 702       <item row="4" column="1">
 703        <widget class="QCheckBox" name="rewindSave">
 704         <property name="text">
 705          <string>Rewind affects save data</string>
 706         </property>
 707         <property name="checked">
 708          <bool>true</bool>
 709         </property>
 710        </widget>
 711       </item>
 712       <item row="7" column="1">
 713        <widget class="QCheckBox" name="preload">
 714         <property name="text">
 715          <string>Preload entire ROM into memory</string>
 716         </property>
 717        </widget>
 718       </item>
 719      </layout>
 720     </widget>
 721     <widget class="QWidget" name="bios">
 722      <layout class="QFormLayout" name="formLayout_5">
 723       <item row="0" column="0">
 724        <widget class="QLabel" name="label">
 725         <property name="text">
 726          <string>GB BIOS file:</string>
 727         </property>
 728        </widget>
 729       </item>
 730       <item row="0" column="1">
 731        <layout class="QHBoxLayout" name="horizontalLayout">
 732         <item>
 733          <widget class="QLineEdit" name="gbBios">
 734           <property name="sizePolicy">
 735            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 736             <horstretch>0</horstretch>
 737             <verstretch>0</verstretch>
 738            </sizepolicy>
 739           </property>
 740          </widget>
 741         </item>
 742         <item>
 743          <widget class="QPushButton" name="gbBiosBrowse">
 744           <property name="text">
 745            <string>Browse</string>
 746           </property>
 747          </widget>
 748         </item>
 749        </layout>
 750       </item>
 751       <item row="4" column="1">
 752        <widget class="QCheckBox" name="useBios">
 753         <property name="text">
 754          <string>Use BIOS file if found</string>
 755         </property>
 756         <property name="checked">
 757          <bool>true</bool>
 758         </property>
 759        </widget>
 760       </item>
 761       <item row="5" column="1">
 762        <widget class="QCheckBox" name="skipBios">
 763         <property name="text">
 764          <string>Skip BIOS intro</string>
 765         </property>
 766        </widget>
 767       </item>
 768       <item row="3" column="1">
 769        <layout class="QHBoxLayout" name="horizontalLayout_8">
 770         <item>
 771          <widget class="QLineEdit" name="gbaBios">
 772           <property name="sizePolicy">
 773            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 774             <horstretch>0</horstretch>
 775             <verstretch>0</verstretch>
 776            </sizepolicy>
 777           </property>
 778          </widget>
 779         </item>
 780         <item>
 781          <widget class="QPushButton" name="gbaBiosBrowse">
 782           <property name="text">
 783            <string>Browse</string>
 784           </property>
 785          </widget>
 786         </item>
 787        </layout>
 788       </item>
 789       <item row="3" column="0">
 790        <widget class="QLabel" name="label_4">
 791         <property name="text">
 792          <string>GBA BIOS file:</string>
 793         </property>
 794        </widget>
 795       </item>
 796       <item row="2" column="0">
 797        <widget class="QLabel" name="label_5">
 798         <property name="text">
 799          <string>GBC BIOS file:</string>
 800         </property>
 801        </widget>
 802       </item>
 803       <item row="2" column="1">
 804        <layout class="QHBoxLayout" name="horizontalLayout_30">
 805         <item>
 806          <widget class="QLineEdit" name="gbcBios">
 807           <property name="sizePolicy">
 808            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 809             <horstretch>0</horstretch>
 810             <verstretch>0</verstretch>
 811            </sizepolicy>
 812           </property>
 813          </widget>
 814         </item>
 815         <item>
 816          <widget class="QPushButton" name="gbcBiosBrowse">
 817           <property name="text">
 818            <string>Browse</string>
 819           </property>
 820          </widget>
 821         </item>
 822        </layout>
 823       </item>
 824       <item row="1" column="0">
 825        <widget class="QLabel" name="label_30">
 826         <property name="text">
 827          <string>SGB BIOS file:</string>
 828         </property>
 829        </widget>
 830       </item>
 831       <item row="1" column="1">
 832        <layout class="QHBoxLayout" name="horizontalLayout_12">
 833         <item>
 834          <widget class="QLineEdit" name="sgbBios">
 835           <property name="sizePolicy">
 836            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 837             <horstretch>0</horstretch>
 838             <verstretch>0</verstretch>
 839            </sizepolicy>
 840           </property>
 841          </widget>
 842         </item>
 843         <item>
 844          <widget class="QPushButton" name="sgbBiosBrowse">
 845           <property name="text">
 846            <string>Browse</string>
 847           </property>
 848          </widget>
 849         </item>
 850        </layout>
 851       </item>
 852      </layout>
 853     </widget>
 854     <widget class="QWidget" name="paths">
 855      <layout class="QFormLayout" name="formLayout_3">
 856       <property name="fieldGrowthPolicy">
 857        <enum>QFormLayout::FieldsStayAtSizeHint</enum>
 858       </property>
 859       <item row="1" column="0">
 860        <widget class="QLabel" name="label_21">
 861         <property name="text">
 862          <string>Save games</string>
 863         </property>
 864        </widget>
 865       </item>
 866       <item row="1" column="1">
 867        <layout class="QHBoxLayout" name="horizontalLayout_3">
 868         <item>
 869          <widget class="QLineEdit" name="savegamePath">
 870           <property name="sizePolicy">
 871            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 872             <horstretch>0</horstretch>
 873             <verstretch>0</verstretch>
 874            </sizepolicy>
 875           </property>
 876           <property name="minimumSize">
 877            <size>
 878             <width>170</width>
 879             <height>0</height>
 880            </size>
 881           </property>
 882          </widget>
 883         </item>
 884         <item>
 885          <widget class="QPushButton" name="savegameBrowse">
 886           <property name="text">
 887            <string>Browse</string>
 888           </property>
 889          </widget>
 890         </item>
 891        </layout>
 892       </item>
 893       <item row="2" column="1">
 894        <widget class="QCheckBox" name="savegameSameDir">
 895         <property name="text">
 896          <string>Same directory as the ROM</string>
 897         </property>
 898        </widget>
 899       </item>
 900       <item row="3" column="0" colspan="2">
 901        <widget class="Line" name="line_7">
 902         <property name="orientation">
 903          <enum>Qt::Horizontal</enum>
 904         </property>
 905        </widget>
 906       </item>
 907       <item row="4" column="0">
 908        <widget class="QLabel" name="label_22">
 909         <property name="text">
 910          <string>Save states</string>
 911         </property>
 912        </widget>
 913       </item>
 914       <item row="4" column="1">
 915        <layout class="QHBoxLayout" name="horizontalLayout_4">
 916         <item>
 917          <widget class="QLineEdit" name="savestatePath">
 918           <property name="sizePolicy">
 919            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 920             <horstretch>0</horstretch>
 921             <verstretch>0</verstretch>
 922            </sizepolicy>
 923           </property>
 924           <property name="minimumSize">
 925            <size>
 926             <width>170</width>
 927             <height>0</height>
 928            </size>
 929           </property>
 930          </widget>
 931         </item>
 932         <item>
 933          <widget class="QPushButton" name="savestateBrowse">
 934           <property name="text">
 935            <string>Browse</string>
 936           </property>
 937          </widget>
 938         </item>
 939        </layout>
 940       </item>
 941       <item row="5" column="1">
 942        <widget class="QCheckBox" name="savestateSameDir">
 943         <property name="text">
 944          <string>Same directory as the ROM</string>
 945         </property>
 946        </widget>
 947       </item>
 948       <item row="6" column="0" colspan="2">
 949        <widget class="Line" name="line_6">
 950         <property name="orientation">
 951          <enum>Qt::Horizontal</enum>
 952         </property>
 953        </widget>
 954       </item>
 955       <item row="7" column="0">
 956        <widget class="QLabel" name="label_23">
 957         <property name="text">
 958          <string>Screenshots</string>
 959         </property>
 960        </widget>
 961       </item>
 962       <item row="7" column="1">
 963        <layout class="QHBoxLayout" name="horizontalLayout_7">
 964         <item>
 965          <widget class="QLineEdit" name="screenshotPath">
 966           <property name="sizePolicy">
 967            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 968             <horstretch>0</horstretch>
 969             <verstretch>0</verstretch>
 970            </sizepolicy>
 971           </property>
 972           <property name="minimumSize">
 973            <size>
 974             <width>170</width>
 975             <height>0</height>
 976            </size>
 977           </property>
 978          </widget>
 979         </item>
 980         <item>
 981          <widget class="QPushButton" name="screenshotBrowse">
 982           <property name="text">
 983            <string>Browse</string>
 984           </property>
 985          </widget>
 986         </item>
 987        </layout>
 988       </item>
 989       <item row="8" column="1">
 990        <widget class="QCheckBox" name="screenshotSameDir">
 991         <property name="text">
 992          <string>Same directory as the ROM</string>
 993         </property>
 994        </widget>
 995       </item>
 996       <item row="9" column="0" colspan="2">
 997        <widget class="Line" name="line_15">
 998         <property name="orientation">
 999          <enum>Qt::Horizontal</enum>
1000         </property>
1001        </widget>
1002       </item>
1003       <item row="10" column="0">
1004        <widget class="QLabel" name="label_47">
1005         <property name="text">
1006          <string>Patches</string>
1007         </property>
1008        </widget>
1009       </item>
1010       <item row="10" column="1">
1011        <layout class="QHBoxLayout" name="horizontalLayout_26">
1012         <item>
1013          <widget class="QLineEdit" name="patchPath">
1014           <property name="sizePolicy">
1015            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1016             <horstretch>0</horstretch>
1017             <verstretch>0</verstretch>
1018            </sizepolicy>
1019           </property>
1020           <property name="minimumSize">
1021            <size>
1022             <width>170</width>
1023             <height>0</height>
1024            </size>
1025           </property>
1026          </widget>
1027         </item>
1028         <item>
1029          <widget class="QPushButton" name="patchBrowse">
1030           <property name="text">
1031            <string>Browse</string>
1032           </property>
1033          </widget>
1034         </item>
1035        </layout>
1036       </item>
1037       <item row="11" column="1">
1038        <widget class="QCheckBox" name="patchSameDir">
1039         <property name="text">
1040          <string>Same directory as the ROM</string>
1041         </property>
1042        </widget>
1043       </item>
1044      </layout>
1045     </widget>
1046     <widget class="QWidget" name="gb">
1047      <layout class="QFormLayout" name="formLayout">
1048       <item row="0" column="0">
1049        <widget class="QLabel" name="label_29">
1050         <property name="enabled">
1051          <bool>false</bool>
1052         </property>
1053         <property name="text">
1054          <string>Default model</string>
1055         </property>
1056        </widget>
1057       </item>
1058       <item row="0" column="1">
1059        <widget class="QComboBox" name="gbModel">
1060         <property name="enabled">
1061          <bool>false</bool>
1062         </property>
1063         <item>
1064          <property name="text">
1065           <string>Autodetect</string>
1066          </property>
1067         </item>
1068         <item>
1069          <property name="text">
1070           <string>Game Boy (DMG)</string>
1071          </property>
1072         </item>
1073         <item>
1074          <property name="text">
1075           <string>Game Boy Color (CGB)</string>
1076          </property>
1077         </item>
1078         <item>
1079          <property name="text">
1080           <string>Game Boy Advance (AGB)</string>
1081          </property>
1082         </item>
1083        </widget>
1084       </item>
1085       <item row="1" column="0">
1086        <widget class="QLabel" name="label_28">
1087         <property name="text">
1088          <string>Default colors</string>
1089         </property>
1090        </widget>
1091       </item>
1092       <item row="1" column="1">
1093        <layout class="QHBoxLayout" name="horizontalLayout_9">
1094         <item>
1095          <widget class="QFrame" name="color0">
1096           <property name="minimumSize">
1097            <size>
1098             <width>30</width>
1099             <height>30</height>
1100            </size>
1101           </property>
1102           <property name="autoFillBackground">
1103            <bool>true</bool>
1104           </property>
1105           <property name="frameShape">
1106            <enum>QFrame::StyledPanel</enum>
1107           </property>
1108           <property name="frameShadow">
1109            <enum>QFrame::Raised</enum>
1110           </property>
1111          </widget>
1112         </item>
1113         <item>
1114          <widget class="QFrame" name="color1">
1115           <property name="minimumSize">
1116            <size>
1117             <width>30</width>
1118             <height>30</height>
1119            </size>
1120           </property>
1121           <property name="autoFillBackground">
1122            <bool>true</bool>
1123           </property>
1124           <property name="frameShape">
1125            <enum>QFrame::StyledPanel</enum>
1126           </property>
1127           <property name="frameShadow">
1128            <enum>QFrame::Raised</enum>
1129           </property>
1130          </widget>
1131         </item>
1132         <item>
1133          <widget class="QFrame" name="color2">
1134           <property name="minimumSize">
1135            <size>
1136             <width>30</width>
1137             <height>30</height>
1138            </size>
1139           </property>
1140           <property name="autoFillBackground">
1141            <bool>true</bool>
1142           </property>
1143           <property name="frameShape">
1144            <enum>QFrame::StyledPanel</enum>
1145           </property>
1146           <property name="frameShadow">
1147            <enum>QFrame::Raised</enum>
1148           </property>
1149          </widget>
1150         </item>
1151         <item>
1152          <widget class="QFrame" name="color3">
1153           <property name="minimumSize">
1154            <size>
1155             <width>30</width>
1156             <height>30</height>
1157            </size>
1158           </property>
1159           <property name="autoFillBackground">
1160            <bool>true</bool>
1161           </property>
1162           <property name="frameShape">
1163            <enum>QFrame::StyledPanel</enum>
1164           </property>
1165           <property name="frameShadow">
1166            <enum>QFrame::Raised</enum>
1167           </property>
1168          </widget>
1169         </item>
1170        </layout>
1171       </item>
1172       <item row="2" column="0" colspan="2">
1173        <widget class="Line" name="line_11">
1174         <property name="orientation">
1175          <enum>Qt::Horizontal</enum>
1176         </property>
1177        </widget>
1178       </item>
1179       <item row="3" column="0">
1180        <widget class="QLabel" name="label_27">
1181         <property name="text">
1182          <string>Camera driver</string>
1183         </property>
1184        </widget>
1185       </item>
1186       <item row="3" column="1">
1187        <widget class="QComboBox" name="cameraDriver">
1188         <property name="sizePolicy">
1189          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1190           <horstretch>0</horstretch>
1191           <verstretch>0</verstretch>
1192          </sizepolicy>
1193         </property>
1194        </widget>
1195       </item>
1196      </layout>
1197     </widget>
1198    </widget>
1199   </item>
1200  </layout>
1201 </widget>
1202 <resources/>
1203 <connections>
1204  <connection>
1205   <sender>buttonBox</sender>
1206   <signal>accepted()</signal>
1207   <receiver>SettingsView</receiver>
1208   <slot>close()</slot>
1209   <hints>
1210    <hint type="sourcelabel">
1211     <x>169</x>
1212     <y>453</y>
1213    </hint>
1214    <hint type="destinationlabel">
1215     <x>169</x>
1216     <y>236</y>
1217    </hint>
1218   </hints>
1219  </connection>
1220  <connection>
1221   <sender>buttonBox</sender>
1222   <signal>rejected()</signal>
1223   <receiver>SettingsView</receiver>
1224   <slot>close()</slot>
1225   <hints>
1226    <hint type="sourcelabel">
1227     <x>169</x>
1228     <y>453</y>
1229    </hint>
1230    <hint type="destinationlabel">
1231     <x>169</x>
1232     <y>236</y>
1233    </hint>
1234   </hints>
1235  </connection>
1236  <connection>
1237   <sender>tabs</sender>
1238   <signal>currentRowChanged(int)</signal>
1239   <receiver>stackedWidget</receiver>
1240   <slot>setCurrentIndex(int)</slot>
1241   <hints>
1242    <hint type="sourcelabel">
1243     <x>61</x>
1244     <y>209</y>
1245    </hint>
1246    <hint type="destinationlabel">
1247     <x>315</x>
1248     <y>209</y>
1249    </hint>
1250   </hints>
1251  </connection>
1252  <connection>
1253   <sender>savegameSameDir</sender>
1254   <signal>toggled(bool)</signal>
1255   <receiver>savegamePath</receiver>
1256   <slot>setDisabled(bool)</slot>
1257   <hints>
1258    <hint type="sourcelabel">
1259     <x>392</x>
1260     <y>82</y>
1261    </hint>
1262    <hint type="destinationlabel">
1263     <x>366</x>
1264     <y>48</y>
1265    </hint>
1266   </hints>
1267  </connection>
1268  <connection>
1269   <sender>savestateSameDir</sender>
1270   <signal>toggled(bool)</signal>
1271   <receiver>savestatePath</receiver>
1272   <slot>setDisabled(bool)</slot>
1273   <hints>
1274    <hint type="sourcelabel">
1275     <x>392</x>
1276     <y>161</y>
1277    </hint>
1278    <hint type="destinationlabel">
1279     <x>366</x>
1280     <y>127</y>
1281    </hint>
1282   </hints>
1283  </connection>
1284  <connection>
1285   <sender>screenshotSameDir</sender>
1286   <signal>toggled(bool)</signal>
1287   <receiver>screenshotPath</receiver>
1288   <slot>setDisabled(bool)</slot>
1289   <hints>
1290    <hint type="sourcelabel">
1291     <x>392</x>
1292     <y>240</y>
1293    </hint>
1294    <hint type="destinationlabel">
1295     <x>366</x>
1296     <y>206</y>
1297    </hint>
1298   </hints>
1299  </connection>
1300  <connection>
1301   <sender>patchSameDir</sender>
1302   <signal>toggled(bool)</signal>
1303   <receiver>patchPath</receiver>
1304   <slot>setDisabled(bool)</slot>
1305   <hints>
1306    <hint type="sourcelabel">
1307     <x>345</x>
1308     <y>319</y>
1309    </hint>
1310    <hint type="destinationlabel">
1311     <x>340</x>
1312     <y>285</y>
1313    </hint>
1314   </hints>
1315  </connection>
1316 </connections>
1317</ui>