all repos — mgba @ 4fd170ac38a9c312f3dd1d0dd912d2c761f60fdb

mGBA Game Boy Advance Emulator

src/platform/qt/ShortcutView.ui (view raw)

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>ShortcutView</class>
  4 <widget class="QWidget" name="ShortcutView">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>432</width>
 10    <height>443</height>
 11   </rect>
 12  </property>
 13  <property name="windowTitle">
 14   <string>Edit Shortcuts</string>
 15  </property>
 16  <layout class="QVBoxLayout" name="verticalLayout">
 17   <item>
 18    <widget class="QTreeView" name="shortcutTable">
 19     <attribute name="headerDefaultSectionSize">
 20      <number>120</number>
 21     </attribute>
 22    </widget>
 23   </item>
 24   <item>
 25    <layout class="QHBoxLayout" name="horizontalLayout">
 26     <item>
 27      <widget class="QRadioButton" name="keyboardButton">
 28       <property name="text">
 29        <string>Keyboard</string>
 30       </property>
 31       <property name="checked">
 32        <bool>true</bool>
 33       </property>
 34      </widget>
 35     </item>
 36     <item>
 37      <widget class="QRadioButton" name="gamepadButton">
 38       <property name="text">
 39        <string>Gamepad</string>
 40       </property>
 41      </widget>
 42     </item>
 43     <item>
 44      <widget class="QPushButton" name="clearButton">
 45       <property name="text">
 46        <string>Clear</string>
 47       </property>
 48      </widget>
 49     </item>
 50     <item>
 51      <spacer name="horizontalSpacer_2">
 52       <property name="orientation">
 53        <enum>Qt::Horizontal</enum>
 54       </property>
 55       <property name="sizeHint" stdset="0">
 56        <size>
 57         <width>40</width>
 58         <height>20</height>
 59        </size>
 60       </property>
 61      </spacer>
 62     </item>
 63     <item>
 64      <widget class="QGBA::KeyEditor" name="keyEdit">
 65       <property name="sizePolicy">
 66        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 67         <horstretch>0</horstretch>
 68         <verstretch>0</verstretch>
 69        </sizepolicy>
 70       </property>
 71      </widget>
 72     </item>
 73    </layout>
 74   </item>
 75   <item>
 76    <layout class="QHBoxLayout" name="horizontalLayout_2">
 77     <item>
 78      <widget class="QLabel" name="label">
 79       <property name="text">
 80        <string>Current Gamepad</string>
 81       </property>
 82      </widget>
 83     </item>
 84     <item>
 85      <widget class="QComboBox" name="gamepadName">
 86       <property name="sizePolicy">
 87        <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
 88         <horstretch>1</horstretch>
 89         <verstretch>0</verstretch>
 90        </sizepolicy>
 91       </property>
 92      </widget>
 93     </item>
 94    </layout>
 95   </item>
 96  </layout>
 97 </widget>
 98 <customwidgets>
 99  <customwidget>
100   <class>QGBA::KeyEditor</class>
101   <extends>QLineEdit</extends>
102   <header>KeyEditor.h</header>
103  </customwidget>
104 </customwidgets>
105 <resources/>
106 <connections/>
107</ui>