all repos — mgba @ e318d61a06cbe33ee711a835ffb5ee53030cc87e

mGBA Game Boy Advance Emulator

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

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>PaletteView</class>
  4 <widget class="QWidget" name="PaletteView">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>443</width>
 10    <height>397</height>
 11   </rect>
 12  </property>
 13  <property name="windowTitle">
 14   <string>Palette</string>
 15  </property>
 16  <layout class="QVBoxLayout" name="verticalLayout">
 17   <property name="sizeConstraint">
 18    <enum>QLayout::SetFixedSize</enum>
 19   </property>
 20   <item>
 21    <layout class="QHBoxLayout" name="horizontalLayout">
 22     <item>
 23      <spacer name="horizontalSpacer_2">
 24       <property name="orientation">
 25        <enum>Qt::Horizontal</enum>
 26       </property>
 27       <property name="sizeHint" stdset="0">
 28        <size>
 29         <width>0</width>
 30         <height>0</height>
 31        </size>
 32       </property>
 33      </spacer>
 34     </item>
 35     <item>
 36      <widget class="QGroupBox" name="groupBox">
 37       <property name="sizePolicy">
 38        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 39         <horstretch>0</horstretch>
 40         <verstretch>0</verstretch>
 41        </sizepolicy>
 42       </property>
 43       <property name="title">
 44        <string>Background</string>
 45       </property>
 46       <layout class="QVBoxLayout" name="verticalLayout_3">
 47        <property name="leftMargin">
 48         <number>0</number>
 49        </property>
 50        <property name="topMargin">
 51         <number>0</number>
 52        </property>
 53        <property name="rightMargin">
 54         <number>0</number>
 55        </property>
 56        <property name="bottomMargin">
 57         <number>0</number>
 58        </property>
 59        <item>
 60         <widget class="QGBA::Swatch" name="bgGrid" native="true">
 61          <property name="sizePolicy">
 62           <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
 63            <horstretch>0</horstretch>
 64            <verstretch>0</verstretch>
 65           </sizepolicy>
 66          </property>
 67         </widget>
 68        </item>
 69       </layout>
 70      </widget>
 71     </item>
 72     <item>
 73      <spacer name="horizontalSpacer">
 74       <property name="orientation">
 75        <enum>Qt::Horizontal</enum>
 76       </property>
 77       <property name="sizeHint" stdset="0">
 78        <size>
 79         <width>0</width>
 80         <height>0</height>
 81        </size>
 82       </property>
 83      </spacer>
 84     </item>
 85     <item>
 86      <widget class="QGroupBox" name="groupBox_2">
 87       <property name="sizePolicy">
 88        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 89         <horstretch>0</horstretch>
 90         <verstretch>0</verstretch>
 91        </sizepolicy>
 92       </property>
 93       <property name="title">
 94        <string>Objects</string>
 95       </property>
 96       <layout class="QVBoxLayout" name="verticalLayout_4">
 97        <property name="leftMargin">
 98         <number>0</number>
 99        </property>
