all repos — mgba @ 6ab7e178be1cd076965b035276e66491c41ee454

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="3" 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="4" 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="2" 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="2" 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="1" 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="1" 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      </layout>
 825     </widget>
 826     <widget class="QWidget" name="paths">
 827      <layout class="QFormLayout" name="formLayout_3">
 828       <property name="fieldGrowthPolicy">
 829        <enum>QFormLayout::FieldsStayAtSizeHint</enum>
 830       </property>
 831       <item row="1" column="0">
 832        <widget class="QLabel" name="label_21">
 833         <property name="text">
 834          <string>Save games</string>
 835         </property>
 836        </widget>
 837       </item>
 838       <item row="1" column="1">
 839        <layout class="QHBoxLayout" name="horizontalLayout_3">
 840         <item>
 841          <widget class="QLineEdit" name="savegamePath">
 842           <property name="sizePolicy">
 843            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 844             <horstretch>0</horstretch>
 845             <verstretch>0</verstretch>
 846            </sizepolicy>
 847           </property>
 848           <property name="minimumSize">
 849            <size>
 850             <width>170</width>
 851             <height>0</height>
 852            </size>
 853           </property>
 854          </widget>
 855         </item>
 856         <item>
 857          <widget class="QPushButton" name="savegameBrowse">
 858           <property name="text">
 859            <string>Browse</string>
 860           </property>
 861          </widget>
 862         </item>
 863        </layout>
 864       </item>
 865       <item row="2" column="1">
 866        <widget class="QCheckBox" name="savegameSameDir">
 867         <property name="text">
 868          <string>Same directory as the ROM</string>
 869         </property>
 870        </widget>
 871       </item>
 872       <item row="3" column="0" colspan="2">
 873        <widget class="Line" name="line_7">
 874         <property name="orientation">
 875          <enum>Qt::Horizontal</enum>
 876         </property>
 877        </widget>
 878       </item>
 879       <item row="4" column="0">
 880        <widget class="QLabel" name="label_22">
 881         <property name="text">
 882          <string>Save states</string>
 883         </property>
 884        </widget>
 885       </item>
 886       <item row="4" column="1">
 887        <layout class="QHBoxLayout" name="horizontalLayout_4">
 888         <item>
 889          <widget class="QLineEdit" name="savestatePath">
 890           <property name="sizePolicy">
 891            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 892             <horstretch>0</horstretch>
 893             <verstretch>0</verstretch>
 894            </sizepolicy>
 895           </property>
 896           <property name="minimumSize">
 897            <size>
 898             <width>170</width>
 899             <height>0</height>
 900            </size>
 901           </property>
 902          </widget>
 903         </item>
 904         <item>
 905          <widget class="QPushButton" name="savestateBrowse">
 906           <property name="text">
 907            <string>Browse</string>
 908           </property>
 909          </widget>
 910         </item>
 911        </layout>
 912       </item>
 913       <item row="5" column="1">
 914        <widget class="QCheckBox" name="savestateSameDir">
 915         <property name="text">
 916          <string>Same directory as the ROM</string>
 917         </property>
 918        </widget>
 919       </item>
 920       <item row="6" column="0" colspan="2">
 921        <widget class="Line" name="line_6">
 922         <property name="orientation">
 923          <enum>Qt::Horizontal</enum>
 924         </property>
 925        </widget>
 926       </item>
 927       <item row="7" column="0">
 928        <widget class="QLabel" name="label_23">
 929         <property name="text">
 930          <string>Screenshots</string>
 931         </property>
 932        </widget>
 933       </item>
 934       <item row="7" column="1">
 935        <layout class="QHBoxLayout" name="horizontalLayout_7">
 936         <item>
 937          <widget class="QLineEdit" name="screenshotPath">
 938           <property name="sizePolicy">
 939            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 940             <horstretch>0</horstretch>
 941             <verstretch>0</verstretch>
 942            </sizepolicy>
 943           </property>
 944           <property name="minimumSize">
 945            <size>
 946             <width>170</width>
 947             <height>0</height>
 948            </size>
 949           </property>
 950          </widget>
 951         </item>
 952         <item>
 953          <widget class="QPushButton" name="screenshotBrowse">
 954           <property name="text">
 955            <string>Browse</string>
 956           </property>
 957          </widget>
 958         </item>
 959        </layout>
 960       </item>
 961       <item row="8" column="1">
 962        <widget class="QCheckBox" name="screenshotSameDir">
 963         <property name="text">
 964          <string>Same directory as the ROM</string>
 965         </property>
 966        </widget>
 967       </item>
 968       <item row="9" column="0" colspan="2">
 969        <widget class="Line" name="line_15">
 970         <property name="orientation">
 971          <enum>Qt::Horizontal</enum>
 972         </property>
 973        </widget>
 974       </item>
 975       <item row="10" column="0">
 976        <widget class="QLabel" name="label_47">
 977         <property name="text">
 978          <string>Patches</string>
 979         </property>
 980        </widget>
 981       </item>
 982       <item row="10" column="1">
 983        <layout class="QHBoxLayout" name="horizontalLayout_26">
 984         <item>
 985          <widget class="QLineEdit" name="patchPath">
 986           <property name="sizePolicy">
 987            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 988             <horstretch>0</horstretch>
 989             <verstretch>0</verstretch>
 990            </sizepolicy>
 991           </property>
 992           <property name="minimumSize">
 993            <size>
 994             <width>170</width>
 995             <height>0</height>
 996            </size>
 997           </property>
 998          </widget>
 999         </item>
