all repos — mgba @ 38c8e4c4e1d04ef3a6d3439a9c0c55499dd9e701

mGBA Game Boy Advance Emulator

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

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>BattleChipView</class>
  4 <widget class="QDialog" name="BattleChipView">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>630</width>
 10    <height>722</height>
 11   </rect>
 12  </property>
 13  <property name="windowTitle">
 14   <string>BattleChip Gate</string>
 15  </property>
 16  <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,0,0,0,0">
 17   <item>
 18    <widget class="QListView" name="chipList">
 19     <property name="acceptDrops">
 20      <bool>true</bool>
 21     </property>
 22     <property name="dragEnabled">
 23      <bool>true</bool>
 24     </property>
 25     <property name="dragDropMode">
 26      <enum>QAbstractItemView::InternalMove</enum>
 27     </property>
 28     <property name="defaultDropAction">
 29      <enum>Qt::MoveAction</enum>
 30     </property>
 31     <property name="iconSize">
 32      <size>
 33       <width>56</width>
 34       <height>48</height>
 35      </size>
 36     </property>
 37     <property name="movement">
 38      <enum>QListView::Free</enum>
 39     </property>
 40     <property name="isWrapping" stdset="0">
 41      <bool>true</bool>
 42     </property>
 43     <property name="resizeMode">
 44      <enum>QListView::Adjust</enum>
 45     </property>
 46     <property name="gridSize">
 47      <size>
 48       <width>120</width>
 49       <height>72</height>
 50      </size>
 51     </property>
 52     <property name="viewMode">
 53      <enum>QListView::IconMode</enum>
 54     </property>
 55    </widget>
 56   </item>
 57   <item>
 58    <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0">
 59     <item>
 60      <layout class="QFormLayout" name="formLayout_4">
 61       <item row="0" column="1">
 62        <widget class="QComboBox" name="chipName"/>
 63       </item>
 64       <item row="0" column="0">
 65        <widget class="QLabel" name="label_2">
 66         <property name="text">
 67          <string>Chip name</string>
 68         </property>
 69        </widget>
 70       </item>
 71      </layout>
 72     </item>
 73     <item>
 74      <widget class="QPushButton" name="insert">
 75       <property name="text">
 76        <string>Insert</string>
 77       </property>
 78      </widget>
 79     </item>
 80    </layout>
 81   </item>
 82   <item>
 83    <layout class="QHBoxLayout" name="horizontalLayout_3">
 84     <item>
 85      <widget class="QPushButton" name="save">
 86       <property name="text">
 87        <string>Save</string>
 88       </property>
 89      </widget>
 90     </item>
 91     <item>
 92      <widget class="QPushButton" name="load">
 93       <property name="text">
 94        <string>Load</string>
 95       </property>
 96      </widget>
 97     </item>
 98     <item>
 99      <spacer name="horizontalSpacer">
100       <property name="orientation">
101        <enum>Qt::Horizontal</enum>
102       </property>
103       <property name="sizeHint" stdset="0">
104        <size>
105         <width>40</width>
106         <height>20</height>
107        </size>
108       </property>
109      </spacer>
110     </item>
111     <item>
112      <widget class="QPushButton" name="add">
113       <property name="text">
114        <string>Add</string>
115       </property>
116      </widget>
117     </item>
118     <item>
119      <widget class="QPushButton" name="remove">
120       <property name="text">
121        <string>Remove</string>
122       </property>
123      </widget>
124     </item>
125    </layout>
126   </item>
127   <item>
128    <widget class="QWidget" name="advanced" native="true">
129     <property name="visible">
130      <bool>false</bool>
131     </property>
132     <layout class="QHBoxLayout" name="horizontalLayout_4">
133      <item>
134       <layout class="QFormLayout" name="formLayout_2">
135        <item row="1" column="0">
136         <widget class="QLabel" name="label_3">
137          <property name="text">
138           <string>Gate type</string>
139          </property>
140         </widget>
141        </item>
142        <item row="1" column="1">
143         <widget class="QRadioButton" name="gateBattleChip">
144          <property name="text">
145           <string>Ba&amp;ttleChip Gate</string>
146          </property>
147          <property name="checked">
148           <bool>true</bool>
149          </property>
150         </widget>
151        </item>
152        <item row="2" column="1">
153         <widget class="QRadioButton" name="gateProgress">
154          <property name="text">
155           <string>Progress &amp;Gate</string>
156          </property>
157         </widget>
158        </item>
159        <item row="3" column="1">
160         <widget class="QRadioButton" name="gateBeastLink">
161          <property name="text">
162           <string>Beast &amp;Link Gate</string>
163          </property>
164         </widget>
165        </item>
166       </layout>
167      </item>
168      <item>
169       <widget class="Line" name="line">
170        <property name="orientation">
171         <enum>Qt::Vertical</enum>
172        </property>
173       </widget>
174      </item>
175      <item>
176       <layout class="QFormLayout" name="formLayout_5">
177        <item row="1" column="1">
178         <widget class="QCheckBox" name="inserted">
179          <property name="text">
180           <string>Inserted</string>
181          </property>
182         </widget>
183        </item>
184        <item row="0" column="1">
185         <widget class="QSpinBox" name="chipId">
186          <property name="maximum">
187           <number>65535</number>
188          </property>
189         </widget>
190        </item>
191        <item row="0" column="0">
192         <widget class="QLabel" name="label_4">
193          <property name="text">
194           <string>Chip ID</string>
195          </property>
196         </widget>
197        </item>
198       </layout>
199      </item>
200     </layout>
201    </widget>
202   </item>
203   <item>
204    <widget class="QCheckBox" name="showAdvanced">
205     <property name="text">
206      <string>Show advanced</string>
207     </property>
208    </widget>
209   </item>
210   <item>
211    <layout class="QHBoxLayout" name="horizontalLayout_5">
212     <item>
213      <widget class="QDialogButtonBox" name="buttonBox">
214       <property name="standardButtons">
215        <set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
216       </property>
217      </widget>
218     </item>
219    </layout>
220   </item>
221  </layout>
222 </widget>
223 <resources/>
224 <connections>
225  <connection>
226   <sender>buttonBox</sender>
227   <signal>rejected()</signal>
228   <receiver>BattleChipView</receiver>
229   <slot>reject()</slot>
230   <hints>
231    <hint type="sourcelabel">
232     <x>416</x>
233     <y>690</y>
234    </hint>
235    <hint type="destinationlabel">
236     <x>314</x>
237     <y>360</y>
238    </hint>
239   </hints>
240  </connection>
241  <connection>
242   <sender>showAdvanced</sender>
243   <signal>toggled(bool)</signal>
244   <receiver>advanced</receiver>
245   <slot>setVisible(bool)</slot>
246   <hints>
247    <hint type="sourcelabel">
248     <x>109</x>
249     <y>34</y>
250    </hint>
251    <hint type="destinationlabel">
252     <x>396</x>
253     <y>654</y>
254    </hint>
255   </hints>
256  </connection>
257 </connections>
258</ui>