all repos — mgba @ 2a80438443bf0bda84916e56f39d3de7c196286c

mGBA Game Boy Advance Emulator

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

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>AssetTile</class>
  4 <widget class="QGroupBox" name="AssetTile">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>171</width>
 10    <height>355</height>
 11   </rect>
 12  </property>
 13  <property name="sizePolicy">
 14   <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
 15    <horstretch>0</horstretch>
 16    <verstretch>0</verstretch>
 17   </sizepolicy>
 18  </property>
 19  <property name="windowTitle">
 20   <string>AssetTile</string>
 21  </property>
 22  <property name="title">
 23   <string/>
 24  </property>
 25  <layout class="QVBoxLayout" name="verticalLayout">
 26   <item alignment="Qt::AlignHCenter">
 27    <widget class="QGBA::Swatch" name="preview" native="true">
 28     <property name="minimumSize">
 29      <size>
 30       <width>87</width>
 31       <height>87</height>
 32      </size>
 33     </property>
 34    </widget>
 35   </item>
 36   <item>
 37    <layout class="QHBoxLayout" name="horizontalLayout">
 38     <item>
 39      <widget class="QLabel" name="label">
 40       <property name="text">
 41        <string>Tile #</string>
 42       </property>
 43      </widget>
 44     </item>
 45     <item>
 46      <widget class="QLabel" name="tileId">
 47       <property name="text">
 48        <string>0</string>
 49       </property>
 50       <property name="alignment">
 51        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 52       </property>
 53      </widget>
 54     </item>
 55    </layout>
 56   </item>
 57   <item>
 58    <layout class="QHBoxLayout" name="horizontalLayout_4">
 59     <item>
 60      <widget class="QLabel" name="label_2">
 61       <property name="text">
 62        <string>Palette #</string>
 63       </property>
 64      </widget>
 65     </item>
 66     <item>
 67      <widget class="QLabel" name="paletteId">
 68       <property name="text">
 69        <string>0</string>
 70       </property>
 71       <property name="alignment">
 72        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 73       </property>
 74      </widget>
 75     </item>
 76    </layout>
 77   </item>
 78   <item>
 79    <layout class="QHBoxLayout" name="horizontalLayout_2">
 80     <item>
 81      <widget class="QLabel" name="label_3">
 82       <property name="text">
 83        <string>Address</string>
 84       </property>
 85      </widget>
 86     </item>
 87     <item>
 88      <widget class="QLabel" name="address">
 89       <property name="text">
 90        <string>0x06000000</string>
 91       </property>
 92       <property name="alignment">
 93        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 94       </property>
 95      </widget>
 96     </item>
 97    </layout>
 98   </item>
 99   <item>
100    <widget class="Line" name="line">
101     <property name="orientation">
102      <enum>Qt::Horizontal</enum>
103     </property>
104    </widget>
105   </item>
106   <item alignment="Qt::AlignHCenter">
107    <widget class="QGBA::Swatch" name="color" native="true">
108     <property name="sizePolicy">
109      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
110       <horstretch>0</horstretch>
111       <verstretch>0</verstretch>
112      </sizepolicy>
113     </property>
114     <property name="minimumSize">
115      <size>
116       <width>50</width>
117       <height>50</height>
118      </size>
119     </property>
120    </widget>
121   </item>
122   <item>
123    <layout class="QHBoxLayout" name="horizontalLayout_3">
124     <item>
125      <layout class="QVBoxLayout" name="verticalLayout_9">
126       <item>
127        <widget class="QLabel" name="label_4">
128         <property name="text">
129          <string>Red</string>
130         </property>
131        </widget>
132       </item>
133       <item>
134        <widget class="QLabel" name="label_5">
135         <property name="text">
136          <string>Green</string>
137         </property>
138        </widget>
139       </item>
140       <item>
141        <widget class="QLabel" name="label_6">
142         <property name="text">
143          <string>Blue</string>
144         </property>
145        </widget>
146       </item>
147      </layout>
148     </item>
149     <item>
150      <layout class="QVBoxLayout" name="verticalLayout_10">
151       <property name="leftMargin">
152        <number>8</number>
153       </property>
154       <item>
155        <widget class="QLabel" name="r">
156         <property name="text">
157          <string>0x00 (00)</string>
158         </property>
159        </widget>
160       </item>
161       <item>
162        <widget class="QLabel" name="g">
163         <property name="text">
164          <string>0x00 (00)</string>
165         </property>
166        </widget>
167       </item>
168       <item>
169        <widget class="QLabel" name="b">
170         <property name="text">
171          <string>0x00 (00)</string>
172         </property>
173        </widget>
174       </item>
175      </layout>
176     </item>
177    </layout>
178   </item>
179  </layout>
180 </widget>
181 <customwidgets>
182  <customwidget>
183   <class>QGBA::Swatch</class>
184   <extends>QWidget</extends>
185   <header>Swatch.h</header>
186   <container>1</container>
187  </customwidget>
188 </customwidgets>
189 <resources/>
190 <connections/>
191</ui>