diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2010-04-12 17:13:57 +0200 |
---|---|---|
committer | Daniel Molkentin <daniel.molkentin@nokia.com> | 2010-04-12 17:14:24 +0200 |
commit | 7f0f56434d3fe2d9e92a19e934861dbd653516aa (patch) | |
tree | d1ee7f40909a638d0df530c07cf8652699fa2653 /src/plugins/debugger/commonoptionspage.ui | |
parent | 94cb5db5b9654dbcc8dd1968c919c4706ada0543 (diff) | |
download | qt-creator-7f0f56434d3fe2d9e92a19e934861dbd653516aa.tar.gz |
Sanatize Spinbox length in debugger options
Diffstat (limited to 'src/plugins/debugger/commonoptionspage.ui')
-rw-r--r-- | src/plugins/debugger/commonoptionspage.ui | 85 |
1 files changed, 57 insertions, 28 deletions
diff --git a/src/plugins/debugger/commonoptionspage.ui b/src/plugins/debugger/commonoptionspage.ui index 692c8253c5..fc67708b4e 100644 --- a/src/plugins/debugger/commonoptionspage.ui +++ b/src/plugins/debugger/commonoptionspage.ui @@ -35,17 +35,7 @@ <property name="title"> <string>Gui behavior</string> </property> - <layout class="QFormLayout" name="formLayout"> - <item row="2" column="0" colspan="2"> - <widget class="QCheckBox" name="checkBoxListSourceFiles"> - <property name="toolTip"> - <string>Checking this will populate the source file view automatically but might slow down debugger startup considerably.</string> - </property> - <property name="text"> - <string>Populate source file view automatically</string> - </property> - </widget> - </item> + <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0" colspan="2"> <widget class="QCheckBox" name="checkBoxUseAlternatingRowColors"> <property name="text"> @@ -60,6 +50,16 @@ </property> </widget> </item> + <item row="2" column="0" colspan="2"> + <widget class="QCheckBox" name="checkBoxListSourceFiles"> + <property name="toolTip"> + <string>Checking this will populate the source file view automatically but might slow down debugger startup considerably.</string> + </property> + <property name="text"> + <string>Populate source file view automatically</string> + </property> + </widget> + </item> <item row="3" column="0" colspan="2"> <widget class="QCheckBox" name="checkBoxRegisterForPostMortem"> <property name="toolTip"> @@ -72,29 +72,58 @@ </item> <item row="4" column="0"> <widget class="QLabel" name="labelMaximalStackDepth"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="text"> <string>Maximal stack depth:</string> </property> </widget> </item> <item row="4" column="1"> - <widget class="QSpinBox" name="spinBoxMaximalStackDepth"> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="specialValueText"> - <string><unlimited></string> - </property> - <property name="maximum"> - <number>999</number> - </property> - <property name="singleStep"> - <number>5</number> - </property> - <property name="value"> - <number>10</number> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QSpinBox" name="spinBoxMaximalStackDepth"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="specialValueText"> + <string><unlimited></string> + </property> + <property name="maximum"> + <number>999</number> + </property> + <property name="singleStep"> + <number>5</number> + </property> + <property name="value"> + <number>10</number> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> </item> </layout> </widget> |