Adjust outliner spacing

Partial fix for #12152.
This commit is contained in:
Daniel Ramoeller 2021-02-20 10:53:01 +01:00 committed by Juergen Spitzmueller
parent 5573825202
commit 55f2445278

View File

@ -17,11 +17,6 @@
<string/>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0" colspan="2">
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
@ -34,41 +29,35 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="filterLA">
<property name="text">
<string>Filter:</string>
<property name="spacing">
<number>0</number>
</property>
<property name="buddy">
<cstring>filterLE</cstring>
<item row="3" column="0" colspan="2">
<widget class="QTreeView" name="tocTV">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="filterLE">
<property name="toolTip">
<string>Enter string to filter contents</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="6" column="0" colspan="2">
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
<number>6</number>
</property>
<property name="topMargin">
<number>0</number>
<number>6</number>
</property>
<property name="rightMargin">
<number>0</number>
<number>6</number>
</property>
<property name="bottomMargin">
<number>0</number>
<number>6</number>
</property>
<item>
<widget class="QToolButton" name="updateTB">
@ -185,7 +174,52 @@
</item>
</layout>
</item>
<item row="5" column="1">
<item row="4" column="0" colspan="2">
<layout class="QGridLayout" name="gridLayout_3" columnstretch="1,0">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QSlider" name="depthSL">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<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::TicksBelow</enum>
</property>
</widget>
</item>
<item row="0" column="1">
<layout class="QVBoxLayout">
<property name="spacing">
<number>0</number>
@ -194,16 +228,16 @@
<enum>QLayout::SetMinimumSize</enum>
</property>
<property name="leftMargin">
<number>4</number>
<number>0</number>
</property>
<property name="topMargin">
<number>4</number>
<number>0</number>
</property>
<property name="rightMargin">
<number>4</number>
<number>0</number>
</property>
<property name="bottomMargin">
<number>4</number>
<number>0</number>
</property>
<item>
<widget class="QCheckBox" name="sortCB">
@ -248,73 +282,29 @@
</item>
</layout>
</item>
</layout>
</item>
<item row="0" column="0" colspan="2">
<widget class="QComboBox" name="typeCO">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>6</number>
</property>
<property name="toolTip">
<string>Switch between available lists (table of contents, list of figures, list of tables, and others)</string>
<property name="topMargin">
<number>6</number>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QSlider" name="depthSL">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<property name="rightMargin">
<number>6</number>
</property>
<property name="toolTip">
<string>Adjust the depth of the navigation tree</string>
<property name="bottomMargin">
<number>6</number>
</property>
<property name="maximum">
<number>5</number>
<property name="spacing">
<number>6</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="4" column="0" colspan="2">
<widget class="QTreeView" name="tocTV">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="activeFilterLA">
<property name="text">
<string>Sho&amp;w:</string>
</property>
<property name="buddy">
<cstring>activeFilterCO</cstring>
</property>
</widget>
</item>
<item>
<item row="1" column="1">
<widget class="QComboBox" name="activeFilterCO">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -339,12 +329,51 @@
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="activeFilterLA">
<property name="text">
<string>Sho&amp;w:</string>
</property>
<property name="buddy">
<cstring>activeFilterCO</cstring>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="filterLA">
<property name="text">
<string>Filter:</string>
</property>
<property name="buddy">
<cstring>filterLE</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="filterLE">
<property name="toolTip">
<string>Enter string to filter contents</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QComboBox" name="typeCO">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Switch between available lists (table of contents, list of figures, list of tables, and others)</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<tabstops>
<tabstop>typeCO</tabstop>
<tabstop>tocTV</tabstop>
</tabstops>
<includes>