Extend non-default margins tooltip (#11424)

This commit is contained in:
Juergen Spitzmueller 2021-01-17 10:18:45 +01:00
parent 5ba8c6bd92
commit 606a404632

View File

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author></author>
<comment></comment>
<exportmacro></exportmacro>
<class>MarginsUi</class>
<widget class="QWidget" name="MarginsUi">
<property name="geometry">
@ -9,14 +7,23 @@
<x>0</x>
<y>0</y>
<width>329</width>
<height>373</height>
<height>411</height>
</rect>
</property>
<property name="windowTitle">
<string/>
</property>
<layout class="QGridLayout">
<property name="margin" >
<property name="leftMargin">
<number>11</number>
</property>
<property name="topMargin">
<number>11</number>
</property>
<property name="rightMargin">
<number>11</number>
</property>
<property name="bottomMargin">
<number>11</number>
</property>
<property name="spacing">
@ -24,8 +31,12 @@
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="marginCB">
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Use the margin settings provided by the document class</string>
<string>Use the margin settings provided by the document class.
Note that if this is unchecked, leaving a field empty may use different defaults values (determined either by the geometry package or by classes/packages overriding geometry's defaults).</string>
</property>
<property name="text">
<string>&amp;Default margins</string>
@ -40,7 +51,7 @@
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
@ -56,7 +67,7 @@
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
@ -66,20 +77,38 @@
</item>
<item row="1" column="0">
<layout class="QHBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="topL">
<property name="enabled">
@ -188,20 +217,38 @@
</item>
<item>
<layout class="QVBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="topLE">
<property name="enabled">
@ -210,7 +257,7 @@
</widget>
</item>
<item>
<widget class="lyx::frontend::LengthCombo" native="1" name="topUnit" >
<widget class="lyx::frontend::LengthCombo" name="topUnit" native="true">
<property name="enabled">
<bool>false</bool>
</property>
@ -220,12 +267,21 @@
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="bottomLE">
<property name="enabled">
@ -237,7 +293,7 @@
</widget>
</item>
<item>
<widget class="lyx::frontend::LengthCombo" native="1" name="bottomUnit" >
<widget class="lyx::frontend::LengthCombo" name="bottomUnit" native="true">
<property name="enabled">
<bool>false</bool>
</property>
@ -247,12 +303,21 @@
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="innerLE">
<property name="enabled">
@ -261,7 +326,7 @@
</widget>
</item>
<item>
<widget class="lyx::frontend::LengthCombo" native="1" name="innerUnit" >
<widget class="lyx::frontend::LengthCombo" name="innerUnit" native="true">
<property name="enabled">
<bool>false</bool>
</property>
@ -271,12 +336,21 @@
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="outerLE">
<property name="enabled">
@ -285,7 +359,7 @@
</widget>
</item>
<item>
<widget class="lyx::frontend::LengthCombo" native="1" name="outerUnit" >
<widget class="lyx::frontend::LengthCombo" name="outerUnit" native="true">
<property name="enabled">
<bool>false</bool>
</property>
@ -295,12 +369,21 @@
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="headsepLE">
<property name="enabled">
@ -309,7 +392,7 @@
</widget>
</item>
<item>
<widget class="lyx::frontend::LengthCombo" native="1" name="headsepUnit" >
<widget class="lyx::frontend::LengthCombo" name="headsepUnit" native="true">
<property name="enabled">
<bool>false</bool>
</property>
@ -319,12 +402,21 @@
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="headheightLE">
<property name="enabled">
@ -333,7 +425,7 @@
</widget>
</item>
<item>
<widget class="lyx::frontend::LengthCombo" native="1" name="headheightUnit" >
<widget class="lyx::frontend::LengthCombo" name="headheightUnit" native="true">
<property name="enabled">
<bool>false</bool>
</property>
@ -343,12 +435,21 @@
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="footskipLE">
<property name="enabled">
@ -357,7 +458,7 @@
</widget>
</item>
<item>
<widget class="lyx::frontend::LengthCombo" native="1" name="footskipUnit" >
<widget class="lyx::frontend::LengthCombo" name="footskipUnit" native="true">
<property name="enabled">
<bool>false</bool>
</property>
@ -367,12 +468,21 @@
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin" >
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="columnsepLE">
<property name="enabled">
@ -381,7 +491,7 @@
</widget>
</item>
<item>
<widget class="lyx::frontend::LengthCombo" native="1" name="columnsepUnit" >
<widget class="lyx::frontend::LengthCombo" name="columnsepUnit" native="true">
<property name="enabled">
<bool>false</bool>
</property>