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,112 +6,108 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>442</width> <width>489</width>
<height>225</height> <height>201</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Debug</string> <string>Debug</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<item> <item>
<layout class="QFormLayout" name="formLayout"> <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"> <item row="0" column="0">
<layout class="QHBoxLayout" name="pluginSelectionLayout"> <widget class="QLabel" name="pluginLabel">
<item> <property name="text">
<widget class="QLabel" name="pluginLabel"> <string>Debug Plugin:</string>
<property name="text"> </property>
<string>Debug Plugin:</string> </widget>
</property> </item>
</widget> <item row="0" column="1">
</item> <widget class="QComboBox" name="pluginComboBox"/>
<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>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<layout class="QHBoxLayout" name="argSelectionLayout"> <widget class="QLabel" name="argsLabel">
<item> <property name="text">
<widget class="QLabel" name="argsLabel"> <string>Program Arguments:</string>
<property name="text"> </property>
<string>Program Arguments:</string> </widget>
</property> </item>
</widget> <item row="1" column="1">
</item> <widget class="QLineEdit" name="debugArgs">
<item> <property name="sizePolicy">
<widget class="QLineEdit" name="debugArgs"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<property name="sizePolicy"> <horstretch>0</horstretch>
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> <verstretch>0</verstretch>
<horstretch>0</horstretch> </sizepolicy>
<verstretch>0</verstretch> </property>
</sizepolicy> </widget>
</property>
</widget>
</item>
</layout>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<layout class="QHBoxLayout" name="esilVMOptions1"> <widget class="QLabel" name="esilstackAddr">
<item> <property name="text">
<widget class="QLabel" name="esilstackAddr"> <string>ESIL stack address:</string>
<property name="text"> </property>
<string>ESIL stack address:</string> </widget>
</property> </item>
</widget> <item row="2" column="1">
</item> <widget class="QLineEdit" name="stackAddr">
<item> <property name="sizePolicy">
<widget class="QLineEdit" name="stackAddr"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<property name="sizePolicy"> <horstretch>0</horstretch>
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> <verstretch>0</verstretch>
<horstretch>0</horstretch> </sizepolicy>
<verstretch>0</verstretch> </property>
</sizepolicy> </widget>
</property>
</widget>
</item>
</layout>
</item> </item>
<item row="3" column="0"> <item row="3" column="0">
<layout class="QHBoxLayout" name="esilVMOptions2"> <widget class="QLabel" name="esilStackSize">
<item>
<widget class="QLabel" name="esilStackSize">
<property name="text">
<string>ESIL stack size:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="stackSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="esilBreakOnInvalid">
<property name="text"> <property name="text">
<string>Break esil execution when instruction is invalid (esil.breakoninvalid)</string> <string>ESIL stack size:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="stackSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<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>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>

View File

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