Files
seer/src/SeerAssemblyPreferenceDialog.ui
T
Ernie Pasveer 860c7f6057 Add a config for the Assembly view to change what $pc, $ps, and $sp registers are.
Needed for AVR, as it doesn't seem to have a $ps.
2024-01-05 14:35:53 -06:00

227 lines
6.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SeerAssemblyPreferenceDialogForm</class>
<widget class="QDialog" name="SeerAssemblyPreferenceDialogForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>350</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Seer - Assembly Preferences Editor</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>CPU Registers</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="pcLabel">
<property name="text">
<string>PC</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="pcLineEdit">
<property name="toolTip">
<string>PC register name</string>
</property>
<property name="placeholderText">
<string>PC register name ($pc)</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="flagsLabel">
<property name="text">
<string>FLAGS</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="flagsLineEdit">
<property name="toolTip">
<string>CPU flags register name</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>CPU Flags register name ($ps)</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="spLabel">
<property name="text">
<string>SP</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="spLineEdit">
<property name="toolTip">
<string>SP register name</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>SP register name ($sp)</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_1">
<property name="title">
<string>Assembly Details</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QCheckBox" name="showAddressCheckBox">
<property name="toolTip">
<string>Show assembly address.</string>
</property>
<property name="text">
<string>Address</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showOffsetCheckBox">
<property name="toolTip">
<string>Show assembly offset.</string>
</property>
<property name="text">
<string>Offset</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showOpcodeCheckBox">
<property name="toolTip">
<string>Show assembly opcodes.</string>
</property>
<property name="text">
<string>Opcode</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showSourceCheckBox">
<property name="toolTip">
<string>Show original source code.</string>
</property>
<property name="text">
<string>Source</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>66</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>27</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
<zorder>groupBox_2</zorder>
<zorder>buttonBox</zorder>
<zorder>groupBox_1</zorder>
</widget>
<tabstops>
<tabstop>pcLineEdit</tabstop>
<tabstop>flagsLineEdit</tabstop>
<tabstop>spLineEdit</tabstop>
<tabstop>showAddressCheckBox</tabstop>
<tabstop>showOffsetCheckBox</tabstop>
<tabstop>showOpcodeCheckBox</tabstop>
<tabstop>showSourceCheckBox</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>SeerAssemblyPreferenceDialogForm</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>SeerAssemblyPreferenceDialogForm</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>