2 <class>PrefLanguageUi</class>
3 <widget class="QWidget" name="PrefLanguageUi">
4 <property name="geometry">
12 <property name="windowTitle">
15 <layout class="QGridLayout" name="gridLayout_2">
16 <item row="0" column="0">
17 <widget class="QLabel" name="uiLanguageLA">
18 <property name="text">
19 <string>User &interface language:</string>
21 <property name="buddy">
22 <cstring>uiLanguageCO</cstring>
26 <item row="0" column="1">
27 <widget class="QComboBox" name="uiLanguageCO">
28 <property name="toolTip">
29 <string>Select the language of the user interface (menus, dialogs, etc.)</string>
31 <property name="maxVisibleItems">
36 <item row="1" column="0">
37 <widget class="QLabel" name="languagePackageLA">
38 <property name="text">
39 <string>Language &package:</string>
41 <property name="buddy">
42 <cstring>languagePackageCO</cstring>
46 <item row="1" column="1" colspan="2">
47 <layout class="QHBoxLayout" name="horizontalLayout">
49 <widget class="QComboBox" name="languagePackageCO">
50 <property name="toolTip">
51 <string>Select which language package LyX should use</string>
54 <property name="text">
55 <string>Automatic</string>
59 <property name="text">
60 <string>Always Babel</string>
64 <property name="text">
65 <string>Custom</string>
69 <property name="text">
70 <string>None[[language package]]</string>
76 <widget class="QLineEdit" name="languagePackageED">
77 <property name="toolTip">
78 <string>Enter the command to load the language package (default: \usepackage{babel})</string>
84 <item row="2" column="0">
85 <widget class="QLabel" name="startCommandLA">
86 <property name="text">
87 <string>Command s&tart:</string>
89 <property name="buddy">
90 <cstring>startCommandED</cstring>
94 <item row="2" column="1">
95 <widget class="QLineEdit" name="startCommandED">
96 <property name="toolTip">
97 <string>The LaTeX command that starts a switch to a foreign language</string>
101 <item row="2" column="2">
102 <spacer name="horizontalSpacer">
103 <property name="orientation">
104 <enum>Qt::Horizontal</enum>
106 <property name="sizeHint" stdset="0">
114 <item row="3" column="0">
115 <widget class="QLabel" name="endCommandLA">
116 <property name="text">
117 <string>Command e&nd:</string>
119 <property name="buddy">
120 <cstring>endCommandED</cstring>
124 <item row="3" column="1">
125 <widget class="QLineEdit" name="endCommandED">
126 <property name="toolTip">
127 <string>The LaTeX command that ends a switch to a foreign language</string>
131 <item row="4" column="0">
132 <widget class="QLabel" name="decimalPointL">
133 <property name="text">
134 <string>Default Decimal &Separator:</string>
136 <property name="buddy">
137 <cstring>defaultDecimalPointLE</cstring>
141 <item row="4" column="1">
142 <widget class="QLineEdit" name="defaultDecimalPointLE">
143 <property name="maximumSize">
146 <height>16777215</height>
149 <property name="inputMask">
152 <property name="alignment">
153 <set>Qt::AlignCenter</set>
157 <item row="5" column="0">
158 <widget class="QLabel" name="defaultLengthUnitLA">
159 <property name="text">
160 <string>Default length &unit:</string>
162 <property name="buddy">
163 <cstring>defaultLengthUnitCO</cstring>
167 <item row="5" column="1">
168 <widget class="QComboBox" name="defaultLengthUnitCO" />
170 <item row="6" column="0" colspan="2">
171 <widget class="QCheckBox" name="globalCB">
172 <property name="toolTip">
173 <string>Check to pass the language globally (to the document class), not locally (to the language package)</string>
175 <property name="text">
176 <string>Set languages &globally</string>
180 <item row="7" column="0">
181 <widget class="QCheckBox" name="autoBeginCB">
182 <property name="toolTip">
183 <string>If checked, the document language is not explicitly set by a language switch command</string>
185 <property name="text">
186 <string>Auto &begin</string>
190 <item row="8" column="0">
191 <widget class="QCheckBox" name="autoEndCB">
192 <property name="toolTip">
193 <string>If checked, the document language is not explicitly closed by a language switch command</string>
195 <property name="text">
196 <string>Auto &end</string>
200 <item row="9" column="0" colspan="2">
201 <widget class="QCheckBox" name="markForeignCB">
202 <property name="toolTip">
203 <string>Check to highlight foreign languages visually in the work area</string>
205 <property name="text">
206 <string>Mark &foreign languages</string>
210 <item row="10" column="0" colspan="3">
211 <widget class="QGroupBox" name="rtlGB2">
212 <property name="toolTip">
215 <property name="title">
216 <string>Right-to-left language support</string>
218 <property name="flat">
221 <property name="checkable">
224 <layout class="QGridLayout" name="gridLayout">
225 <item row="0" column="0">
226 <widget class="QCheckBox" name="rtlGB">
227 <property name="toolTip">
228 <string>Select to enable support of right-to-left languages (e.g. Hebrew, Arabic).</string>
230 <property name="text">
231 <string>Enable &RTL support</string>
235 <item row="1" column="0">
236 <layout class="QHBoxLayout">
237 <property name="spacing">
240 <property name="margin">
244 <widget class="QLabel" name="cursorMovementLA">
245 <property name="text">
246 <string>Cursor movement:</string>
248 <property name="scaledContents">
254 <widget class="QRadioButton" name="logicalCursorRB">
255 <property name="text">
256 <string>&Logical</string>
258 <property name="checked">
264 <widget class="QRadioButton" name="visualCursorRB">
265 <property name="text">
266 <string>&Visual</string>
272 <item row="1" column="1">
274 <property name="orientation">
275 <enum>Qt::Horizontal</enum>
277 <property name="sizeHint" stdset="0">
288 <item row="11" column="0">
290 <property name="orientation">
291 <enum>Qt::Vertical</enum>
293 <property name="sizeType">
294 <enum>QSizePolicy::Expanding</enum>
296 <property name="sizeHint" stdset="0">
307 <tabstop>uiLanguageCO</tabstop>
308 <tabstop>languagePackageCO</tabstop>
309 <tabstop>languagePackageED</tabstop>
310 <tabstop>startCommandED</tabstop>
311 <tabstop>endCommandED</tabstop>
312 <tabstop>defaultDecimalPointLE</tabstop>
313 <tabstop>globalCB</tabstop>
314 <tabstop>autoBeginCB</tabstop>
315 <tabstop>autoEndCB</tabstop>
316 <tabstop>markForeignCB</tabstop>
317 <tabstop>rtlGB</tabstop>
318 <tabstop>logicalCursorRB</tabstop>
319 <tabstop>visualCursorRB</tabstop>
322 <include location="local">qt_i18n.h</include>
327 <sender>rtlGB</sender>
328 <signal>toggled(bool)</signal>
329 <receiver>logicalCursorRB</receiver>
330 <slot>setEnabled(bool)</slot>
332 <hint type="sourcelabel">
336 <hint type="destinationlabel">
343 <sender>rtlGB</sender>
344 <signal>toggled(bool)</signal>
345 <receiver>visualCursorRB</receiver>
346 <slot>setEnabled(bool)</slot>
348 <hint type="sourcelabel">
352 <hint type="destinationlabel">
359 <sender>rtlGB</sender>
360 <signal>toggled(bool)</signal>
361 <receiver>cursorMovementLA</receiver>
362 <slot>setEnabled(bool)</slot>
364 <hint type="sourcelabel">
368 <hint type="destinationlabel">