1000         <item>
1001          <widget class="QPushButton" name="patchBrowse">
1002           <property name="text">
1003            <string>Browse</string>
1004           </property>
1005          </widget>
1006         </item>
1007        </layout>
1008       </item>
1009       <item row="11" column="1">
1010        <widget class="QCheckBox" name="patchSameDir">
1011         <property name="text">
1012          <string>Same directory as the ROM</string>
1013         </property>
1014        </widget>
1015       </item>
1016      </layout>
1017     </widget>
1018     <widget class="QWidget" name="gb">
1019      <layout class="QFormLayout" name="formLayout">
1020       <item row="0" column="0">
1021        <widget class="QLabel" name="label_29">
1022         <property name="enabled">
1023          <bool>false</bool>
1024         </property>
1025         <property name="text">
1026          <string>Default model</string>
1027         </property>
1028        </widget>
1029       </item>
1030       <item row="0" column="1">
1031        <widget class="QComboBox" name="gbModel">
1032         <property name="enabled">
1033          <bool>false</bool>
1034         </property>
1035         <item>
1036          <property name="text">
1037           <string>Autodetect</string>
1038          </property>
1039         </item>
1040         <item>
1041          <property name="text">
1042           <string>Game Boy (DMG)</string>
1043          </property>
1044         </item>
1045         <item>
1046          <property name="text">
1047           <string>Game Boy Color (CGB)</string>
1048          </property>
1049         </item>
1050         <item>
1051          <property name="text">
1052           <string>Game Boy Advance (AGB)</string>
1053          </property>
1054         </item>
1055        </widget>
1056       </item>
1057       <item row="1" column="0">
1058        <widget class="QLabel" name="label_28">
1059         <property name="text">
1060          <string>Default colors</string>
1061         </property>
1062        </widget>
1063       </item>
1064       <item row="1" column="1">
1065        <layout class="QHBoxLayout" name="horizontalLayout_9">
1066         <item>
1067          <widget class="QFrame" name="color0">
1068           <property name="minimumSize">
1069            <size>
1070             <width>30</width>
1071             <height>30</height>
1072            </size>
1073           </property>
1074           <property name="autoFillBackground">
1075            <bool>true</bool>
1076           </property>
1077           <property name="frameShape">
1078            <enum>QFrame::StyledPanel</enum>
1079           </property>
1080           <property name="frameShadow">
1081            <enum>QFrame::Raised</enum>
1082           </property>
1083          </widget>
1084         </item>
1085         <item>
1086          <widget class="QFrame" name="color1">
1087           <property name="minimumSize">
1088            <size>
1089             <width>30</width>
1090             <height>30</height>
1091            </size>
1092           </property>
1093           <property name="autoFillBackground">
1094            <bool>true</bool>
1095           </property>
1096           <property name="frameShape">
1097            <enum>QFrame::StyledPanel</enum>
1098           </property>
1099           <property name="frameShadow">
1100            <enum>QFrame::Raised</enum>
1101           </property>
1102          </widget>
1103         </item>
1104         <item>
1105          <widget class="QFrame" name="color2">
1106           <property name="minimumSize">
1107            <size>
1108             <width>30</width>
1109             <height>30</height>
1110            </size>
1111           </property>
1112           <property name="autoFillBackground">
1113            <bool>true</bool>
1114           </property>
1115           <property name="frameShape">
1116            <enum>QFrame::StyledPanel</enum>
1117           </property>
1118           <property name="frameShadow">
1119            <enum>QFrame::Raised</enum>
1120           </property>
1121          </widget>
1122         </item>
1123         <item>
1124          <widget class="QFrame" name="color3">
1125           <property name="minimumSize">
1126            <size>
1127             <width>30</width>
1128             <height>30</height>
1129            </size>
1130           </property>
1131           <property name="autoFillBackground">
1132            <bool>true</bool>
1133           </property>
1134           <property name="frameShape">
1135            <enum>QFrame::StyledPanel</enum>
1136           </property>
1137           <property name="frameShadow">
1138            <enum>QFrame::Raised</enum>
1139           </property>
1140          </widget>
1141         </item>
1142        </layout>
1143       </item>
1144       <item row="2" column="0" colspan="2">
1145        <widget class="Line" name="line_11">
1146         <property name="orientation">
1147          <enum>Qt::Horizontal</enum>
1148         </property>
1149        </widget>
1150       </item>
1151       <item row="3" column="0">
1152        <widget class="QLabel" name="label_27">
1153         <property name="text">
1154          <string>Camera driver</string>
1155         </property>
1156        </widget>
1157       </item>
1158       <item row="3" column="1">
1159        <widget class="QComboBox" name="cameraDriver">
1160         <property name="sizePolicy">
1161          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1162           <horstretch>0</horstretch>
1163           <verstretch>0</verstretch>
1164          </sizepolicy>
1165         </property>
1166        </widget>
1167       </item>
1168      </layout>
1169     </widget>
1170    </widget>
1171   </item>
1172  </layout>
1173 </widget>
1174 <resources/>
1175 <connections>
1176  <connection>
1177   <sender>buttonBox</sender>
1178   <signal>accepted()</signal>
1179   <receiver>SettingsView</receiver>
1180   <slot>close()</slot>
1181   <hints>
1182    <hint type="sourcelabel">
1183     <x>169</x>
1184     <y>453</y>
1185    </hint>
1186    <hint type="destinationlabel">
1187     <x>169</x>
1188     <y>236</y>
1189    </hint>
1190   </hints>
1191  </connection>
1192  <connection>
1193   <sender>buttonBox</sender>
1194   <signal>rejected()</signal>
1195   <receiver>SettingsView</receiver>
1196   <slot>close()</slot>
1197   <hints>
1198    <hint type="sourcelabel">
1199     <x>169</x>
1200     <y>453</y>
1201    </hint>
1202    <hint type="destinationlabel">
1203     <x>169</x>
1204     <y>236</y>
1205    </hint>
1206   </hints>
1207  </connection>
1208  <connection>
1209   <sender>tabs</sender>
1210   <signal>currentRowChanged(int)</signal>
1211   <receiver>stackedWidget</receiver>
1212   <slot>setCurrentIndex(int)</slot>
1213   <hints>
1214    <hint type="sourcelabel">
1215     <x>61</x>
1216     <y>209</y>
1217    </hint>
1218    <hint type="destinationlabel">
1219     <x>315</x>
1220     <y>209</y>
1221    </hint>
1222   </hints>
1223  </connection>
1224  <connection>
1225   <sender>savegameSameDir</sender>
1226   <signal>toggled(bool)</signal>
1227   <receiver>savegamePath</receiver>
1228   <slot>setDisabled(bool)</slot>
1229   <hints>
1230    <hint type="sourcelabel">
1231     <x>392</x>
1232     <y>82</y>
1233    </hint>
1234    <hint type="destinationlabel">
1235     <x>366</x>
1236     <y>48</y>
1237    </hint>
1238   </hints>
1239  </connection>
1240  <connection>
1241   <sender>savestateSameDir</sender>
1242   <signal>toggled(bool)</signal>
1243   <receiver>savestatePath</receiver>
1244   <slot>setDisabled(bool)</slot>
1245   <hints>
1246    <hint type="sourcelabel">
1247     <x>392</x>
1248     <y>161</y>
1249    </hint>
1250    <hint type="destinationlabel">
1251     <x>366</x>
1252     <y>127</y>
1253    </hint>
1254   </hints>
1255  </connection>
1256  <connection>
1257   <sender>screenshotSameDir</sender>
1258   <signal>toggled(bool)</signal>
1259   <receiver>screenshotPath</receiver>
1260   <slot>setDisabled(bool)</slot>
1261   <hints>
1262    <hint type="sourcelabel">
1263     <x>392</x>
1264     <y>240</y>
1265    </hint>
1266    <hint type="destinationlabel">
1267     <x>366</x>
1268     <y>206</y>
1269    </hint>
1270   </hints>
1271  </connection>
1272  <connection>
1273   <sender>patchSameDir</sender>
1274   <signal>toggled(bool)</signal>
1275   <receiver>patchPath</receiver>
1276   <slot>setDisabled(bool)</slot>
1277   <hints>
1278    <hint type="sourcelabel">
1279     <x>345</x>
1280     <y>319</y>
1281    </hint>
1282    <hint type="destinationlabel">
1283     <x>340</x>
1284     <y>285</y>
1285    </hint>
1286   </hints>
1287  </connection>
1288 </connections>
1289</ui>