Make Delimiter dialog stretchable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25257 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-06-15 10:06:54 +00:00
parent db2877f27e
commit a4b76f6605

View File

@ -5,14 +5,12 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>300</width> <width>306</width>
<height>338</height> <height>352</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy> <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@ -35,269 +33,249 @@
<property name="sizeGripEnabled" > <property name="sizeGripEnabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<widget class="QWidget" name="layoutWidget" > <layout class="QGridLayout" name="gridLayout" >
<property name="geometry" > <item row="0" column="0" >
<rect> <layout class="QGridLayout" >
<x>10</x> <property name="margin" >
<y>10</y> <number>0</number>
<width>281</width> </property>
<height>321</height> <property name="spacing" >
</rect> <number>6</number>
</property> </property>
<layout class="QGridLayout" > <item row="0" column="0" >
<property name="margin" > <layout class="QHBoxLayout" >
<number>0</number> <property name="spacing" >
</property> <number>6</number>
<property name="spacing" > </property>
<number>6</number> <property name="margin" >
</property> <number>0</number>
<item row="4" column="0" > </property>
<layout class="QHBoxLayout" > <item>
<property name="margin" > <widget class="QListWidget" name="leftLW" >
<number>0</number> <property name="sizePolicy" >
</property> <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<property name="spacing" > <horstretch>0</horstretch>
<number>6</number> <verstretch>0</verstretch>
</property> </sizepolicy>
<item> </property>
<spacer> <property name="minimumSize" >
<property name="orientation" > <size>
<enum>Qt::Horizontal</enum> <width>60</width>
</property> <height>0</height>
<property name="sizeType" > </size>
<enum>QSizePolicy::Expanding</enum> </property>
</property> <property name="maximumSize" >
<property name="sizeHint" > <size>
<size> <width>140</width>
<width>50</width> <height>16777215</height>
<height>28</height> </size>
</size> </property>
</property> <property name="iconSize" >
</spacer> <size>
</item> <width>16</width>
<item> <height>16</height>
<widget class="QPushButton" name="insertPB" > </size>
<property name="sizePolicy" > </property>
<sizepolicy> <property name="resizeMode" >
<hsizetype>5</hsizetype> <enum>QListView::Adjust</enum>
<vsizetype>0</vsizetype> </property>
<horstretch>0</horstretch> <property name="spacing" >
<verstretch>0</verstretch> <number>0</number>
</sizepolicy> </property>
</property> <property name="currentRow" >
<property name="toolTip" > <number>-1</number>
<string>Insert the delimiters</string> </property>
</property> </widget>
<property name="text" > </item>
<string>&amp;Insert</string> <item>
</property> <widget class="QListWidget" name="rightLW" >
</widget> <property name="sizePolicy" >
</item> <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<item> <horstretch>0</horstretch>
<widget class="QPushButton" name="closePB" > <verstretch>0</verstretch>
<property name="sizePolicy" > </sizepolicy>
<sizepolicy> </property>
<hsizetype>5</hsizetype> <property name="minimumSize" >
<vsizetype>0</vsizetype> <size>
<horstretch>0</horstretch> <width>60</width>
<verstretch>0</verstretch> <height>0</height>
</sizepolicy> </size>
</property> </property>
<property name="text" > <property name="maximumSize" >
<string>&amp;Close</string> <size>
</property> <width>139</width>
</widget> <height>16777215</height>
</item> </size>
</layout> </property>
</item> <property name="iconSize" >
<item row="3" column="0" > <size>
<layout class="QHBoxLayout" > <width>16</width>
<property name="margin" > <height>16</height>
<number>0</number> </size>
</property> </property>
<property name="spacing" > <property name="resizeMode" >
<number>6</number> <enum>QListView::Adjust</enum>
</property> </property>
<item> <property name="spacing" >
<widget class="QLabel" name="label" > <number>0</number>
<property name="sizePolicy" > </property>
<sizepolicy> </widget>
<hsizetype>5</hsizetype> </item>
<vsizetype>0</vsizetype> </layout>
<horstretch>0</horstretch> </item>
<verstretch>0</verstretch> <item row="1" column="0" >
</sizepolicy> <widget class="QLabel" name="texCodeL" >
</property> <property name="sizePolicy" >
<property name="text" > <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
<string>&amp;Size:</string> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
<property name="alignment" > </sizepolicy>
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property>
</property> <property name="text" >
<property name="buddy" > <string>TeX Code: </string>
<cstring>sizeCO</cstring> </property>
</property> <property name="textFormat" >
</widget> <enum>Qt::AutoText</enum>
</item> </property>
<item> <property name="alignment" >
<widget class="QComboBox" name="sizeCO" > <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
<property name="sizePolicy" > </property>
<sizepolicy> <property name="wordWrap" >
<hsizetype>5</hsizetype> <bool>false</bool>
<vsizetype>0</vsizetype> </property>
<horstretch>0</horstretch> </widget>
<verstretch>0</verstretch> </item>
</sizepolicy> <item row="2" column="0" >
</property> <widget class="QCheckBox" name="matchCB" >
</widget> <property name="sizePolicy" >
</item> <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
<item> <horstretch>0</horstretch>
<spacer> <verstretch>0</verstretch>
<property name="orientation" > </sizepolicy>
<enum>Qt::Horizontal</enum> </property>
</property> <property name="toolTip" >
<property name="sizeHint" > <string>Match delimiter types</string>
<size> </property>
<width>40</width> <property name="text" >
<height>20</height> <string>&amp;Keep matched</string>
</size> </property>
</property> <property name="checked" >
</spacer> <bool>true</bool>
</item> </property>
</layout> </widget>
</item> </item>
<item row="1" column="0" > <item row="3" column="0" >
<widget class="QLabel" name="texCodeL" > <layout class="QHBoxLayout" >
<property name="sizePolicy" > <property name="spacing" >
<sizepolicy> <number>6</number>
<hsizetype>3</hsizetype> </property>
<vsizetype>0</vsizetype> <property name="margin" >
<horstretch>0</horstretch> <number>0</number>
<verstretch>0</verstretch> </property>
</sizepolicy> <item>
</property> <widget class="QLabel" name="label" >
<property name="text" > <property name="sizePolicy" >
<string>TeX Code: </string> <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
</property> <horstretch>0</horstretch>
<property name="textFormat" > <verstretch>0</verstretch>
<enum>Qt::AutoText</enum> </sizepolicy>
</property> </property>
<property name="alignment" > <property name="text" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> <string>&amp;Size:</string>
</property> </property>
<property name="wordWrap" > <property name="alignment" >
<bool>false</bool> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
</widget> <property name="buddy" >
</item> <cstring>sizeCO</cstring>
<item row="0" column="0" > </property>
<layout class="QHBoxLayout" > </widget>
<property name="margin" > </item>
<number>0</number> <item>
</property> <widget class="QComboBox" name="sizeCO" >
<property name="spacing" > <property name="sizePolicy" >
<number>6</number> <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
</property> <horstretch>0</horstretch>
<item> <verstretch>0</verstretch>
<widget class="QListWidget" name="leftLW" > </sizepolicy>
<property name="sizePolicy" > </property>
<sizepolicy> </widget>
<hsizetype>5</hsizetype> </item>
<vsizetype>5</vsizetype> <item>
<horstretch>0</horstretch> <spacer>
<verstretch>0</verstretch> <property name="orientation" >
</sizepolicy> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="minimumSize" > <property name="sizeHint" stdset="0" >
<size> <size>
<width>60</width> <width>40</width>
<height>0</height> <height>20</height>
</size> </size>
</property> </property>
<property name="maximumSize" > </spacer>
<size> </item>
<width>16777215</width> </layout>
<height>16777215</height> </item>
</size> <item row="4" column="0" >
</property> <layout class="QHBoxLayout" >
<property name="iconSize" > <property name="spacing" >
<size> <number>6</number>
<width>16</width> </property>
<height>16</height> <property name="margin" >
</size> <number>0</number>
</property> </property>
<property name="resizeMode" > <item>
<enum>QListView::Adjust</enum> <spacer>
</property> <property name="orientation" >
<property name="spacing" > <enum>Qt::Horizontal</enum>
<number>0</number> </property>
</property> <property name="sizeType" >
<property name="currentRow" > <enum>QSizePolicy::Expanding</enum>
<number>-1</number> </property>
</property> <property name="sizeHint" stdset="0" >
</widget> <size>
</item> <width>50</width>
<item> <height>28</height>
<widget class="QListWidget" name="rightLW" > </size>
<property name="sizePolicy" > </property>
<sizepolicy> </spacer>
<hsizetype>5</hsizetype> </item>
<vsizetype>5</vsizetype> <item>
<horstretch>0</horstretch> <widget class="QPushButton" name="insertPB" >
<verstretch>0</verstretch> <property name="sizePolicy" >
</sizepolicy> <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
</property> <horstretch>0</horstretch>
<property name="minimumSize" > <verstretch>0</verstretch>
<size> </sizepolicy>
<width>60</width> </property>
<height>0</height> <property name="toolTip" >
</size> <string>Insert the delimiters</string>
</property> </property>
<property name="maximumSize" > <property name="text" >
<size> <string>&amp;Insert</string>
<width>16777215</width> </property>
<height>16777215</height> </widget>
</size> </item>
</property> <item>
<property name="iconSize" > <widget class="QPushButton" name="closePB" >
<size> <property name="sizePolicy" >
<width>16</width> <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<height>16</height> <horstretch>0</horstretch>
</size> <verstretch>0</verstretch>
</property> </sizepolicy>
<property name="resizeMode" > </property>
<enum>QListView::Adjust</enum> <property name="text" >
</property> <string>&amp;Close</string>
<property name="spacing" > </property>
<number>0</number> </widget>
</property> </item>
</widget> </layout>
</item> </item>
</layout> </layout>
</item> </item>
<item row="2" column="0" > </layout>
<widget class="QCheckBox" name="matchCB" > <zorder>layoutWidget</zorder>
<property name="sizePolicy" > <zorder>leftLW</zorder>
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Match delimiter types</string>
</property>
<property name="text" >
<string>&amp;Keep matched</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</widget> </widget>
<layoutdefault spacing="6" margin="9" /> <layoutdefault spacing="6" margin="9" />
<tabstops> <tabstops>