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="QListWidget" 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::Static</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 <property name="uniformItemSizes">
56 <bool>false</bool>
57 </property>
58 <property name="selectionRectVisible">
59 <bool>true</bool>
60 </property>
61 </widget>
62 </item>
63 <item>
64 <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0">
65 <item>
66 <layout class="QFormLayout" name="formLayout_4">
67 <item row="0" column="1">
68 <widget class="QComboBox" name="chipName"/>
69 </item>
70 <item row="0" column="0">
71 <widget class="QLabel" name="label_2">
72 <property name="text">
73 <string>Chip name</string>
74 </property>
75 </widget>
76 </item>
77 </layout>
78 </item>
79 <item>
80 <widget class="QPushButton" name="insert">
81 <property name="text">
82 <string>Insert</string>
83 </property>
84 </widget>
85 </item>
86 </layout>
87 </item>
88 <item>
89 <layout class="QHBoxLayout" name="horizontalLayout_3">
90 <item>
91 <widget class="QPushButton" name="save">
92 <property name="text">
93 <string>Save</string>
94 </property>
95 </widget>
96 </item>
97 <item>
98 <widget class="QPushButton" name="load">
99 <property name="text">
100 <string>Load</string>
101 </property>
102 </widget>
103 </item>
104 <item>
105 <spacer name="horizontalSpacer">
106 <property name="orientation">
107 <enum>Qt::Horizontal</enum>
108 </property>
109 <property name="sizeHint" stdset="0">
110 <size>
111 <width>40</width>
112 <height>20</height>
113 </size>
114 </property>
115 </spacer>
116 </item>
117 <item>
118 <widget class="QPushButton" name="add">
119 <property name="text">
120 <string>Add</string>
121 </property>
122 </widget>
123 </item>
124 <item>
125 <widget class="QPushButton" name="remove">
126 <property name="text">
127 <string>Remove</string>
128 </property>
129 </widget>
130 </item>
131 </layout>
132 </item>
133 <item>
134 <widget class="QWidget" name="advanced" native="true">
135 <property name="visible">
136 <bool>false</bool>
137 </property>
138 <layout class="QHBoxLayout" name="horizontalLayout_4">
139 <item>
140 <layout class="QFormLayout" name="formLayout_2">
141 <item row="1" column="0">
142 <widget class="QLabel" name="label_3">
143 <property name="text">
144 <string>Gate type</string>
145 </property>
146 </widget>
147 </item>
148 <item row="1" column="1">
149 <widget class="QRadioButton" name="gateBattleChip">
150 <property name="text">
151 <string>Ba&ttleChip Gate</string>
152 </property>
153 <property name="checked">
154 <bool>true</bool>
155 </property>
156 </widget>
157 </item>
158 <item row="2" column="1">
159 <widget class="QRadioButton" name="gateProgress">
160 <property name="text">
161 <string>Progress &Gate</string>
162 </property>
163 </widget>
164 </item>
165 <item row="3" column="1">
166 <widget class="QRadioButton" name="gateBeastLink">
167 <property name="text">
168 <string>Beast &Link Gate</string>
169 </property>
170 </widget>
171 </item>
172 </layout>
173 </item>
174 <item>
175 <widget class="Line" name="line">
176 <property name="orientation">
177 <enum>Qt::Vertical</enum>
178 </property>
179 </widget>
180 </item>
181 <item>
182 <layout class="QFormLayout" name="formLayout_5">
183 <item row="1" column="1">
184 <widget class="QCheckBox" name="inserted">
185 <property name="text">
186 <string>Inserted</string>
187 </property>
188 </widget>
189 </item>
190 <item row="0" column="1">
191 <widget class="QSpinBox" name="chipId">
192 <property name="maximum">
193 <number>65535</number>
194 </property>
195 </widget>
196 </item>
197 <item row="0" column="0">
198 <widget class="QLabel" name="label_4">
199 <property name="text">
200 <string>Chip ID</string>
201 </property>
202 </widget>
203 </item>
204 </layout>
205 </item>
206 </layout>
207 </widget>
208 </item>
209 <item>
210 <widget class="QCheckBox" name="showAdvanced">
211 <property name="text">
212 <string>Show advanced</string>
213 </property>
214 </widget>
215 </item>
216 <item>
217 <layout class="QHBoxLayout" name="horizontalLayout_5">
218 <item>
219 <widget class="QDialogButtonBox" name="buttonBox">
220 <property name="standardButtons">
221 <set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
222 </property>
223 </widget>
224 </item>
225 </layout>
226 </item>
227 </layout>
228 </widget>
229 <resources/>
230 <connections>
231 <connection>
232 <sender>buttonBox</sender>
233 <signal>rejected()</signal>
234 <receiver>BattleChipView</receiver>
235 <slot>reject()</slot>
236 <hints>
237 <hint type="sourcelabel">
238 <x>416</x>
239 <y>690</y>
240 </hint>
241 <hint type="destinationlabel">
242 <x>314</x>
243 <y>360</y>
244 </hint>
245 </hints>
246 </connection>
247 <connection>
248 <sender>showAdvanced</sender>
249 <signal>toggled(bool)</signal>
250 <receiver>advanced</receiver>
251 <slot>setVisible(bool)</slot>
252 <hints>
253 <hint type="sourcelabel">
254 <x>109</x>
255 <y>34</y>
256 </hint>
257 <hint type="destinationlabel">
258 <x>396</x>
259 <y>654</y>
260 </hint>
261 </hints>
262 </connection>
263 <connection>
264 <sender>chipList</sender>
265 <signal>indexesMoved(QModelIndexList)</signal>
266 <receiver>chipList</receiver>
267 <slot>doItemsLayout()</slot>
268 <hints>
269 <hint type="sourcelabel">
270 <x>314</x>
271 <y>203</y>
272 </hint>
273 <hint type="destinationlabel">
274 <x>314</x>
275 <y>203</y>
276 </hint>
277 </hints>
278 </connection>
279 </connections>
280</ui>