* set some sizehints to ingore so that toc widget does not take up too much space on toggle...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18240 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2007-05-09 08:23:57 +00:00
parent 539bb94e77
commit f5cfb824aa

View File

@ -8,8 +8,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>251</width>
<height>378</height>
<width>185</width>
<height>250</height>
</rect>
</property>
<property name="windowTitle" >
@ -22,6 +22,63 @@
<property name="spacing" >
<number>6</number>
</property>
<item row="3" column="0" >
<widget class="QSlider" name="depthSL" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>13</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Adjust the depth of the navigation tree</string>
</property>
<property name="maximum" >
<number>5</number>
</property>
<property name="pageStep" >
<number>1</number>
</property>
<property name="value" >
<number>2</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition" >
<enum>QSlider::TicksBothSides</enum>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QComboBox" name="typeCO" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>13</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Switch between table of contents, list of figures or list of tables, if available</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QTreeView" name="tocTV" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>13</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="4" column="0" >
<layout class="QHBoxLayout" >
<property name="margin" >
@ -140,40 +197,6 @@
</item>
</layout>
</item>
<item row="3" column="0" >
<widget class="QSlider" name="depthSL" >
<property name="toolTip" >
<string>Adjust the depth of the navigation tree</string>
</property>
<property name="maximum" >
<number>5</number>
</property>
<property name="pageStep" >
<number>1</number>
</property>
<property name="value" >
<number>2</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition" >
<enum>QSlider::TicksBothSides</enum>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QTreeView" name="tocTV" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="typeLA" >
<property name="text" >
@ -184,21 +207,6 @@
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QComboBox" name="typeCO" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Switch between table of contents, list of figures or list of tables, if available</string>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>