all repos — mgba @ 3c65ac986e8d2bbf64e1f55371c03f06e0342ce7

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