all repos — mgba @ 27545462e4b14f77929d9469382299fe2a7510e1

mGBA Game Boy Advance Emulator

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

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>MemoryView</class>
  4 <widget class="QWidget" name="MemoryView">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>550</width>
 10    <height>640</height>
 11   </rect>
 12  </property>
 13  <property name="windowTitle">
 14   <string>Memory</string>
 15  </property>
 16  <layout class="QVBoxLayout" name="verticalLayout">
 17   <item>
 18    <layout class="QHBoxLayout" name="horizontalLayout">
 19     <item>
 20      <widget class="QComboBox" name="regions"/>
 21     </item>
 22     <item>
 23      <spacer name="horizontalSpacer">
 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="QLabel" name="label">
 37       <property name="text">
 38        <string>Inspect Address:</string>
 39       </property>
 40      </widget>
 41     </item>
 42     <item>
 43      <widget class="QSpinBox" name="segments">
 44       <property name="minimum">
 45        <number>-1</number>
 46       </property>
 47       <property name="maximum">
 48        <number>0</number>
 49       </property>
 50       <property name="displayIntegerBase">
 51        <number>16</number>
 52       </property>
 53      </widget>
 54     </item>
 55     <item>
 56      <widget class="QSpinBox" name="setAddress">
 57       <property name="accelerated">
 58        <bool>true</bool>
 59       </property>
 60       <property name="prefix">
 61        <string>0x</string>
 62       </property>
 63       <property name="maximum">
 64        <number>268435455</number>
 65       </property>
 66       <property name="singleStep">
 67        <number>16</number>
 68       </property>
 69       <property name="displayIntegerBase">
 70        <number>16</number>
 71       </property>
 72      </widget>
 73     </item>
 74    </layout>
 75   </item>
 76   <item>
 77    <layout class="QHBoxLayout" name="horizontalLayout_3">
 78     <item>
 79      <widget class="QLabel" name="label_2">
 80       <property name="text">
 81        <string>Set Alignment:</string>
 82       </property>
 83      </widget>
 84     </item>
 85     <item>
 86      <spacer name="horizontalSpacer_2">
 87       <property name="orientation">
 88        <enum>Qt::Horizontal</enum>
 89       </property>
 90       <property name="sizeHint" stdset="0">
 91        <size>
 92         <width>0</width>
 93         <height>0</height>
 94        </size>
 95       </property>
 96      </spacer>
 97     </item>
 98     <item>
 99      <widget class="QRadioButton" name="width8">
100       <property name="text">
101        <string>1 Byte</string>
102       </property>
103       <property name="checked">
104        <bool>true</bool>
105       </property>
106      </widget>
107     </item>
108     <item>
109      <spacer name="horizontalSpacer_4">
110       <property name="orientation">
111        <enum>Qt::Horizontal</enum>
112       </property>
113       <property name="sizeHint" stdset="0">
114        <size>
115         <width>0</width>
116         <height>0</height>
117        </size>
118       </property>
119      </spacer>
120     </item>
121     <item>
122      <widget class="QRadioButton" name="width16">
123       <property name="text">
124        <string>2 Bytes</string>
125       </property>
126      </widget>
127     </item>
128     <item>
129      <spacer name="horizontalSpacer_5">
130       <property name="orientation">
131        <enum>Qt::Horizontal</enum>
132       </property>
133       <property name="sizeHint" stdset="0">
134        <size>
135         <width>0</width>
136         <height>0</height>
137        </size>
138       </property>
139      </spacer>
140     </item>
141     <item>
142      <widget class="QRadioButton" name="width32">
143       <property name="text">
144        <string>4 Bytes</string>
145       </property>
146      </widget>
147     </item>
148     <item>
149      <spacer name="horizontalSpacer_3">
150       <property name="orientation">
151        <enum>Qt::Horizontal</enum>
152       </property>
153       <property name="sizeHint" stdset="0">
154        <size>
155         <width>0</width>
156         <height>0</height>
157        </size>
158       </property>
159      </spacer>
160     </item>
161    </layout>
162   </item>
163   <item>
164    <widget class="QGBA::MemoryModel" name="hexfield" native="true">
165     <property name="sizePolicy">
166      <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
167       <horstretch>0</horstretch>
168       <verstretch>0</verstretch>
169      </sizepolicy>
170     </property>
171    </widget>
172   </item>
173   <item>
174    <layout class="QHBoxLayout" name="horizontalLayout_4">
175     <item>
176      <layout class="QFormLayout" name="formLayout">
177       <item row="0" column="0">
178        <widget class="QLabel" name="label_3">
179         <property name="text">
180          <string>Signed Integer:</string>
181         </property>
182        </widget>
183       </item>
184       <item row="0" column="1">
185        <widget class="QLineEdit" name="sintVal">
186         <property name="readOnly">
187          <bool>true</bool>
188         </property>
189        </widget>
190       </item>
191      </layout>
192     </item>
193     <item>
194      <layout class="QFormLayout" name="formLayout_4">
195       <item row="0" column="0">
196        <widget class="QLabel" name="label_4">
197         <property name="text">
198          <string>Unsigned Integer:</string>
199         </property>
200        </widget>
201       </item>
202       <item row="0" column="1">
203        <widget class="QLineEdit" name="uintVal">
204         <property name="readOnly">
205          <bool>true</bool>
206         </property>
207        </widget>
208       </item>
209      </layout>
210     </item>
211    </layout>
212   </item>
213  </layout>
214 </widget>
215 <customwidgets>
216  <customwidget>
217   <class>QGBA::MemoryModel</class>
218   <extends>QWidget</extends>
219   <header>MemoryModel.h</header>
220   <container>1</container>
221  </customwidget>
222 </customwidgets>
223 <resources/>
224 <connections/>
225</ui>