Unify preferences layouts (#1670)

* Unify preferences layout
This commit is contained in:
Adam Zambrzycki 2019-07-18 22:02:13 +02:00 committed by Itay Cohen
parent 6ee6b41786
commit d22769ee9c
2 changed files with 117 additions and 121 deletions

View File

@ -6,22 +6,23 @@
<rect>
<x>0</x>
<y>0</y>
<width>442</width>
<height>225</height>
<width>489</width>
<height>201</height>
</rect>
</property>
<property name="windowTitle">
<string>Debug</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<item>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout" name="pluginSelectionLayout">
<item>
<widget class="QLabel" name="pluginLabel">
<property name="text">
<string>Debug Plugin:</string>
@ -29,72 +30,53 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="pluginComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
<widget class="QComboBox" name="pluginComboBox"/>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="argSelectionLayout">
<item>
<widget class="QLabel" name="argsLabel">
<property name="text">
<string>Program Arguments:</string>
</property>
</widget>
</item>
<item>
<item row="1" column="1">
<widget class="QLineEdit" name="debugArgs">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<layout class="QHBoxLayout" name="esilVMOptions1">
<item>
<widget class="QLabel" name="esilstackAddr">
<property name="text">
<string>ESIL stack address:</string>
</property>
</widget>
</item>
<item>
<item row="2" column="1">
<widget class="QLineEdit" name="stackAddr">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0">
<layout class="QHBoxLayout" name="esilVMOptions2">
<item>
<widget class="QLabel" name="esilStackSize">
<property name="text">
<string>ESIL stack size:</string>
</property>
</widget>
</item>
<item>
<item row="3" column="1">
<widget class="QLineEdit" name="stackSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -103,14 +85,28 @@
</item>
</layout>
</item>
<item row="4" column="0">
<item>
<widget class="QWidget" name="widget_2" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QCheckBox" name="esilBreakOnInvalid">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>469</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Break esil execution when instruction is invalid (esil.breakoninvalid)</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>

View File

@ -7,22 +7,15 @@
<x>0</x>
<y>0</y>
<width>567</width>
<height>300</height>
<height>79</height>
</rect>
</property>
<property name="windowTitle">
<string>Graph</string>
</property>
<widget class="QWidget" name="">
<property name="geometry">
<rect>
<x>30</x>
<y>10</y>
<width>253</width>
<height>62</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="maxColsLabel">
<property name="text">
@ -31,28 +24,35 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="maxColsSpinBox">
<property name="minimum">
<number>10</number>
<widget class="QSpinBox" name="maxColsSpinBox"/>
</item>
</layout>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximum">
<number>999999999</number>
<widget class="QCheckBox" name="graphOffsetCheckBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>208</width>
<height>24</height>
</rect>
</property>
<property name="singleStep">
<number>5</number>
<property name="text">
<string>Show offsets (graph.offset)</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="graphOffsetCheckBox">
<property name="text">
<string>Show offsets (graph.offset) </string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>