all repos — mgba @ b9edcd8d93759311eebb54cf4d8be704916d566d

mGBA Game Boy Advance Emulator

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

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>MemorySearch</class>
  4 <widget class="QWidget" name="MemorySearch">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>725</width>
 10    <height>813</height>
 11   </rect>
 12  </property>
 13  <property name="sizePolicy">
 14   <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
 15    <horstretch>0</horstretch>
 16    <verstretch>0</verstretch>
 17   </sizepolicy>
 18  </property>
 19  <property name="minimumSize">
 20   <size>
 21    <width>540</width>
 22    <height>400</height>
 23   </size>
 24  </property>
 25  <property name="windowTitle">
 26   <string>Memory Search</string>
 27  </property>
 28  <layout class="QGridLayout" name="gridLayout">
 29   <item row="0" column="1">
 30    <widget class="QTableWidget" name="results">
 31     <property name="sizePolicy">
 32      <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
 33       <horstretch>1</horstretch>
 34       <verstretch>0</verstretch>
 35      </sizepolicy>
 36     </property>
 37     <property name="editTriggers">
 38      <set>QAbstractItemView::NoEditTriggers</set>
 39     </property>
 40     <property name="selectionBehavior">
 41      <enum>QAbstractItemView::SelectRows</enum>
 42     </property>
 43     <property name="showGrid">
 44      <bool>false</bool>
 45     </property>
 46     <attribute name="verticalHeaderVisible">
 47      <bool>false</bool>
 48     </attribute>
 49     <column>
 50      <property name="text">
 51       <string>Address</string>
 52      </property>
 53     </column>
 54     <column>
 55      <property name="text">
 56       <string>Current Value</string>
 57      </property>
 58     </column>
 59     <column>
 60      <property name="text">
 61       <string>Type</string>
 62      </property>
 63     </column>
 64    </widget>
 65   </item>
 66   <item row="0" column="0">
 67    <layout class="QFormLayout" name="formLayout">
 68     <item row="0" column="0">
 69      <widget class="QLabel" name="label">
 70       <property name="text">
 71        <string>Value</string>
 72       </property>
 73      </widget>
 74     </item>
 75     <item row="0" column="1">
 76      <widget class="QLineEdit" name="value"/>
 77     </item>
 78     <item row="1" column="0">
 79      <widget class="QLabel" name="label_2">
 80       <property name="text">
 81        <string>Type</string>
 82       </property>
 83      </widget>
 84     </item>
 85     <item row="1" column="1">
 86      <widget class="QRadioButton" name="typeNum">
 87       <property name="text">
 88        <string>Numeric</string>
 89       </property>
 90       <property name="checked">
 91        <bool>true</bool>
 92       </property>
 93       <attribute name="buttonGroup">
 94        <string notr="true">type</string>
 95       </attribute>
 96      </widget>
 97     </item>
 98     <item row="2" column="1">
 99      <widget class="QRadioButton" name="typeStr">