100        <property name="topMargin">
101         <number>0</number>
102        </property>
103        <property name="rightMargin">
104         <number>0</number>
105        </property>
106        <property name="bottomMargin">
107         <number>0</number>
108        </property>
109        <item>
110         <widget class="QGBA::Swatch" name="objGrid" native="true">
111          <property name="sizePolicy">
112           <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
113            <horstretch>0</horstretch>
114            <verstretch>0</verstretch>
115           </sizepolicy>
116          </property>
117         </widget>
118        </item>
119       </layout>
120      </widget>
121     </item>
122     <item>
123      <spacer name="horizontalSpacer_3">
124       <property name="orientation">
125        <enum>Qt::Horizontal</enum>
126       </property>
127       <property name="sizeHint" stdset="0">
128        <size>
129         <width>0</width>
130         <height>0</height>
131        </size>
132       </property>
133      </spacer>
134     </item>
135    </layout>
136   </item>
137   <item>
138    <spacer name="verticalSpacer">
139     <property name="orientation">
140      <enum>Qt::Vertical</enum>
141     </property>
142     <property name="sizeHint" stdset="0">
143      <size>
144       <width>0</width>
145       <height>0</height>
146      </size>
147     </property>
148    </spacer>
149   </item>
150   <item>
151    <widget class="QGroupBox" name="groupBox_3">
152     <property name="title">
153      <string>Selection</string>
154     </property>
155     <layout class="QHBoxLayout" name="horizontalLayout_4">
156      <item>
157       <widget class="QGBA::Swatch" name="selected" native="true">
158        <property name="sizePolicy">
159         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
160          <horstretch>0</horstretch>
161          <verstretch>0</verstretch>
162         </sizepolicy>
163        </property>
164        <property name="minimumSize">
165         <size>
166          <width>64</width>
167          <height>64</height>
168         </size>
169        </property>
170       </widget>
171      </item>
172      <item>
173       <widget class="Line" name="line_3">
174        <property name="orientation">
175         <enum>Qt::Vertical</enum>
176        </property>
177       </widget>
178      </item>
179      <item>
180       <layout class="QVBoxLayout" name="verticalLayout_9">
181        <item>
182         <widget class="QLabel" name="label_4">
183          <property name="text">
184           <string>Red</string>
185          </property>
186         </widget>
187        </item>
188        <item>
189         <widget class="QLabel" name="label_5">
190          <property name="text">
191           <string>Green</string>
192          </property>
193         </widget>
194        </item>
195        <item>
196         <widget class="QLabel" name="label_6">
197          <property name="text">
198           <string>Blue</string>
199          </property>
200         </widget>
201        </item>
202       </layout>
203      </item>
204      <item>
205       <layout class="QVBoxLayout" name="verticalLayout_10">
206        <property name="leftMargin">
207         <number>8</number>
208        </property>
209        <item>
210         <widget class="QLabel" name="r">
211          <property name="text">
212           <string>0x00 (00)</string>
213          </property>
214         </widget>
215        </item>
216        <item>
217         <widget class="QLabel" name="g">
218          <property name="text">
219           <string>0x00 (00)</string>
220          </property>
221         </widget>
222        </item>
223        <item>
224         <widget class="QLabel" name="b">
225          <property name="text">
226           <string>0x00 (00)</string>
227          </property>
228         </widget>
229        </item>
230       </layout>
231      </item>
232      <item>
233       <widget class="Line" name="line_4">
234        <property name="orientation">
235         <enum>Qt::Vertical</enum>
236        </property>
237       </widget>
238      </item>
239      <item>
240       <layout class="QVBoxLayout" name="verticalLayout_11">
241        <item>
242         <widget class="QLabel" name="label_14">
243          <property name="text">
244           <string>16-bit value</string>
245          </property>
246         </widget>
247        </item>
248        <item>
249         <widget class="QLabel" name="label_15">
250          <property name="text">
251           <string>Hex code</string>
252          </property>
253         </widget>
254        </item>
255        <item>
256         <widget class="QLabel" name="label_16">
257          <property name="text">
258           <string>Palette index</string>
259          </property>
260         </widget>
261        </item>
262       </layout>
263      </item>
264      <item>
265       <layout class="QVBoxLayout" name="verticalLayout_12">
266        <property name="leftMargin">
267         <number>8</number>
268        </property>
269        <item>
270         <widget class="QLabel" name="value">
271          <property name="text">
272           <string>0x0000</string>
273          </property>
274          <property name="alignment">
275           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
276          </property>
277         </widget>
278        </item>
279        <item>
280         <widget class="QLabel" name="hexcode">
281          <property name="text">
282           <string>#000000</string>
283          </property>
284          <property name="alignment">
285           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
286          </property>
287         </widget>
288        </item>
289        <item>
290         <widget class="QLabel" name="index">
291          <property name="text">
292           <string>000</string>
293          </property>
294          <property name="alignment">
295           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
296          </property>
297         </widget>
298        </item>
299       </layout>
300      </item>
301     </layout>
302    </widget>
303   </item>
304   <item>
305    <layout class="QHBoxLayout" name="horizontalLayout_3">
306     <item>
307      <spacer name="horizontalSpacer_4">
308       <property name="orientation">
309        <enum>Qt::Horizontal</enum>
310       </property>
311       <property name="sizeHint" stdset="0">
312        <size>
313         <width>0</width>
314         <height>0</height>
315        </size>
316       </property>
317      </spacer>
318     </item>
319     <item>
320      <widget class="QPushButton" name="exportBG">
321       <property name="text">
322        <string>Export BG</string>
323       </property>
324      </widget>
325     </item>
326     <item>
327      <spacer name="horizontalSpacer_5">
328       <property name="orientation">
329        <enum>Qt::Horizontal</enum>
330       </property>
331       <property name="sizeHint" stdset="0">
332        <size>
333         <width>0</width>
334         <height>0</height>
335        </size>
336       </property>
337      </spacer>
338     </item>
339     <item>
340      <widget class="QPushButton" name="exportOBJ">
341       <property name="text">
342        <string>Export OBJ</string>
343       </property>
344      </widget>
345     </item>
346     <item>
347      <spacer name="horizontalSpacer_6">
348       <property name="orientation">
349        <enum>Qt::Horizontal</enum>
350       </property>
351       <property name="sizeHint" stdset="0">
352        <size>
353         <width>0</width>
354         <height>0</height>
355        </size>
356       </property>
357      </spacer>
358     </item>
359    </layout>
360   </item>
361  </layout>
362 </widget>
363 <customwidgets>
364  <customwidget>
365   <class>QGBA::Swatch</class>
366   <extends>QWidget</extends>
367   <header>Swatch.h</header>
368   <container>1</container>
369  </customwidget>
370 </customwidgets>
371 <resources/>
372 <connections/>
373</ui>