all repos — mgba @ 5d21116aea5211c3c92925c2a751bb5ce5e575e8

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