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>658</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&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 &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 &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 <item row="2" column="0" colspan="2">
199 <widget class="QPushButton" name="updateData">
200 <property name="sizePolicy">
201 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
202 <horstretch>0</horstretch>
203 <verstretch>0</verstretch>
204 </sizepolicy>
205 </property>
206 <property name="text">
207 <string>Update Chip data</string>
208 </property>
209 </widget>
210 </item>
211 </layout>
212 </item>
213 </layout>
214 </widget>
215 </item>
216 <item>
217 <widget class="QCheckBox" name="showAdvanced">
218 <property name="text">
219 <string>Show advanced</string>
220 </property>
221 </widget>
222 </item>
223 <item>
224 <layout class="QHBoxLayout" name="horizontalLayout_5">
225 <item>
226 <widget class="QDialogButtonBox" name="buttonBox">
227 <property name="standardButtons">
228 <set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
229 </property>
230 </widget>
231 </item>
232 </layout>
233 </item>
234 </layout>
235 </widget>
236 <resources/>
237 <connections>
238 <connection>
239 <sender>buttonBox</sender>
240 <signal>rejected()</signal>
241 <receiver>BattleChipView</receiver>
242 <slot>reject()</slot>
243 <hints>
244 <hint type="sourcelabel">
245 <x>416</x>
246 <y>690</y>
247 </hint>
248 <hint type="destinationlabel">
249 <x>314</x>
250 <y>360</y>
251 </hint>
252 </hints>
253 </connection>
254 <connection>
255 <sender>showAdvanced</sender>
256 <signal>toggled(bool)</signal>
257 <receiver>advanced</receiver>
258 <slot>setVisible(bool)</slot>
259 <hints>
260 <hint type="sourcelabel">
261 <x>109</x>
262 <y>34</y>
263 </hint>
264 <hint type="destinationlabel">
265 <x>396</x>
266 <y>654</y>
267 </hint>
268 </hints>
269 </connection>
270 </connections>
271</ui>