[LyX/master] layout cosmetics
Juergen Spitzmueller
spitz at lyx.org
Sun Aug 2 17:10:10 UTC 2026
commit 97a4250c1efef915f175a340016162f1ba29cc8e
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sun Aug 2 19:09:56 2026 +0200
layout cosmetics
---
src/frontends/qt/ui/PrefInputUi.ui | 347 +++++++++++++++++++++++--------------
1 file changed, 217 insertions(+), 130 deletions(-)
diff --git a/src/frontends/qt/ui/PrefInputUi.ui b/src/frontends/qt/ui/PrefInputUi.ui
index cc78677f26..6fd2477ad5 100644
--- a/src/frontends/qt/ui/PrefInputUi.ui
+++ b/src/frontends/qt/ui/PrefInputUi.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>417</width>
- <height>420</height>
+ <width>524</width>
+ <height>599</height>
</rect>
</property>
<property name="windowTitle">
@@ -36,6 +36,19 @@
</property>
</widget>
</item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="firstKeymapLA">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>&Default:</string>
+ </property>
+ <property name="buddy">
+ <cstring>firstKeymapED</cstring>
+ </property>
+ </widget>
+ </item>
<item row="1" column="1">
<widget class="QLineEdit" name="firstKeymapED">
<property name="enabled">
@@ -48,6 +61,12 @@
<property name="enabled">
<bool>false</bool>
</property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="text">
<string>Br&owse...</string>
</property>
@@ -56,20 +75,20 @@
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="firstKeymapLA">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>&Default:</string>
+ <item row="1" column="3">
+ <spacer name="horizontalSpacer_5">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
- <property name="buddy">
- <cstring>firstKeymapED</cstring>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
</property>
- </widget>
+ </spacer>
</item>
- <item row="2" column="0" colspan="3">
+ <item row="2" column="0" colspan="4">
<widget class="QCheckBox" name="keymapFollowLangCB">
<property name="enabled">
<bool>false</bool>
@@ -82,7 +101,7 @@
</property>
</widget>
</item>
- <item row="3" column="0" colspan="2">
+ <item row="3" column="0" rowspan="5" colspan="2">
<widget class="QListWidget" name="keymapLangLW">
<property name="enabled">
<bool>false</bool>
@@ -98,87 +117,153 @@
</property>
</widget>
</item>
- <item row="3" column="2">
- <layout class="QVBoxLayout" name="verticalLayout_kbmaplang">
+ <item row="3" column="2" colspan="2">
+ <widget class="QComboBox" name="keymapLangCO">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="toolTip">
+ <string>Language to assign a keyboard map to</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="4">
+ <spacer name="horizontalSpacer_6">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>18</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="4" column="2" colspan="2">
+ <layout class="QHBoxLayout" name="horizontalLayout_kbmaplang">
<item>
- <widget class="QComboBox" name="keymapLangCO">
+ <widget class="QLineEdit" name="keymapLangED">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
- <string>Language to assign a keyboard map to</string>
+ <string>Keyboard map to use for the selected language</string>
</property>
</widget>
</item>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_kbmaplang">
- <item>
- <widget class="QLineEdit" name="keymapLangED">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="toolTip">
- <string>Keyboard map to use for the selected language</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="keymapLangPB">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>&Browse...</string>
- </property>
- <property name="autoDefault">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QPushButton" name="keymapLangAddPB">
+ <widget class="QPushButton" name="keymapLangPB">
<property name="enabled">
<bool>false</bool>
</property>
- <property name="text">
- <string>A&dd</string>
- </property>
- <property name="autoDefault">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="keymapLangRemovePB">
- <property name="enabled">
- <bool>false</bool>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
<property name="text">
- <string>Remo&ve</string>
+ <string>&Browse...</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
- <item>
- <spacer name="verticalSpacer_kbmaplang">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
</layout>
</item>
- <item row="4" column="0" colspan="3">
+ <item row="4" column="4">
+ <spacer name="horizontalSpacer_7">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="5" column="2">
+ <widget class="QPushButton" name="keymapLangAddPB">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>A&dd</string>
+ </property>
+ <property name="autoDefault">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="3" colspan="2">
+ <spacer name="horizontalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>142</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="6" column="2">
+ <widget class="QPushButton" name="keymapLangRemovePB">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Remo&ve</string>
+ </property>
+ <property name="autoDefault">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="3" colspan="2">
+ <spacer name="horizontalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>142</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="7" column="3">
+ <spacer name="verticalSpacer_kbmaplang">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="8" column="0" colspan="3">
<widget class="QCheckBox" name="dontswapCB">
<property name="toolTip">
<string>macOS specific setting for use with emacs bindings. Takes effect next time LyX is launched.</string>
@@ -280,75 +365,77 @@
<string>Scroll Wheel Zoom</string>
</property>
<property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <widget class="QCheckBox" name="scrollzoomEnableCB">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>86</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>&Enable</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="scrollzoomValueCO">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>27</height>
+ </size>
+ </property>
+ <property name="inputMethodHints">
+ <set>Qt::ImhFormattedNumbersOnly|Qt::ImhLatinOnly</set>
+ </property>
+ <property name="editable">
+ <bool>false</bool>
+ </property>
<item>
- <widget class="QCheckBox" name="scrollzoomEnableCB">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>86</width>
- <height>0</height>
- </size>
- </property>
- <property name="text">
- <string>&Enable</string>
- </property>
- </widget>
+ <property name="text">
+ <string>Ctrl</string>
+ </property>
</item>
<item>
- <widget class="QComboBox" name="scrollzoomValueCO">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="inputMethodHints">
- <set>Qt::ImhFormattedNumbersOnly|Qt::ImhLatinOnly</set>
- </property>
- <property name="editable">
- <bool>false</bool>
- </property>
- <item>
- <property name="text">
- <string>Ctrl</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Shift</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Alt</string>
- </property>
- </item>
- </widget>
+ <property name="text">
+ <string>Shift</string>
+ </property>
</item>
<item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
+ <property name="text">
+ <string>Alt</string>
+ </property>
</item>
- </layout>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>234</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
</item>
</layout>
</widget>
More information about the lyx-cvs
mailing list