small layout tweaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23946 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2008-03-25 13:26:32 +00:00
parent 5e6343c9d1
commit 0d8b67e2b7
2 changed files with 184 additions and 295 deletions

View File

@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>263</width>
<height>198</height>
<width>259</width>
<height>146</height>
</rect>
</property>
<property name="windowTitle" >
@ -22,26 +22,6 @@
<property name="spacing" >
<number>6</number>
</property>
<item row="3" column="1" >
<widget class="QCheckBox" name="keepCB" >
<property name="toolTip" >
<string>Insert the spacing even after a line break</string>
</property>
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="fillPatternL" >
<property name="text" >
<string>&amp;Fill Pattern:</string>
</property>
<property name="buddy" >
<cstring>fillPatternCO</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="fillPatternCO" >
<property name="toolTip" >
@ -74,127 +54,7 @@
</property>
</widget>
</item>
<item row="2" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="keepL" >
<property name="toolTip" >
<string/>
</property>
<property name="text" >
<string>&amp;Protect:</string>
</property>
<property name="buddy" >
<cstring>keepCB</cstring>
</property>
</widget>
</item>
<item row="3" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="0" colspan="3" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="okPB" >
<property name="text" >
<string>&amp;OK</string>
</property>
<property name="autoDefault" >
<bool>false</bool>
</property>
<property name="default" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="applyPB" >
<property name="text" >
<string>&amp;Apply</string>
</property>
<property name="autoDefault" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="closePB" >
<property name="text" >
<string>&amp;Close</string>
</property>
<property name="autoDefault" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2" >
<widget class="LengthCombo" native="1" name="unitCO" />
</item>
<item row="0" column="1" >
<item row="0" column="1" colspan="2" >
<widget class="QComboBox" name="spacingCO" >
<property name="toolTip" >
<string>Supported spacing types</string>
@ -241,16 +101,6 @@
</item>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="valueLE" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip" >
<string>Custom value. Needs spacing type "Custom".</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="valueL" >
<property name="text" >
@ -261,19 +111,107 @@
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="valueLE" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip" >
<string>Custom value. Needs spacing type "Custom".</string>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="LengthCombo" name="unitCO" />
</item>
<item row="2" column="0" >
<widget class="QLabel" name="fillPatternL" >
<property name="text" >
<string>&amp;Fill Pattern:</string>
</property>
<property name="buddy" >
<cstring>fillPatternCO</cstring>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="keepL" >
<property name="toolTip" >
<string/>
</property>
<property name="text" >
<string>&amp;Protect:</string>
</property>
<property name="buddy" >
<cstring>keepCB</cstring>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2" >
<widget class="QCheckBox" name="keepCB" >
<property name="toolTip" >
<string>Insert the spacing even after a line break</string>
</property>
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="okPB" >
<property name="text" >
<string>&amp;OK</string>
</property>
<property name="autoDefault" >
<bool>false</bool>
</property>
<property name="default" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="applyPB" >
<property name="text" >
<string>&amp;Apply</string>
</property>
<property name="autoDefault" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="closePB" >
<property name="text" >
<string>&amp;Close</string>
</property>
<property name="autoDefault" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>LengthCombo</class>
<extends>QWidget</extends>
<extends>QComboBox</extends>
<header>LengthCombo.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>spacingCO</tabstop>
<tabstop>valueLE</tabstop>
<tabstop>unitCO</tabstop>
<tabstop>okPB</tabstop>
<tabstop>applyPB</tabstop>
<tabstop>closePB</tabstop>

View File

@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>233</width>
<height>140</height>
<width>259</width>
<height>120</height>
</rect>
</property>
<property name="windowTitle" >
@ -17,121 +17,12 @@
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>11</number>
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="spacingL" >
<property name="text" >
<string>&amp;Spacing:</string>
</property>
<property name="buddy" >
<cstring>spacingCO</cstring>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="valueL" >
<property name="text" >
<string>&amp;Value:</string>
</property>
<property name="buddy" >
<cstring>valueLE</cstring>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="keepL" >
<property name="toolTip" >
<string/>
</property>
<property name="text" >
<string>&amp;Protect:</string>
</property>
<property name="buddy" >
<cstring>keepCB</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QCheckBox" name="keepCB" >
<property name="toolTip" >
<string>Insert the spacing even after a page break</string>
</property>
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="valueLE" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip" >
<string>Custom value. Needs spacing type "Custom".</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="spacingCO" >
<property name="toolTip" >
<string>Supported spacing types</string>
</property>
<item>
<property name="text" >
<string>DefSkip</string>
</property>
</item>
<item>
<property name="text" >
<string>SmallSkip</string>
</property>
</item>
<item>
<property name="text" >
<string>MedSkip</string>
</property>
</item>
<item>
<property name="text" >
<string>BigSkip</string>
</property>
</item>
<item>
<property name="text" >
<string>VFill</string>
</property>
</item>
<item>
<property name="text" >
<string>Custom</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2" >
<widget class="LengthCombo" native="1" name="unitCO" />
</item>
<item row="3" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" colspan="3" >
<item row="3" column="0" colspan="3" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
@ -174,51 +65,111 @@
</item>
</layout>
</item>
<item row="0" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
<item row="0" column="0" >
<widget class="QLabel" name="spacingL" >
<property name="text" >
<string>&amp;Spacing:</string>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
<property name="buddy" >
<cstring>spacingCO</cstring>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</widget>
</item>
<item row="2" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
<item row="2" column="1" colspan="2" >
<widget class="QCheckBox" name="keepCB" >
<property name="toolTip" >
<string>Insert the spacing even after a page break</string>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
<property name="text" >
<string/>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>20</height>
</size>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="keepL" >
<property name="toolTip" >
<string/>
</property>
</spacer>
<property name="text" >
<string>&amp;Protect:</string>
</property>
<property name="buddy" >
<cstring>keepCB</cstring>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="LengthCombo" name="unitCO" />
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="valueLE" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip" >
<string>Custom value. Needs spacing type "Custom".</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="valueL" >
<property name="text" >
<string>&amp;Value:</string>
</property>
<property name="buddy" >
<cstring>valueLE</cstring>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2" >
<widget class="QComboBox" name="spacingCO" >
<property name="toolTip" >
<string>Supported spacing types</string>
</property>
<item>
<property name="text" >
<string>DefSkip</string>
</property>
</item>
<item>
<property name="text" >
<string>SmallSkip</string>
</property>
</item>
<item>
<property name="text" >
<string>MedSkip</string>
</property>
</item>
<item>
<property name="text" >
<string>BigSkip</string>
</property>
</item>
<item>
<property name="text" >
<string>VFill</string>
</property>
</item>
<item>
<property name="text" >
<string>Custom</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>LengthCombo</class>
<extends>QWidget</extends>
<extends>QComboBox</extends>
<header>LengthCombo.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>spacingCO</tabstop>
<tabstop>valueLE</tabstop>
<tabstop>unitCO</tabstop>
<tabstop>okPB</tabstop>
<tabstop>applyPB</tabstop>
<tabstop>closePB</tabstop>