all repos — mgba @ 558055277f97168f2b7652f9351b9af595206e90

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      </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="2" 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="3" 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="4" 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="4" 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="6" 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="7" 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="7" 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="9" 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="10" 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="10" 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="11" 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="12" 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="14" 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="14" 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="15" 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="16" 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="13" 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="5" 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="8" 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       <item row="1" column="0">
 720        <widget class="QLabel" name="label_31">
 721         <property name="text">
 722          <string>Autofire interval:</string>
 723         </property>
 724        </widget>
 725       </item>
 726       <item row="1" column="1">
 727        <widget class="QSpinBox" name="autofireThreshold">
 728         <property name="minimum">
 729          <number>1</number>
 730         </property>
 731         <property name="maximum">
 732          <number>60</number>
 733         </property>
 734        </widget>
 735       </item>
 736      </layout>
 737     </widget>
 738     <widget class="QWidget" name="bios">
 739      <layout class="QFormLayout" name="formLayout_5">
 740       <item row="0" column="0">
 741        <widget class="QLabel" name="label">
 742         <property name="text">
 743          <string>GB BIOS file:</string>
 744         </property>
 745        </widget>
 746       </item>
 747       <item row="0" column="1">
 748        <layout class="QHBoxLayout" name="horizontalLayout">
 749         <item>
 750          <widget class="QLineEdit" name="gbBios">
 751           <property name="sizePolicy">
 752            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 753             <horstretch>0</horstretch>
 754             <verstretch>0</verstretch>
 755            </sizepolicy>
 756           </property>
 757          </widget>
 758         </item>
 759         <item>
 760          <widget class="QPushButton" name="gbBiosBrowse">
 761           <property name="text">
 762            <string>Browse</string>
 763           </property>
 764          </widget>
 765         </item>
 766        </layout>
 767       </item>
 768       <item row="4" column="1">
 769        <widget class="QCheckBox" name="useBios">
 770         <property name="text">
 771          <string>Use BIOS file if found</string>
 772         </property>
 773         <property name="checked">
 774          <bool>true</bool>
 775         </property>
 776        </widget>
 777       </item>
 778       <item row="5" column="1">
 779        <widget class="QCheckBox" name="skipBios">
 780         <property name="text">
 781          <string>Skip BIOS intro</string>
 782         </property>
 783        </widget>
 784       </item>
 785       <item row="3" column="1">
 786        <layout class="QHBoxLayout" name="horizontalLayout_8">
 787         <item>
 788          <widget class="QLineEdit" name="gbaBios">
 789           <property name="sizePolicy">
 790            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 791             <horstretch>0</horstretch>
 792             <verstretch>0</verstretch>
 793            </sizepolicy>
 794           </property>
 795          </widget>
 796         </item>
 797         <item>
 798          <widget class="QPushButton" name="gbaBiosBrowse">
 799           <property name="text">
 800            <string>Browse</string>
 801           </property>
 802          </widget>
 803         </item>
 804        </layout>
 805       </item>
 806       <item row="3" column="0">
 807        <widget class="QLabel" name="label_4">
 808         <property name="text">
 809          <string>GBA BIOS file:</string>
 810         </property>
 811        </widget>
 812       </item>
 813       <item row="2" column="0">
 814        <widget class="QLabel" name="label_5">
 815         <property name="text">
 816          <string>GBC BIOS file:</string>
 817         </property>
 818        </widget>
 819       </item>
 820       <item row="2" column="1">
 821        <layout class="QHBoxLayout" name="horizontalLayout_30">
 822         <item>
 823          <widget class="QLineEdit" name="gbcBios">
 824           <property name="sizePolicy">
 825            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 826             <horstretch>0</horstretch>
 827             <verstretch>0</verstretch>
 828            </sizepolicy>
 829           </property>
 830          </widget>
 831         </item>
 832         <item>
 833          <widget class="QPushButton" name="gbcBiosBrowse">
 834           <property name="text">
 835            <string>Browse</string>
 836           </property>
 837          </widget>
 838         </item>
 839        </layout>
 840       </item>
 841       <item row="1" column="0">
 842        <widget class="QLabel" name="label_30">
 843         <property name="text">
 844          <string>SGB BIOS file:</string>
 845         </property>
 846        </widget>
 847       </item>
 848       <item row="1" column="1">
 849        <layout class="QHBoxLayout" name="horizontalLayout_12">
 850         <item>
 851          <widget class="QLineEdit" name="sgbBios">
 852           <property name="sizePolicy">
 853            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 854             <horstretch>0</horstretch>
 855             <verstretch>0</verstretch>
 856            </sizepolicy>
 857           </property>
 858          </widget>
 859         </item>
 860         <item>
 861          <widget class="QPushButton" name="sgbBiosBrowse">
 862           <property name="text">
 863            <string>Browse</string>
 864           </property>
 865          </widget>
 866         </item>
 867        </layout>
 868       </item>
 869      </layout>
 870     </widget>
 871     <widget class="QWidget" name="paths">
 872      <layout class="QFormLayout" name="formLayout_3">
 873       <property name="fieldGrowthPolicy">
 874        <enum>QFormLayout::FieldsStayAtSizeHint</enum>
 875       </property>
 876       <item row="1" column="0">
 877        <widget class="QLabel" name="label_21">
 878         <property name="text">
 879          <string>Save games</string>
 880         </property>
 881        </widget>
 882       </item>
 883       <item row="1" column="1">
 884        <layout class="QHBoxLayout" name="horizontalLayout_3">
 885         <item>
 886          <widget class="QLineEdit" name="savegamePath">
 887           <property name="sizePolicy">
 888            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 889             <horstretch>0</horstretch>
 890             <verstretch>0</verstretch>
 891            </sizepolicy>
 892           </property>
 893           <property name="minimumSize">
 894            <size>
 895             <width>170</width>
 896             <height>0</height>
 897            </size>
 898           </property>
 899          </widget>
 900         </item>
 901         <item>
 902          <widget class="QPushButton" name="savegameBrowse">
 903           <property name="text">
 904            <string>Browse</string>
 905           </property>
 906          </widget>
 907         </item>
 908        </layout>
 909       </item>
 910       <item row="2" column="1">
 911        <widget class="QCheckBox" name="savegameSameDir">
 912         <property name="text">
 913          <string>Same directory as the ROM</string>
 914         </property>
 915        </widget>
 916       </item>
 917       <item row="3" column="0" colspan="2">
 918        <widget class="Line" name="line_7">
 919         <property name="orientation">
 920          <enum>Qt::Horizontal</enum>
 921         </property>
 922        </widget>
 923       </item>
 924       <item row="4" column="0">
 925        <widget class="QLabel" name="label_22">
 926         <property name="text">
 927          <string>Save states</string>
 928         </property>
 929        </widget>
 930       </item>
 931       <item row="4" column="1">
 932        <layout class="QHBoxLayout" name="horizontalLayout_4">
 933         <item>
 934          <widget class="QLineEdit" name="savestatePath">
 935           <property name="sizePolicy">
 936            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 937             <horstretch>0</horstretch>
 938             <verstretch>0</verstretch>
 939            </sizepolicy>
 940           </property>
 941           <property name="minimumSize">
 942            <size>
 943             <width>170</width>
 944             <height>0</height>
 945            </size>
 946           </property>
 947          </widget>
 948         </item>
 949         <item>
 950          <widget class="QPushButton" name="savestateBrowse">
 951           <property name="text">
 952            <string>Browse</string>
 953           </property>
 954          </widget>
 955         </item>
 956        </layout>
 957       </item>
 958       <item row="5" column="1">
 959        <widget class="QCheckBox" name="savestateSameDir">
 960         <property name="text">
 961          <string>Same directory as the ROM</string>
 962         </property>
 963        </widget>
 964       </item>
 965       <item row="6" column="0" colspan="2">
 966        <widget class="Line" name="line_6">
 967         <property name="orientation">
 968          <enum>Qt::Horizontal</enum>
 969         </property>
 970        </widget>
 971       </item>
 972       <item row="7" column="0">
 973        <widget class="QLabel" name="label_23">
 974         <property name="text">
 975          <string>Screenshots</string>
 976         </property>
 977        </widget>
 978       </item>
 979       <item row="7" column="1">
 980        <layout class="QHBoxLayout" name="horizontalLayout_7">
 981         <item>
 982          <widget class="QLineEdit" name="screenshotPath">
 983           <property name="sizePolicy">
 984            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 985             <horstretch>0</horstretch>
 986             <verstretch>0</verstretch>
 987            </sizepolicy>
 988           </property>
 989           <property name="minimumSize">
 990            <size>
 991             <width>170</width>
 992             <height>0</height>
 993            </size>
 994           </property>
 995          </widget>
 996         </item>
 997         <item>
 998          <widget class="QPushButton" name="screenshotBrowse">
 999           <property name="text">
