src/platform/qt/ObjView.ui (view raw)
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ObjView</class>
4 <widget class="QWidget" name="ObjView">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>454</width>
10 <height>375</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Sprites</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,1">
17 <item row="0" column="2" rowspan="4">
18 <widget class="QFrame" name="frame">
19 <property name="frameShape">
20 <enum>QFrame::StyledPanel</enum>
21 </property>
22 <layout class="QGridLayout" name="gridLayout_2">
23 <property name="margin">
24 <number>0</number>
25 </property>
26 <item row="0" column="0" alignment="Qt::AlignHCenter|Qt::AlignVCenter">
27 <widget class="QGBA::TilePainter" name="tiles" native="true">
28 <property name="sizePolicy">
29 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
30 <horstretch>0</horstretch>
31 <verstretch>0</verstretch>
32 </sizepolicy>
33 </property>
34 <property name="minimumSize">
35 <size>
36 <width>8</width>
37 <height>8</height>
38 </size>
39 </property>
40 </widget>
41 </item>
42 </layout>
43 </widget>
44 </item>
45 <item row="1" column="0">
46 <layout class="QHBoxLayout" name="horizontalLayout_4">
47 <item>
48 <widget class="QSpinBox" name="magnification">
49 <property name="sizePolicy">
50 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
51 <horstretch>0</horstretch>
52 <verstretch>0</verstretch>
53 </sizepolicy>
54 </property>
55 <property name="suffix">
56 <string>×</string>
57 </property>
58 <property name="minimum">
59 <number>1</number>
60 </property>
61 <property name="maximum">
62 <number>6</number>
63 </property>
64 </widget>
65 </item>
66 <item>
67 <widget class="QLabel" name="label_2">
68 <property name="text">
69 <string>Magnification</string>
70 </property>
71 </widget>
72 </item>
73 </layout>
74 </item>
75 <item row="3" column="0">
76 <widget class="QGroupBox" name="groupBox_2">
77 <property name="title">
78 <string>Attributes</string>
79 </property>
80 <layout class="QGridLayout" name="gridLayout_3">
81 <item row="2" column="0">
82 <layout class="QHBoxLayout" name="horizontalLayout_6">
83 <item>
84 <widget class="QLabel" name="label_6">
85 <property name="text">
86 <string>Transform</string>
87 </property>
88 </widget>
89 </item>
90 <item>
91 <spacer name="horizontalSpacer_4">
92 <property name="orientation">
93 <enum>Qt::Horizontal</enum>
94 </property>
95 <property name="sizeHint" stdset="0">
96 <size>
97 <width>0</width>
98 <height>20</height>
99 </size>
100 </property>
101 </spacer>
102 </item>
103 <item>
104 <widget class="QLabel" name="transform">
105 <property name="text">
106 <string>Off</string>
107 </property>
108 </widget>
109 </item>
110 </layout>
111 </item>
112 <item row="1" column="0">
113 <layout class="QHBoxLayout" name="horizontalLayout_16">
114 <item>
115 <widget class="QLabel" name="label_16">
116 <property name="text">
117 <string>Palette</string>
118 </property>
119 </widget>
120 </item>
121 <item>
122 <spacer name="horizontalSpacer_13">
123 <property name="orientation">
124 <enum>Qt::Horizontal</enum>
125 </property>
126 <property name="sizeHint" stdset="0">
127 <size>
128 <width>10</width>
129 <height>20</height>
130 </size>
131 </property>
132 </spacer>
133 </item>
134 <item>
135 <widget class="QLabel" name="palette">
136 <property name="text">
137 <string>0</string>
138 </property>
139 <property name="alignment">
140 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
141 </property>
142 </widget>
143 </item>
144 </layout>
145 </item>
146 <item row="2" column="2">
147 <layout class="QHBoxLayout" name="horizontalLayout_18">
148 <item>
149 <widget class="QLabel" name="label_18">
150 <property name="text">
151 <string>Double Size</string>
152 </property>
153 </widget>
154 </item>
155 <item>
156 <spacer name="horizontalSpacer_15">
157 <property name="orientation">
158 <enum>Qt::Horizontal</enum>
159 </property>
160 <property name="sizeHint" stdset="0">
161 <size>
162 <width>0</width>
163 <height>20</height>
164 </size>
165 </property>
166 </spacer>
167 </item>
168 <item>
169 <widget class="QCheckBox" name="doubleSize">
170 <property name="enabled">
171 <bool>false</bool>
172 </property>
173 <property name="text">
174 <string/>
175 </property>
176 <property name="shortcut">
177 <string>Return, Ctrl+R</string>
178 </property>
179 </widget>
180 </item>
181 </layout>
182 </item>
183 <item row="0" column="1" rowspan="4">
184 <widget class="Line" name="line">
185 <property name="orientation">
186 <enum>Qt::Vertical</enum>
187 </property>
188 </widget>
189 </item>
190 <item row="0" column="2">
191 <layout class="QHBoxLayout" name="horizontalLayout_5">
192 <item>
193 <widget class="QLabel" name="label_5">
194 <property name="text">
195 <string>Flipped</string>
196 </property>
197 </widget>
198 </item>
199 <item>
200 <spacer name="horizontalSpacer_3">
201 <property name="orientation">
202 <enum>Qt::Horizontal</enum>
203 </property>
204 <property name="sizeHint" stdset="0">
205 <size>
206 <width>0</width>
207 <height>20</height>
208 </size>
209 </property>
210 </spacer>
211 </item>
212 <item>
213 <widget class="QCheckBox" name="flippedH">
214 <property name="enabled">
215 <bool>false</bool>
216 </property>
217 <property name="text">
218 <string>H</string>
219 </property>
220 <property name="shortcut">
221 <string>Return, Ctrl+R</string>
222 </property>
223 </widget>
224 </item>
225 <item>
226 <widget class="QCheckBox" name="flippedV">
227 <property name="enabled">
228 <bool>false</bool>
229 </property>
230 <property name="text">
231 <string>V</string>
232 </property>
233 <property name="shortcut">
234 <string>Return, Ctrl+R</string>
235 </property>
236 </widget>
237 </item>
238 </layout>
239 </item>
240 <item row="3" column="0">
241 <layout class="QHBoxLayout" name="horizontalLayout_7">
242 <item>
243 <widget class="QLabel" name="label_7">
244 <property name="text">
245 <string>Mode</string>
246 </property>
247 </widget>
248 </item>
249 <item>
250 <spacer name="horizontalSpacer_5">
251 <property name="orientation">
252 <enum>Qt::Horizontal</enum>
253 </property>
254 <property name="sizeHint" stdset="0">
255 <size>
256 <width>0</width>
257 <height>20</height>
258 </size>
259 </property>
260 </spacer>
261 </item>
262 <item>
263 <widget class="QLabel" name="mode">
264 <property name="text">
265 <string>Normal</string>
266 </property>
267 </widget>
268 </item>
269 </layout>
270 </item>
271 <item row="3" column="2">
272 <layout class="QHBoxLayout" name="horizontalLayout_15">
273 <item>
274 <widget class="QLabel" name="label_15">
275 <property name="text">
276 <string>Mosaic</string>
277 </property>
278 </widget>
279 </item>
280 <item>
281 <spacer name="horizontalSpacer_12">
282 <property name="orientation">
283 <enum>Qt::Horizontal</enum>
284 </property>
285 <property name="sizeHint" stdset="0">
286 <size>
287 <width>0</width>
288 <height>20</height>
289 </size>
290 </property>
291 </spacer>
292 </item>
293 <item>
294 <widget class="QCheckBox" name="mosaic">
295 <property name="enabled">
296 <bool>false</bool>
297 </property>
298 <property name="text">
299 <string/>
300 </property>
301 <property name="shortcut">
302 <string>Return, Ctrl+R</string>
303 </property>
304 </widget>
305 </item>
306 </layout>
307 </item>
308 <item row="1" column="2">
309 <layout class="QHBoxLayout" name="horizontalLayout_14">
310 <item>
311 <widget class="QLabel" name="label_14">
312 <property name="text">
313 <string>Enabled</string>
314 </property>
315 </widget>
316 </item>
317 <item>
318 <spacer name="horizontalSpacer_11">
319 <property name="orientation">
320 <enum>Qt::Horizontal</enum>
321 </property>
322 <property name="sizeHint" stdset="0">
323 <size>
324 <width>0</width>
325 <height>20</height>
326 </size>
327 </property>
328 </spacer>
329 </item>
330 <item>
331 <widget class="QCheckBox" name="enabled">
332 <property name="enabled">
333 <bool>false</bool>
334 </property>
335 <property name="text">
336 <string/>
337 </property>
338 </widget>
339 </item>
340 </layout>
341 </item>
342 <item row="0" column="0">
343 <layout class="QHBoxLayout" name="horizontalLayout_17">
344 <item>
345 <widget class="QLabel" name="label_17">
346 <property name="text">
347 <string>Priority</string>
348 </property>
349 </widget>
350 </item>
351 <item>
352 <spacer name="horizontalSpacer_14">
353 <property name="orientation">
354 <enum>Qt::Horizontal</enum>
355 </property>
356 <property name="sizeHint" stdset="0">
357 <size>
358 <width>10</width>
359 <height>20</height>
360 </size>
361 </property>
362 </spacer>
363 </item>
364 <item>
365 <widget class="QLabel" name="priority">
366 <property name="text">
367 <string>0</string>
368 </property>
369 <property name="alignment">
370 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
371 </property>
372 </widget>
373 </item>
374 </layout>
375 </item>
376 </layout>
377 </widget>
378 </item>
379 <item row="0" column="1" rowspan="4">
380 <widget class="QGBA::AssetTile" name="tile">
381 <property name="title">
382 <string>Tile</string>
383 </property>
384 </widget>
385 </item>
386 <item row="2" column="0">
387 <widget class="QGroupBox" name="groupBox">
388 <property name="title">
389 <string>Geometry</string>
390 </property>
391 <layout class="QVBoxLayout" name="verticalLayout">
392 <item>
393 <layout class="QHBoxLayout" name="horizontalLayout">
394 <item>
395 <widget class="QLabel" name="label">
396 <property name="text">
397 <string>Position</string>
398 </property>
399 </widget>
400 </item>
401 <item>
402 <spacer name="horizontalSpacer">
403 <property name="orientation">
404 <enum>Qt::Horizontal</enum>
405 </property>
406 <property name="sizeHint" stdset="0">
407 <size>
408 <width>0</width>
409 <height>20</height>
410 </size>
411 </property>
412 </spacer>
413 </item>
414 <item>
415 <widget class="QLabel" name="x">
416 <property name="minimumSize">
417 <size>
418 <width>20</width>
419 <height>0</height>
420 </size>
421 </property>
422 <property name="text">
423 <string>0</string>
424 </property>
425 <property name="alignment">
426 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
427 </property>
428 </widget>
429 </item>
430 <item>
431 <widget class="QLabel" name="tileId_3">
432 <property name="text">
433 <string>, </string>
434 </property>
435 <property name="alignment">
436 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
437 </property>
438 </widget>
439 </item>
440 <item>
441 <widget class="QLabel" name="y">
442 <property name="minimumSize">
443 <size>
444 <width>20</width>
445 <height>0</height>
446 </size>
447 </property>
448 <property name="text">
449 <string>0</string>
450 </property>
451 <property name="alignment">
452 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
453 </property>
454 </widget>
455 </item>
456 </layout>
457 </item>
458 <item>
459 <layout class="QHBoxLayout" name="horizontalLayout_3">
460 <item>
461 <widget class="QLabel" name="label_4">
462 <property name="text">
463 <string>Dimensions</string>
464 </property>
465 </widget>
466 </item>
467 <item>
468 <spacer name="horizontalSpacer_2">
469 <property name="orientation">
470 <enum>Qt::Horizontal</enum>
471 </property>
472 <property name="sizeHint" stdset="0">
473 <size>
474 <width>0</width>
475 <height>20</height>
476 </size>
477 </property>
478 </spacer>
479 </item>
480 <item>
481 <widget class="QLabel" name="w">
482 <property name="minimumSize">
483 <size>
484 <width>20</width>
485 <height>0</height>
486 </size>
487 </property>
488 <property name="text">
489 <string>8</string>
490 </property>
491 <property name="alignment">
492 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
493 </property>
494 </widget>
495 </item>
496 <item>
497 <widget class="QLabel" name="tileId_5">
498 <property name="text">
499 <string>×</string>
500 </property>
501 <property name="alignment">
502 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
503 </property>
504 </widget>
505 </item>
506 <item>
507 <widget class="QLabel" name="h">
508 <property name="minimumSize">
509 <size>
510 <width>20</width>
511 <height>0</height>
512 </size>
513 </property>
514 <property name="text">
515 <string>8</string>
516 </property>
517 <property name="alignment">
518 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
519 </property>
520 </widget>
521 </item>
522 </layout>
523 </item>
524 </layout>
525 </widget>
526 </item>
527 <item row="0" column="0">
528 <layout class="QHBoxLayout" name="horizontalLayout_2">
529 <item>
530 <widget class="QSpinBox" name="objId">
531 <property name="sizePolicy">
532 <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
533 <horstretch>0</horstretch>
534 <verstretch>0</verstretch>
535 </sizepolicy>
536 </property>
537 <property name="maximum">
538 <number>127</number>
539 </property>
540 </widget>
541 </item>
542 <item>
543 <widget class="QLabel" name="label_3">
544 <property name="text">
545 <string>Address</string>
546 </property>
547 </widget>
548 </item>
549 <item>
550 <widget class="QLabel" name="address">
551 <property name="text">
552 <string>0x07000000</string>
553 </property>
554 <property name="alignment">
555 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
556 </property>
557 </widget>
558 </item>
559 </layout>
560 </item>
561 </layout>
562 </widget>
563 <customwidgets>
564 <customwidget>
565 <class>QGBA::TilePainter</class>
566 <extends>QWidget</extends>
567 <header>TilePainter.h</header>
568 <container>1</container>
569 <slots>
570 <slot>setTileMagnification(int)</slot>
571 </slots>
572 </customwidget>
573 <customwidget>
574 <class>QGBA::AssetTile</class>
575 <extends>QGroupBox</extends>
576 <header>AssetTile.h</header>
577 <container>1</container>
578 </customwidget>
579 </customwidgets>
580 <resources/>
581 <connections>
582 <connection>
583 <sender>magnification</sender>
584 <signal>valueChanged(int)</signal>
585 <receiver>tiles</receiver>
586 <slot>setTileMagnification(int)</slot>
587 <hints>
588 <hint type="sourcelabel">
589 <x>36</x>
590 <y>58</y>
591 </hint>
592 <hint type="destinationlabel">
593 <x>278</x>
594 <y>149</y>
595 </hint>
596 </hints>
597 </connection>
598 </connections>
599</ui>