all repos — mgba @ 3a603f66828d69bae06bcdc6bdac0bfc4b84a2d4

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="QGBA::AssetInfo" name="AssetTile">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>241</width>
 10    <height>406</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 notr="true">0</string>
 49       </property>
 50       <property name="alignment">
 51        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 52       </property>
 53       <property name="textInteractionFlags">
 54        <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
 55       </property>
 56      </widget>
 57     </item>
 58    </layout>
 59   </item>
 60   <item>
 61    <layout class="QHBoxLayout" name="horizontalLayout_4">
 62     <item>
 63      <widget class="QLabel" name="label_2">
 64       <property name="text">
 65        <string>Palette #</string>
 66       </property>
 67      </widget>
 68     </item>
 69     <item>
 70      <widget class="QLabel" name="paletteId">
 71       <property name="text">
 72        <string notr="true">0</string>
 73       </property>
 74       <property name="alignment">
 75        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 76       </property>
 77      </widget>
 78     </item>
 79    </layout>
 80   </item>
 81   <item>
 82    <layout class="QHBoxLayout" name="horizontalLayout_2">
 83     <item>
 84      <widget class="QLabel" name="label_3">
 85       <property name="text">
 86        <string>Address</string>
 87       </property>
 88      </widget>
 89     </item>
 90     <item>
 91      <widget class="QLabel" name="address">
 92       <property name="text">
 93        <string notr="true">0x06000000</string>
 94       </property>
 95       <property name="alignment">
 96        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 97       </property>
 98       <property name="textInteractionFlags">
 99        <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
100       </property>
101      </widget>
102     </item>
103    </layout>
104   </item>
105   <item>
106    <widget class="Line" name="line">
107     <property name="orientation">
108      <enum>Qt::Horizontal</enum>
109     </property>
110    </widget>
111   </item>
112   <item alignment="Qt::AlignHCenter">
113    <widget class="QGBA::Swatch" name="color" native="true">
114     <property name="sizePolicy">
115      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
116       <horstretch>0</horstretch>
117       <verstretch>0</verstretch>
118      </sizepolicy>
119     </property>
120     <property name="minimumSize">
121      <size>
122       <width>50</width>
123       <height>50</height>
124      </size>
125     </property>
126    </widget>
127   </item>
128   <item>
129    <layout class="QHBoxLayout" name="horizontalLayout_3">
130     <item>
131      <layout class="QVBoxLayout" name="verticalLayout_9">
132       <item>
133        <widget class="QLabel" name="label_4">
134         <property name="text">
135          <string>Red</string>
136         </property>
137        </widget>
138       </item>
139       <item>
140        <widget class="QLabel" name="label_5">
141         <property name="text">
142          <string>Green</string>
143         </property>
144        </widget>
145       </item>
146       <item>
147        <widget class="QLabel" name="label_6">
148         <property name="text">
149          <string>Blue</string>
150         </property>
151        </widget>
152       </item>
153      </layout>
154     </item>
155     <item>
156      <layout class="QVBoxLayout" name="verticalLayout_10">
157       <property name="leftMargin">
158        <number>8</number>
159       </property>
160       <item>
161        <widget class="QLabel" name="r">
162         <property name="text">
163          <string notr="true">0x00 (00)</string>
164         </property>
165        </widget>
166       </item>
167       <item>
168        <widget class="QLabel" name="g">
169         <property name="text">
170          <string notr="true">0x00 (00)</string>
171         </property>
172        </widget>
173       </item>
174       <item>
175        <widget class="QLabel" name="b">
176         <property name="text">
177          <string notr="true">0x00 (00)</string>
178         </property>
179        </widget>
180       </item>
181      </layout>
182     </item>
183    </layout>
184   </item>
185  </layout>
186 </widget>
187 <customwidgets>
188  <customwidget>
189   <class>QGBA::Swatch</class>
190   <extends>QWidget</extends>
191   <header>Swatch.h</header>
192   <container>1</container>
193  </customwidget>
194  <customwidget>
195   <class>QGBA::AssetInfo</class>
196   <extends>QGroupBox</extends>
197   <header>AssetInfo.h</header>
198   <container>1</container>
199  </customwidget>
200 </customwidgets>
201 <resources/>
202 <connections/>
203</ui>