src/platform/qt/TileView.ui (view raw)
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>TileView</class>
4 <widget class="QWidget" name="TileView">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>498</width>
10 <height>335</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Tiles</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="1" column="0">
18 <widget class="QCheckBox" name="palette256">
19 <property name="text">
20 <string>256 colors</string>
21 </property>
22 </widget>
23 </item>
24 <item row="0" column="0">
25 <widget class="QSlider" name="paletteId">
26 <property name="maximumSize">
27 <size>
28 <width>170</width>
29 <height>16777215</height>
30 </size>
31 </property>
32 <property name="maximum">
33 <number>15</number>
34 </property>
35 <property name="pageStep">
36 <number>1</number>
37 </property>
38 <property name="orientation">
39 <enum>Qt::Horizontal</enum>
40 </property>
41 <property name="tickPosition">
42 <enum>QSlider::TicksBelow</enum>
43 </property>
44 </widget>
45 </item>
46 <item row="4" column="0">
47 <spacer name="verticalSpacer">
48 <property name="orientation">
49 <enum>Qt::Vertical</enum>
50 </property>
51 <property name="sizeHint" stdset="0">
52 <size>
53 <width>0</width>
54 <height>0</height>
55 </size>
56 </property>
57 </spacer>
58 </item>
59 <item row="2" column="0">
60 <layout class="QHBoxLayout" name="horizontalLayout_4">
61 <item>
62 <widget class="QSpinBox" name="magnification">
63 <property name="sizePolicy">
64 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
65 <horstretch>0</horstretch>
66 <verstretch>0</verstretch>
67 </sizepolicy>
68 </property>
69 <property name="suffix">
70 <string>×</string>
71 </property>
72 <property name="minimum">
73 <number>1</number>
74 </property>
75 <property name="maximum">
76 <number>4</number>
77 </property>
78 </widget>
79 </item>
80 <item>
81 <widget class="QLabel" name="label_2">
82 <property name="text">
83 <string>Magnification</string>
84 </property>
85 </widget>
86 </item>
87 </layout>
88 </item>
89 <item row="0" column="1" rowspan="5">
90 <widget class="QScrollArea" name="scrollArea">
91 <property name="sizePolicy">
92 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
93 <horstretch>0</horstretch>
94 <verstretch>0</verstretch>
95 </sizepolicy>
96 </property>
97 <property name="widgetResizable">
98 <bool>true</bool>
99 </property>
100 <widget class="QWidget" name="scrollAreaWidgetContents">
101 <property name="geometry">
102 <rect>
103 <x>0</x>
104 <y>0</y>
105 <width>286</width>
106 <height>768</height>
107 </rect>
108 </property>
109 <layout class="QVBoxLayout" name="verticalLayout">
110 <property name="spacing">
111 <number>0</number>
112 </property>
113 <property name="leftMargin">
114 <number>0</number>
115 </property>
116 <property name="topMargin">
117 <number>0</number>
118 </property>
119 <property name="rightMargin">
120 <number>0</number>
121 </property>
122 <property name="bottomMargin">
123 <number>0</number>
124 </property>
125 <item>
126 <widget class="QGBA::TilePainter" name="tiles" native="true">
127 <property name="sizePolicy">
128 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
129 <horstretch>0</horstretch>
130 <verstretch>0</verstretch>
131 </sizepolicy>
132 </property>
133 <property name="minimumSize">
134 <size>
135 <width>256</width>
136 <height>768</height>
137 </size>
138 </property>
139 </widget>
140 </item>
141 </layout>
142 </widget>
143 </widget>
144 </item>
145 <item row="3" column="0">
146 <widget class="QGBA::AssetTile" name="tile"/>
147 </item>
148 </layout>
149 </widget>
150 <customwidgets>
151 <customwidget>
152 <class>QGBA::TilePainter</class>
153 <extends>QWidget</extends>
154 <header>TilePainter.h</header>
155 <container>1</container>
156 <slots>
157 <slot>setTileMagnification(int)</slot>
158 </slots>
159 </customwidget>
160 <customwidget>
161 <class>QGBA::AssetTile</class>
162 <extends>QGroupBox</extends>
163 <header>AssetTile.h</header>
164 <container>1</container>
165 </customwidget>
166 </customwidgets>
167 <resources/>
168 <connections>
169 <connection>
170 <sender>palette256</sender>
171 <signal>toggled(bool)</signal>
172 <receiver>paletteId</receiver>
173 <slot>setDisabled(bool)</slot>
174 <hints>
175 <hint type="sourcelabel">
176 <x>100</x>
177 <y>54</y>
178 </hint>
179 <hint type="destinationlabel">
180 <x>96</x>
181 <y>22</y>
182 </hint>
183 </hints>
184 </connection>
185 <connection>
186 <sender>magnification</sender>
187 <signal>valueChanged(int)</signal>
188 <receiver>tiles</receiver>
189 <slot>setTileMagnification(int)</slot>
190 <hints>
191 <hint type="sourcelabel">
192 <x>36</x>
193 <y>83</y>
194 </hint>
195 <hint type="destinationlabel">
196 <x>339</x>
197 <y>396</y>
198 </hint>
199 </hints>
200 </connection>
201 </connections>
202</ui>