1000            <string>Browse</string>
1001           </property>
1002          </widget>
1003         </item>
1004        </layout>
1005       </item>
1006       <item row="8" column="1">
1007        <widget class="QCheckBox" name="screenshotSameDir">
1008         <property name="text">
1009          <string>Same directory as the ROM</string>
1010         </property>
1011        </widget>
1012       </item>
1013       <item row="9" column="0" colspan="2">
1014        <widget class="Line" name="line_15">
1015         <property name="orientation">
1016          <enum>Qt::Horizontal</enum>
1017         </property>
1018        </widget>
1019       </item>
1020       <item row="10" column="0">
1021        <widget class="QLabel" name="label_47">
1022         <property name="text">
1023          <string>Patches</string>
1024         </property>
1025        </widget>
1026       </item>
1027       <item row="10" column="1">
1028        <layout class="QHBoxLayout" name="horizontalLayout_26">
1029         <item>
1030          <widget class="QLineEdit" name="patchPath">
1031           <property name="sizePolicy">
1032            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1033             <horstretch>0</horstretch>
1034             <verstretch>0</verstretch>
1035            </sizepolicy>
1036           </property>
1037           <property name="minimumSize">
1038            <size>
1039             <width>170</width>
1040             <height>0</height>
1041            </size>
1042           </property>
1043          </widget>
1044         </item>
1045         <item>
1046          <widget class="QPushButton" name="patchBrowse">
1047           <property name="text">
1048            <string>Browse</string>
1049           </property>
1050          </widget>
1051         </item>
1052        </layout>
1053       </item>
1054       <item row="11" column="1">
1055        <widget class="QCheckBox" name="patchSameDir">
1056         <property name="text">
1057          <string>Same directory as the ROM</string>
1058         </property>
1059        </widget>
1060       </item>
1061      </layout>
1062     </widget>
1063     <widget class="QWidget" name="gb">
1064      <layout class="QFormLayout" name="formLayout_1">
1065       <item row="0" column="0">
1066        <widget class="QLabel" name="label_29">
1067         <property name="text">
1068          <string>Game Boy model</string>
1069         </property>
1070        </widget>
1071       </item>
1072       <item row="0" column="1">
1073        <widget class="QComboBox" name="gbModel">
1074         <item>
1075          <property name="text">
1076           <string>Autodetect</string>
1077          </property>
1078         </item>
1079         <item>
1080          <property name="text">
1081           <string>Game Boy (DMG)</string>
1082          </property>
1083         </item>
1084         <item>
1085          <property name="text">
1086           <string>Super Game Boy (SGB)</string>
1087          </property>
1088         </item>
1089         <item>
1090          <property name="text">
1091           <string>Game Boy Color (CGB)</string>
1092          </property>
1093         </item>
1094         <item>
1095          <property name="text">
1096           <string>Game Boy Advance (AGB)</string>
1097          </property>
1098         </item>
1099        </widget>
1100       </item>
1101       <item row="1" column="0">
1102        <widget class="QLabel" name="label_32">
1103         <property name="text">
1104          <string>Super Game Boy model</string>
1105         </property>
1106        </widget>
1107       </item>
1108       <item row="1" column="1">
1109        <widget class="QComboBox" name="sgbModel">
1110         <item>
1111          <property name="text">
1112           <string>Autodetect</string>
1113          </property>
1114         </item>
1115         <item>
1116          <property name="text">
1117           <string>Game Boy (DMG)</string>
1118          </property>
1119         </item>
1120         <item>
1121          <property name="text">
1122           <string>Super Game Boy (SGB)</string>
1123          </property>
1124         </item>
1125         <item>
1126          <property name="text">
1127           <string>Game Boy Color (CGB)</string>
1128          </property>
1129         </item>
1130         <item>
1131          <property name="text">
1132           <string>Game Boy Advance (AGB)</string>
1133          </property>
1134         </item>
1135        </widget>
1136       </item>
1137       <item row="2" column="0">
1138        <widget class="QLabel" name="label_33">
1139         <property name="text">
1140          <string>Game Boy Color model</string>
1141         </property>
1142        </widget>
1143       </item>
1144       <item row="2" column="1">
1145        <widget class="QComboBox" name="cgbModel">
1146         <item>
1147          <property name="text">
1148           <string>Autodetect</string>
1149          </property>
1150         </item>
1151         <item>
1152          <property name="text">
1153           <string>Game Boy (DMG)</string>
1154          </property>
1155         </item>
1156         <item>
1157          <property name="text">
1158           <string>Super Game Boy (SGB)</string>
1159          </property>
1160         </item>
1161         <item>
1162          <property name="text">
1163           <string>Game Boy Color (CGB)</string>
1164          </property>
1165         </item>
1166         <item>
1167          <property name="text">
1168           <string>Game Boy Advance (AGB)</string>
1169          </property>
1170         </item>
1171        </widget>
1172       </item>
1173       <item row="4" column="0">
1174        <widget class="QLabel" name="label_28">
1175         <property name="text">
1176          <string>Default colors:</string>
1177         </property>
1178        </widget>
1179       </item>
1180       <item row="4" column="1">
1181        <layout class="QHBoxLayout" name="horizontalLayout_9">
1182         <item>
1183          <widget class="QFrame" name="color0">
1184           <property name="minimumSize">
1185            <size>
1186             <width>30</width>
1187             <height>30</height>
1188            </size>
1189           </property>
1190           <property name="autoFillBackground">
1191            <bool>true</bool>
1192           </property>
1193           <property name="frameShape">
1194            <enum>QFrame::StyledPanel</enum>
1195           </property>
1196           <property name="frameShadow">
1197            <enum>QFrame::Raised</enum>
1198           </property>
1199          </widget>
1200         </item>
1201         <item>
1202          <widget class="QFrame" name="color1">
1203           <property name="minimumSize">
1204            <size>
1205             <width>30</width>
1206             <height>30</height>
1207            </size>
1208           </property>
1209           <property name="autoFillBackground">
1210            <bool>true</bool>
1211           </property>
1212           <property name="frameShape">
1213            <enum>QFrame::StyledPanel</enum>
1214           </property>
1215           <property name="frameShadow">
1216            <enum>QFrame::Raised</enum>
1217           </property>
1218          </widget>
1219         </item>
1220         <item>
1221          <widget class="QFrame" name="color2">
1222           <property name="minimumSize">
1223            <size>
1224             <width>30</width>
1225             <height>30</height>
1226            </size>
1227           </property>
1228           <property name="autoFillBackground">
1229            <bool>true</bool>
1230           </property>
1231           <property name="frameShape">
1232            <enum>QFrame::StyledPanel</enum>
1233           </property>
1234           <property name="frameShadow">
1235            <enum>QFrame::Raised</enum>
1236           </property>
1237          </widget>
1238         </item>
1239         <item>
1240          <widget class="QFrame" name="color3">
1241           <property name="minimumSize">
1242            <size>
1243             <width>30</width>
1244             <height>30</height>
1245            </size>
1246           </property>
1247           <property name="autoFillBackground">
1248            <bool>true</bool>
1249           </property>
1250           <property name="frameShape">
1251            <enum>QFrame::StyledPanel</enum>
1252           </property>
1253           <property name="frameShadow">
1254            <enum>QFrame::Raised</enum>
1255           </property>
1256          </widget>
1257         </item>
1258        </layout>
1259       </item>
1260       <item row="5" column="1">
1261        <widget class="QCheckBox" name="sgbBorders">
1262         <property name="text">
1263          <string>Super Game Boy borders</string>
1264         </property>
1265        </widget>
1266       </item>
1267       <item row="6" column="0" colspan="2">
1268        <widget class="Line" name="line_11">
1269         <property name="orientation">
1270          <enum>Qt::Horizontal</enum>
1271         </property>
1272        </widget>
1273       </item>
1274       <item row="7" column="0">
1275        <widget class="QLabel" name="label_27">
1276         <property name="text">
1277          <string>Camera driver:</string>
1278         </property>
1279        </widget>
1280       </item>
1281       <item row="7" column="1">
1282        <widget class="QComboBox" name="cameraDriver">
1283         <property name="sizePolicy">
1284          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1285           <horstretch>0</horstretch>
1286           <verstretch>0</verstretch>
1287          </sizepolicy>
1288         </property>
1289        </widget>
1290       </item>
1291       <item row="3" column="0" colspan="2">
1292        <widget class="Line" name="line_12">
1293         <property name="orientation">
1294          <enum>Qt::Horizontal</enum>
1295         </property>
1296        </widget>
1297       </item>
1298      </layout>
1299     </widget>
1300    </widget>
1301   </item>
1302  </layout>
1303 </widget>
1304 <resources/>
1305 <connections>
1306  <connection>
1307   <sender>buttonBox</sender>
1308   <signal>accepted()</signal>
1309   <receiver>SettingsView</receiver>
1310   <slot>close()</slot>
1311   <hints>
1312    <hint type="sourcelabel">
1313     <x>169</x>
1314     <y>453</y>
1315    </hint>
1316    <hint type="destinationlabel">
1317     <x>169</x>
1318     <y>236</y>
1319    </hint>
1320   </hints>
1321  </connection>
1322  <connection>
1323   <sender>buttonBox</sender>
1324   <signal>rejected()</signal>
1325   <receiver>SettingsView</receiver>
1326   <slot>close()</slot>
1327   <hints>
1328    <hint type="sourcelabel">
1329     <x>169</x>
1330     <y>453</y>
1331    </hint>
1332    <hint type="destinationlabel">
1333     <x>169</x>
1334     <y>236</y>
1335    </hint>
1336   </hints>
1337  </connection>
1338  <connection>
1339   <sender>tabs</sender>
1340   <signal>currentRowChanged(int)</signal>
1341   <receiver>stackedWidget</receiver>
1342   <slot>setCurrentIndex(int)</slot>
1343   <hints>
1344    <hint type="sourcelabel">
1345     <x>61</x>
1346     <y>209</y>
1347    </hint>
1348    <hint type="destinationlabel">
1349     <x>315</x>
1350     <y>209</y>
1351    </hint>
1352   </hints>
1353  </connection>
1354  <connection>
1355   <sender>savegameSameDir</sender>
1356   <signal>toggled(bool)</signal>
1357   <receiver>savegamePath</receiver>
1358   <slot>setDisabled(bool)</slot>
1359   <hints>
1360    <hint type="sourcelabel">
1361     <x>392</x>
1362     <y>82</y>
1363    </hint>
1364    <hint type="destinationlabel">
1365     <x>366</x>
1366     <y>48</y>
1367    </hint>
1368   </hints>
1369  </connection>
1370  <connection>
1371   <sender>savestateSameDir</sender>
1372   <signal>toggled(bool)</signal>
1373   <receiver>savestatePath</receiver>
1374   <slot>setDisabled(bool)</slot>
1375   <hints>
1376    <hint type="sourcelabel">
1377     <x>392</x>
1378     <y>161</y>
1379    </hint>
1380    <hint type="destinationlabel">
1381     <x>366</x>
1382     <y>127</y>
1383    </hint>
1384   </hints>
1385  </connection>
1386  <connection>
1387   <sender>screenshotSameDir</sender>
1388   <signal>toggled(bool)</signal>
1389   <receiver>screenshotPath</receiver>
1390   <slot>setDisabled(bool)</slot>
1391   <hints>
1392    <hint type="sourcelabel">
1393     <x>392</x>
1394     <y>240</y>
1395    </hint>
1396    <hint type="destinationlabel">
1397     <x>366</x>
1398     <y>206</y>
1399    </hint>
1400   </hints>
1401  </connection>
1402  <connection>
1403   <sender>patchSameDir</sender>
1404   <signal>toggled(bool)</signal>
1405   <receiver>patchPath</receiver>
1406   <slot>setDisabled(bool)</slot>
1407   <hints>
1408    <hint type="sourcelabel">
1409     <x>345</x>
1410     <y>319</y>
1411    </hint>
1412    <hint type="destinationlabel">
1413     <x>340</x>
1414     <y>285</y>
1415    </hint>
1416   </hints>
1417  </connection>
1418 </connections>
1419</ui>