100       <property name="text">
101        <string>Text</string>
102       </property>
103       <attribute name="buttonGroup">
104        <string notr="true">type</string>
105       </attribute>
106      </widget>
107     </item>
108     <item row="4" column="0" colspan="2">
109      <widget class="Line" name="line">
110       <property name="orientation">
111        <enum>Qt::Horizontal</enum>
112       </property>
113      </widget>
114     </item>
115     <item row="5" column="0">
116      <widget class="QLabel" name="label_3">
117       <property name="text">
118        <string>Width</string>
119       </property>
120      </widget>
121     </item>
122     <item row="5" column="1">
123      <widget class="QRadioButton" name="bitsGuess">
124       <property name="text">
125        <string>Guess</string>
126       </property>
127       <property name="checked">
128        <bool>true</bool>
129       </property>
130       <attribute name="buttonGroup">
131        <string notr="true">width</string>
132       </attribute>
133      </widget>
134     </item>
135     <item row="6" column="1">
136      <widget class="QRadioButton" name="bits8">
137       <property name="text">
138        <string>1 Byte (8-bit)</string>
139       </property>
140       <attribute name="buttonGroup">
141        <string notr="true">width</string>
142       </attribute>
143      </widget>
144     </item>
145     <item row="7" column="1">
146      <widget class="QRadioButton" name="bits16">
147       <property name="text">
148        <string>2 Bytes (16-bit)</string>
149       </property>
150       <attribute name="buttonGroup">
151        <string notr="true">width</string>
152       </attribute>
153      </widget>
154     </item>
155     <item row="8" column="1">
156      <widget class="QRadioButton" name="bits32">
157       <property name="text">
158        <string>4 Bytes (32-bit)</string>
159       </property>
160       <property name="checked">
161        <bool>false</bool>
162       </property>
163       <attribute name="buttonGroup">
164        <string notr="true">width</string>
165       </attribute>
166      </widget>
167     </item>
168     <item row="9" column="0" colspan="2">
169      <widget class="Line" name="line_2">
170       <property name="orientation">
171        <enum>Qt::Horizontal</enum>
172       </property>
173      </widget>
174     </item>
175     <item row="10" column="0">
176      <widget class="QLabel" name="label_4">
177       <property name="text">
178        <string>Number type</string>
179       </property>
180      </widget>
181     </item>
182     <item row="10" column="1">
183      <widget class="QRadioButton" name="numGuess">
184       <property name="text">
185        <string>Guess</string>
186       </property>
187       <property name="checked">
188        <bool>true</bool>
189       </property>
190      </widget>
191     </item>
192     <item row="11" column="1">
193      <widget class="QRadioButton" name="numDec">
194       <property name="text">
195        <string>Decimal</string>
196       </property>
197      </widget>
198     </item>
199     <item row="12" column="1">
200      <widget class="QRadioButton" name="numHex">
201       <property name="text">
202        <string>Hexadecimal</string>
203       </property>
204      </widget>
205     </item>
206     <item row="13" column="0" colspan="2">
207      <widget class="Line" name="line_3">
208       <property name="orientation">
209        <enum>Qt::Horizontal</enum>
210       </property>
211      </widget>
212     </item>
213     <item row="14" column="0">
214      <widget class="QLabel" name="label_5">
215       <property name="text">
216        <string>Search type</string>
217       </property>
218      </widget>
219     </item>
220     <item row="14" column="1">
221      <widget class="QRadioButton" name="opEqual">
222       <property name="text">
223        <string>Equal to value</string>
224       </property>
225       <property name="checked">
226        <bool>true</bool>
227       </property>
228       <attribute name="buttonGroup">
229        <string notr="true">op</string>
230       </attribute>
231      </widget>
232     </item>
233     <item row="15" column="1">
234      <widget class="QRadioButton" name="opGreater">
235       <property name="text">
236        <string>Greater than value</string>
237       </property>
238       <attribute name="buttonGroup">
239        <string notr="true">op</string>
240       </attribute>
241      </widget>
242     </item>
243     <item row="16" column="1">
244      <widget class="QRadioButton" name="opLess">
245       <property name="text">
246        <string>Less than value</string>
247       </property>
248       <attribute name="buttonGroup">
249        <string notr="true">op</string>
250       </attribute>
251      </widget>
252     </item>
253     <item row="17" column="1">
254      <widget class="QRadioButton" name="opUnknown">
255       <property name="text">
256        <string>Unknown/changed</string>
257       </property>
258       <attribute name="buttonGroup">
259        <string notr="true">op</string>
260       </attribute>
261      </widget>
262     </item>
263     <item row="18" column="1">
264      <widget class="QRadioButton" name="opDelta">
265       <property name="enabled">
266        <bool>false</bool>
267       </property>
268       <property name="text">
269        <string>Changed by value</string>
270       </property>
271       <attribute name="buttonGroup">
272        <string notr="true">op</string>
273       </attribute>
274      </widget>
275     </item>
276     <item row="21" column="1">
277      <widget class="QRadioButton" name="opDelta0">
278       <property name="enabled">
279        <bool>false</bool>
280       </property>
281       <property name="text">
282        <string>Unchanged</string>
283       </property>
284       <attribute name="buttonGroup">
285        <string notr="true">op</string>
286       </attribute>
287      </widget>
288     </item>
289     <item row="19" column="1">
290      <widget class="QRadioButton" name="opDeltaPositive">
291       <property name="enabled">
292        <bool>false</bool>
293       </property>
294       <property name="text">
295        <string>Increased</string>
296       </property>
297       <attribute name="buttonGroup">
298        <string notr="true">op</string>
299       </attribute>
300      </widget>
301     </item>
302     <item row="20" column="1">
303      <widget class="QRadioButton" name="opDeltaNegative">
304       <property name="enabled">
305        <bool>false</bool>
306       </property>
307       <property name="text">
308        <string>Decreased</string>
309       </property>
310       <attribute name="buttonGroup">
311        <string notr="true">op</string>
312       </attribute>
313      </widget>
314     </item>
315     <item row="3" column="1">
316      <widget class="QCheckBox" name="searchROM">
317       <property name="text">
318        <string>Search ROM</string>
319       </property>
320      </widget>
321     </item>
322    </layout>
323   </item>
324   <item row="2" column="0" colspan="2">
325    <widget class="QDialogButtonBox" name="buttonBox">
326     <property name="standardButtons">
327      <set>QDialogButtonBox::Close</set>
328     </property>
329    </widget>
330   </item>
331   <item row="1" column="0" colspan="2">
332    <layout class="QHBoxLayout" name="horizontalLayout_2">
333     <item>
334      <widget class="QPushButton" name="search">
335       <property name="text">
336        <string>New Search</string>
337       </property>
338      </widget>
339     </item>
340     <item>
341      <widget class="QPushButton" name="searchWithin">
342       <property name="text">
343        <string>Search Within</string>
344       </property>
345      </widget>
346     </item>
347     <item>
348      <widget class="QPushButton" name="viewMem">
349       <property name="text">
350        <string>Open in Memory Viewer</string>
351       </property>
352      </widget>
353     </item>
354     <item>
355      <widget class="QPushButton" name="refresh">
356       <property name="text">
357        <string>Refresh</string>
358       </property>
359      </widget>
360     </item>
361    </layout>
362   </item>
363  </layout>
364 </widget>
365 <resources/>
366 <connections>
367  <connection>
368   <sender>buttonBox</sender>
369   <signal>rejected()</signal>
370   <receiver>MemorySearch</receiver>
371   <slot>close()</slot>
372   <hints>
373    <hint type="sourcelabel">
374     <x>315</x>
375     <y>357</y>
376    </hint>
377    <hint type="destinationlabel">
378     <x>315</x>
379     <y>188</y>
380    </hint>
381   </hints>
382  </connection>
383  <connection>
384   <sender>opDelta0</sender>
385   <signal>toggled(bool)</signal>
386   <receiver>value</receiver>
387   <slot>setDisabled(bool)</slot>
388   <hints>
389    <hint type="sourcelabel">
390     <x>231</x>
391     <y>768</y>
392    </hint>
393    <hint type="destinationlabel">
394     <x>272</x>
395     <y>26</y>
396    </hint>
397   </hints>
398  </connection>
399 </connections>
400 <buttongroups>
401  <buttongroup name="type"/>
402  <buttongroup name="op"/>
403  <buttongroup name="width"/>
404 </buttongroups>
405</ui>