mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-17 13:26:58 +00:00
406 lines
13 KiB
XML
406 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PrefLanguageUi</class>
|
|
<widget class="QWidget" name="PrefLanguageUi">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>517</width>
|
|
<height>570</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string/>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="uiLanguageLA">
|
|
<property name="text">
|
|
<string>User &interface language:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>uiLanguageCO</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="uiLanguageCO">
|
|
<property name="toolTip">
|
|
<string>Select the language of the user interface (menus, dialogs, etc.)</string>
|
|
</property>
|
|
<property name="maxVisibleItems">
|
|
<number>20</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>LaTeX Language Support</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="languagePackageLA">
|
|
<property name="text">
|
|
<string>Language &package:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>languagePackageCO</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="languagePackageCO">
|
|
<property name="toolTip">
|
|
<string>Select which (LaTeX) language package documents should use by default</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Automatic</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Always Babel</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Custom</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>None[[language package]]</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLineEdit" name="languagePackageED">
|
|
<property name="toolTip">
|
|
<string>Enter the command to load a custom language package (default: \usepackage{babel})</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" 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="1" colspan="2">
|
|
<widget class="QLineEdit" name="startCommandED">
|
|
<property name="toolTip">
|
|
<string>The LaTeX command that starts a switch to a different language. The placeholder $$lang is replaced by the actual language name.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" 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="1" colspan="2">
|
|
<widget class="QLineEdit" name="endCommandED">
|
|
<property name="toolTip">
|
|
<string>The LaTeX command that ends a switch to a different language. The placeholder $$lang is replaced by the actual language name.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<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), so that other packages are also informed about the used languages.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Set languages &globally</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="explicitDocLangBeginCB">
|
|
<property name="toolTip">
|
|
<string>If checked, the document language is explicitly set by a language switch command</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Set document language e&xplicitly</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="explicitDocLangEndCB">
|
|
<property name="toolTip">
|
|
<string>If checked, the document language is explicitly closed by a language switch command</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Unset document language explicitly</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QGroupBox" name="rtlGB2">
|
|
<property name="toolTip">
|
|
<string/>
|
|
</property>
|
|
<property name="title">
|
|
<string>Editor Settings</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="markForeignCB">
|
|
<property name="toolTip">
|
|
<string>Check to highlight additional languages (to the document language) visually in the work area</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Mark additional languages</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="respectOSkbdCB">
|
|
<property name="toolTip">
|
|
<string>Select to use the current keyboard language, as set from the operating system, as default input language.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Respect &OS keyboard language</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<layout class="QHBoxLayout">
|
|
<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="cursorMovementLA">
|
|
<property name="toolTip">
|
|
<string>Specify here how the arrow keys behave within scripts with right-to-left direction</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Right-to-left cursor movement:</string>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="logicalCursorRB">
|
|
<property name="toolTip">
|
|
<string>The cursor follows the logic of the text direction (e.g., in embedded right-to-left text in a left-to-right paragraph, the cursor starts at the right when coming from the left)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Logical</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="visualCursorRB">
|
|
<property name="toolTip">
|
|
<string>The cursor follows the visual direction (e.g., in embedded right-to-left text in a left-to-right paragraph, the cursor starts at the left when coming from the left)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Visual</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Local Preferences</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="decimalPointL">
|
|
<property name="toolTip">
|
|
<string>Here you can specify the decimal separator that is used in the tabular dialog by default. "Language default" selects the appropriate separator for the current language.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Default decimal &separator:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>defaultDecimalSepED</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="6">
|
|
<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>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QLineEdit" name="defaultDecimalSepED">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>40</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Insert a custom decimal separator here</string>
|
|
</property>
|
|
<property name="inputMask">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="defaultLengthUnitLA">
|
|
<property name="toolTip">
|
|
<string>Select the default length unit for LyX dialogs</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Default length &unit:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>defaultLengthUnitCO</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="defaultDecimalSepCO">
|
|
<property name="toolTip">
|
|
<string>Here you can specify the decimal separator that is used in the tabular dialog by default. "Language default" selects the appropriate separator for the current language.</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Language Default</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Custom</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="defaultLengthUnitCO">
|
|
<property name="toolTip">
|
|
<string>Select the default length unit for LyX dialogs</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>uiLanguageCO</tabstop>
|
|
<tabstop>languagePackageCO</tabstop>
|
|
<tabstop>languagePackageED</tabstop>
|
|
<tabstop>startCommandED</tabstop>
|
|
<tabstop>endCommandED</tabstop>
|
|
<tabstop>defaultDecimalSepED</tabstop>
|
|
<tabstop>globalCB</tabstop>
|
|
<tabstop>explicitDocLangBeginCB</tabstop>
|
|
<tabstop>markForeignCB</tabstop>
|
|
<tabstop>respectOSkbdCB</tabstop>
|
|
<tabstop>logicalCursorRB</tabstop>
|
|
<tabstop>visualCursorRB</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="local">qt_i18n.h</include>
|
|
</includes>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|