mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
PrefLanguageUi.ui:
- fix layout and add some tooltips. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23810 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8ba01b4096
commit
ffeb40141f
@ -20,53 +20,50 @@
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="10" column="0" colspan="3" >
|
||||
<widget class="QGroupBox" name="groupBox" >
|
||||
<widget class="QGroupBox" name="rtlGB2" >
|
||||
<property name="toolTip" >
|
||||
<string/>
|
||||
</property>
|
||||
<property name="title" >
|
||||
<string>RTL </string>
|
||||
<string>Right-to-left language support</string>
|
||||
</property>
|
||||
<property name="flat" >
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="11" column="0" >
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType" >
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>5</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="12" column="0" >
|
||||
<widget class="QGroupBox" name="rtlGB" >
|
||||
<property name="toolTip" >
|
||||
<string>Select to enable support of right-to-left languages (e.g. Hebrew, Arabic).</string>
|
||||
</property>
|
||||
<property name="title" >
|
||||
<string>&Right-to-left language support</string>
|
||||
</property>
|
||||
<property name="flat" >
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="checkable" >
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" >
|
||||
<layout class="QGridLayout" >
|
||||
<property name="margin" >
|
||||
<number>3</number>
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<item row="0" column="0" >
|
||||
<widget class="QCheckBox" name="rtlGB" >
|
||||
<property name="toolTip" >
|
||||
<string>Select to enable support of right-to-left languages (e.g. Hebrew, Arabic).</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Enable &RTL support</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1" >
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>101</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
@ -75,7 +72,7 @@
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label" >
|
||||
<widget class="QLabel" name="cursorMovementLA" >
|
||||
<property name="text" >
|
||||
<string>Cursor movement:</string>
|
||||
</property>
|
||||
@ -87,7 +84,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="logicalCursorRB" >
|
||||
<property name="text" >
|
||||
<string>Logical</string>
|
||||
<string>&Logical</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -97,7 +94,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="visualCursorRB" >
|
||||
<property name="text" >
|
||||
<string>Visual</string>
|
||||
<string>&Visual</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -106,7 +103,17 @@
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="13" column="0" >
|
||||
<item row="8" column="0" colspan="4" >
|
||||
<widget class="QCheckBox" name="markForeignCB" >
|
||||
<property name="toolTip" >
|
||||
<string>Check to highlight foreign languages visually in the work area</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Mark &foreign languages</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="11" column="1" >
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Vertical</enum>
|
||||
@ -122,6 +129,130 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="0" column="2" >
|
||||
<widget class="QComboBox" name="defaultLanguageCO" >
|
||||
<property name="toolTip" >
|
||||
<string>Select the default language of your documents</string>
|
||||
</property>
|
||||
<property name="maxVisibleItems" >
|
||||
<number>20</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2" >
|
||||
<widget class="QLineEdit" name="startCommandED" >
|
||||
<property name="toolTip" >
|
||||
<string>The LaTeX command that starts a switch to a foreign language</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2" >
|
||||
<widget class="QLineEdit" name="languagePackageED" >
|
||||
<property name="toolTip" >
|
||||
<string>Enter the command to load the language package (default: babel)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2" >
|
||||
<widget class="QLineEdit" name="endCommandED" >
|
||||
<property name="toolTip" >
|
||||
<string>The LaTeX command that ends a switch to a foreign language</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="3" >
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="0" column="0" colspan="2" >
|
||||
<widget class="QLabel" name="defaultLanguageLA" >
|
||||
<property name="text" >
|
||||
<string>&Default language:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>defaultLanguageCO</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="2" >
|
||||
<widget class="QLabel" name="languagePackageLA" >
|
||||
<property name="text" >
|
||||
<string>Language pac&kage:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>languagePackageED</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2" >
|
||||
<widget class="QLabel" name="startCommandLA" >
|
||||
<property name="text" >
|
||||
<string>Command s&tart:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>startCommandED</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" colspan="2" >
|
||||
<widget class="QLabel" name="endCommandLA" >
|
||||
<property name="text" >
|
||||
<string>Command e&nd:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>endCommandED</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0" colspan="3" >
|
||||
<widget class="QCheckBox" name="globalCB" >
|
||||
<property name="toolTip" >
|
||||
<string>Check to pass the language globally (to the document class), not locally (to the language package)</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>&Global</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0" colspan="3" >
|
||||
<widget class="QCheckBox" name="autoBeginCB" >
|
||||
<property name="toolTip" >
|
||||
<string>If checked, the document language is not explicitely set by a language switch command</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Auto &begin</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0" colspan="3" >
|
||||
<widget class="QCheckBox" name="autoEndCB" >
|
||||
<property name="toolTip" >
|
||||
<string>If checked, the document language is not explicitely closed by a language switch command</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Auto &end</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" colspan="3" >
|
||||
<widget class="QCheckBox" name="useBabelCB" >
|
||||
<property name="toolTip" >
|
||||
<string>Use the babel package for multilingual support</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Use b&abel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0" >
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
@ -138,110 +269,6 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="4" column="0" colspan="2" >
|
||||
<widget class="QCheckBox" name="useBabelCB" >
|
||||
<property name="text" >
|
||||
<string>Use b&abel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0" colspan="3" >
|
||||
<widget class="QCheckBox" name="markForeignCB" >
|
||||
<property name="text" >
|
||||
<string>Mark &foreign languages</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0" colspan="2" >
|
||||
<widget class="QCheckBox" name="autoEndCB" >
|
||||
<property name="text" >
|
||||
<string>Auto &end</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0" colspan="2" >
|
||||
<widget class="QCheckBox" name="autoBeginCB" >
|
||||
<property name="text" >
|
||||
<string>Auto &begin</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0" colspan="2" >
|
||||
<widget class="QCheckBox" name="globalCB" >
|
||||
<property name="text" >
|
||||
<string>&Global</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" >
|
||||
<widget class="QLabel" name="endCommandLA" >
|
||||
<property name="text" >
|
||||
<string>Command e&nd:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>endCommandED</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" >
|
||||
<widget class="QLabel" name="startCommandLA" >
|
||||
<property name="text" >
|
||||
<string>Command s&tart:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>startCommandED</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
<widget class="QLabel" name="languagePackageLA" >
|
||||
<property name="text" >
|
||||
<string>Language pac&kage:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>languagePackageED</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0" >
|
||||
<widget class="QLabel" name="defaultLanguageLA" >
|
||||
<property name="text" >
|
||||
<string>&Default language:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>defaultLanguageCO</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2" >
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="3" column="1" >
|
||||
<widget class="QLineEdit" name="endCommandED" />
|
||||
</item>
|
||||
<item row="1" column="1" >
|
||||
<widget class="QLineEdit" name="languagePackageED" />
|
||||
</item>
|
||||
<item row="2" column="1" >
|
||||
<widget class="QLineEdit" name="startCommandED" />
|
||||
</item>
|
||||
<item row="0" column="1" >
|
||||
<widget class="QComboBox" name="defaultLanguageCO" >
|
||||
<property name="maxVisibleItems" >
|
||||
<number>20</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<tabstops>
|
||||
@ -259,5 +286,54 @@
|
||||
<include location="local" >qt_helpers.h</include>
|
||||
</includes>
|
||||
<resources/>
|
||||
<connections/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>rtlGB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>logicalCursorRB</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>139</x>
|
||||
<y>317</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>162</x>
|
||||
<y>348</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>rtlGB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>visualCursorRB</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>139</x>
|
||||
<y>317</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>228</x>
|
||||
<y>348</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>rtlGB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>cursorMovementLA</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>139</x>
|
||||
<y>317</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>72</x>
|
||||
<y>348</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
|
Loading…
Reference in New Issue
Block a user