* TextLayoutUi.ui:

- fix widget heights (right version this time).
	(maybe it's time to move the listings widget on its own pane?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30705 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-07-20 07:20:29 +00:00
parent a4b3e6dc60
commit d3870c25bc

View File

@ -1,484 +1,98 @@
<ui version="4.0" > <ui version="4.0" >
<class>TextLayoutUi</class> <class>TextLayoutUi</class>
<widget class="QWidget" name="TextLayoutUi"> <widget class="QWidget" name="TextLayoutUi" >
<property name="geometry"> <property name="geometry" >
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>440</width> <width>421</width>
<height>410</height> <height>416</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle" >
<string/> <string/>
</property> </property>
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" >
<item row="0" column="0"> <property name="margin" >
<widget class="QGroupBox" name="separateGB"> <number>9</number>
<property name="sizePolicy"> </property>
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <property name="spacing" >
<number>6</number>
</property>
<item row="2" column="0" >
<widget class="QGroupBox" name="listingsGB" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="layoutDirection" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Separate paragraphs with</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QRadioButton" name="indentRB">
<property name="minimumSize">
<size>
<width>91</width>
<height>18</height>
</size>
</property>
<property name="toolTip">
<string>Indent consecutive paragraphs</string>
</property>
<property name="text">
<string>&amp;Indentation</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="indentCO">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>121</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>Size of the indentation</string>
</property>
</widget>
</item>
<item row="0" column="2" colspan="2">
<spacer name="spacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>135</width>
<height>26</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="indentLE">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>121</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string/>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="LengthCombo" name="indentLengthCO">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>121</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string/>
</property>
</widget>
</item>
<item row="1" column="3">
<spacer name="spacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>48</width>
<height>26</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="skipRB">
<property name="minimumSize">
<size>
<width>91</width>
<height>18</height>
</size>
</property>
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>&amp;Vertical space</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="skipCO">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>121</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>Size of the vertical space</string>
</property>
</widget>
</item>
<item row="2" column="2" colspan="2">
<spacer name="spacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>137</width>
<height>26</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="skipLE">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>121</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string/>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="LengthCombo" name="skipLengthCO">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>121</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string/>
</property>
</widget>
</item>
<item row="3" column="3">
<spacer name="spacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>48</width>
<height>26</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="spacingGB">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Spacing</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lspacingL">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>91</width>
<height>18</height>
</size>
</property>
<property name="text">
<string>&amp;Line spacing:</string>
</property>
<property name="buddy">
<cstring>lspacingCO</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="lspacingCO">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>121</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>Spacing type</string>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLineEdit" name="lspacingLE">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>69</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>70</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>Number of lines</string>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>62</width>
<height>26</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="twoColumnCB">
<property name="toolTip">
<string>Format text into two columns</string>
</property>
<property name="text">
<string>Two-&amp;column document</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="listingsGB">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum> <enum>Qt::LeftToRight</enum>
</property> </property>
<property name="title"> <property name="title" >
<string>Listing settings</string> <string>Listing settings</string>
</property> </property>
<property name="flat"> <property name="flat" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout" >
<property name="margin"> <property name="margin" >
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing"> <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="1" column="0"> <item row="1" column="0" >
<widget class="QCheckBox" name="bypassCB"> <widget class="QCheckBox" name="bypassCB" >
<property name="toolTip"> <property name="toolTip" >
<string>Check it to enter parameters that are not recognizable by LyX</string> <string>Check it to enter parameters that are not recognizable by LyX</string>
</property> </property>
<property name="text"> <property name="text" >
<string>&amp;Bypass validation</string> <string>&amp;Bypass validation</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0"> <item row="0" column="0" >
<widget class="QTextBrowser" name="listingsTB"> <widget class="QTextBrowser" name="listingsTB" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Preferred" vsizetype="Expanding"> <sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="cursor" stdset="0"> <property name="acceptDrops" >
<cursorShape>ArrowCursor</cursorShape>
</property>
<property name="acceptDrops">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Feedback window</string> <string>Feedback window</string>
</property> </property>
<property name="frameShape"> <property name="frameShape" >
<enum>QFrame::Box</enum> <enum>QFrame::Box</enum>
</property> </property>
<property name="frameShadow"> <property name="frameShadow" >
<enum>QFrame::Plain</enum> <enum>QFrame::Plain</enum>
</property> </property>
<property name="acceptRichText"> <property name="acceptRichText" >
<bool>false</bool> <bool>false</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1" >
<widget class="QTextEdit" name="listingsED"> <widget class="QTextEdit" name="listingsED" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Preferred" vsizetype="Expanding"> <sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Input here the listings parameters</string> <string>Input here the listings parameters</string>
</property> </property>
</widget> </widget>
@ -486,22 +100,302 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="3" column="0"> <item row="1" column="0" >
<widget class="QGroupBox" name="spacingGB" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title" >
<string>Spacing</string>
</property>
<property name="flat" >
<bool>true</bool>
</property>
<property name="checkable" >
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="lspacingL" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>91</width>
<height>18</height>
</size>
</property>
<property name="text" >
<string>&amp;Line spacing:</string>
</property>
<property name="buddy" >
<cstring>lspacingCO</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="lspacingCO" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Spacing type</string>
</property>
<property name="duplicatesEnabled" >
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLineEdit" name="lspacingLE" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Number of lines</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QCheckBox" name="twoColumnCB" >
<property name="toolTip" >
<string>Format text into two columns</string>
</property>
<property name="text" >
<string>Two-&amp;column document</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" >
<spacer> <spacer>
<property name="orientation"> <property name="orientation" >
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeType"> <property name="sizeType" >
<enum>QSizePolicy::Expanding</enum> <enum>QSizePolicy::Expanding</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" >
<size> <size>
<width>38</width> <width>401</width>
<height>17</height> <height>16</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="0" column="0" >
<widget class="QGroupBox" name="separateGB" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title" >
<string>Separate paragraphs with</string>
</property>
<property name="flat" >
<bool>true</bool>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QRadioButton" name="indentRB" >
<property name="minimumSize" >
<size>
<width>91</width>
<height>18</height>
</size>
</property>
<property name="toolTip" >
<string>Indent consecutive paragraphs</string>
</property>
<property name="text" >
<string>&amp;Indentation</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="indentCO" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip" >
<string>Size of the indentation</string>
</property>
</widget>
</item>
<item row="0" column="2" colspan="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>135</width>
<height>26</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="indentLE" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string/>
</property>
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="LengthCombo" name="indentLengthCO" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip" >
<string/>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QRadioButton" name="skipRB" >
<property name="minimumSize" >
<size>
<width>91</width>
<height>18</height>
</size>
</property>
<property name="toolTip" >
<string/>
</property>
<property name="text" >
<string>&amp;Vertical space</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="skipCO" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip" >
<string>Size of the vertical space</string>
</property>
</widget>
</item>
<item row="2" column="2" colspan="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>137</width>
<height>26</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="1" >
<widget class="QLineEdit" name="skipLE" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string/>
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="LengthCombo" name="skipLengthCO" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip" >
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
@ -521,7 +415,7 @@
<tabstop>twoColumnCB</tabstop> <tabstop>twoColumnCB</tabstop>
</tabstops> </tabstops>
<includes> <includes>
<include location="local">qt_i18n.h</include> <include location="local" >qt_i18n.h</include>
</includes> </includes>
<resources/> <resources/>
<connections/> <connections/>