]> git.lyx.org Git - features.git/blob - src/frontends/qt/ui/PrefLanguageUi.ui
Improve prefs language UI
[features.git] / src / frontends / qt / ui / PrefLanguageUi.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PrefLanguageUi</class>
4  <widget class="QWidget" name="PrefLanguageUi">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>517</width>
10     <height>570</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string/>
15   </property>
16   <layout class="QGridLayout" name="gridLayout_4">
17    <item row="0" column="0">
18     <layout class="QHBoxLayout" name="horizontalLayout_2">
19      <item>
20       <widget class="QLabel" name="uiLanguageLA">
21        <property name="text">
22         <string>User &amp;interface language:</string>
23        </property>
24        <property name="buddy">
25         <cstring>uiLanguageCO</cstring>
26        </property>
27       </widget>
28      </item>
29      <item>
30       <widget class="QComboBox" name="uiLanguageCO">
31        <property name="toolTip">
32         <string>Select the language of the user interface (menus, dialogs, etc.)</string>
33        </property>
34        <property name="maxVisibleItems">
35         <number>20</number>
36        </property>
37       </widget>
38      </item>
39      <item>
40       <spacer name="horizontalSpacer_4">
41        <property name="orientation">
42         <enum>Qt::Horizontal</enum>
43        </property>
44        <property name="sizeHint" stdset="0">
45         <size>
46          <width>40</width>
47          <height>20</height>
48         </size>
49        </property>
50       </spacer>
51      </item>
52     </layout>
53    </item>
54    <item row="1" column="0">
55     <widget class="QGroupBox" name="groupBox">
56      <property name="title">
57       <string>LaTeX Language Support</string>
58      </property>
59      <layout class="QGridLayout" name="gridLayout_2">
60       <item row="0" column="0">
61        <widget class="QLabel" name="languagePackageLA">
62         <property name="text">
63          <string>Language &amp;package:</string>
64         </property>
65         <property name="buddy">
66          <cstring>languagePackageCO</cstring>
67         </property>
68        </widget>
69       </item>
70       <item row="0" column="1">
71        <widget class="QComboBox" name="languagePackageCO">
72         <property name="toolTip">
73          <string>Select which (LaTeX) language package documents should use by default</string>
74         </property>
75         <item>
76          <property name="text">
77           <string>Automatic</string>
78          </property>
79         </item>
80         <item>
81          <property name="text">
82           <string>Always Babel</string>
83          </property>
84         </item>
85         <item>
86          <property name="text">
87           <string>Custom</string>
88          </property>
89         </item>
90         <item>
91          <property name="text">
92           <string>None[[language package]]</string>
93          </property>
94         </item>
95        </widget>
96       </item>
97       <item row="0" column="2">
98        <widget class="QLineEdit" name="languagePackageED">
99         <property name="toolTip">
100          <string>Enter the command to load a custom language package (default: \usepackage{babel})</string>
101         </property>
102        </widget>
103       </item>
104       <item row="1" column="0">
105        <widget class="QLabel" name="startCommandLA">
106         <property name="text">
107          <string>Command s&amp;tart:</string>
108         </property>
109         <property name="buddy">
110          <cstring>startCommandED</cstring>
111         </property>
112        </widget>
113       </item>
114       <item row="1" column="1" colspan="2">
115        <widget class="QLineEdit" name="startCommandED">
116         <property name="toolTip">
117          <string>The LaTeX command that starts a switch to a different language. The placeholder $$lang is replaced by the actual language name.</string>
118         </property>
119        </widget>
120       </item>
121       <item row="2" column="0">
122        <widget class="QLabel" name="endCommandLA">
123         <property name="text">
124          <string>Command e&amp;nd:</string>
125         </property>
126         <property name="buddy">
127          <cstring>endCommandED</cstring>
128         </property>
129        </widget>
130       </item>
131       <item row="2" column="1" colspan="2">
132        <widget class="QLineEdit" name="endCommandED">
133         <property name="toolTip">
134          <string>The LaTeX command that ends a switch to a different language.  The placeholder $$lang is replaced by the actual language name.</string>
135         </property>
136        </widget>
137       </item>
138       <item row="3" column="0" colspan="2">
139        <widget class="QCheckBox" name="globalCB">
140         <property name="toolTip">
141          <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>
142         </property>
143         <property name="text">
144          <string>Set languages &amp;globally</string>
145         </property>
146        </widget>
147       </item>
148       <item row="4" column="0" colspan="2">
149        <widget class="QCheckBox" name="explicitDocLangBeginCB">
150         <property name="toolTip">
151          <string>If checked, the document language is explicitly set by a language switch command</string>
152         </property>
153         <property name="text">
154          <string>Set document language e&amp;xplicitly</string>
155         </property>
156        </widget>
157       </item>
158       <item row="5" column="0" colspan="2">
159        <widget class="QCheckBox" name="explicitDocLangEndCB">
160         <property name="toolTip">
161          <string>If checked, the document language is explicitly closed by a language switch command</string>
162         </property>
163         <property name="text">
164          <string>&amp;Unset document language explicitly</string>
165         </property>
166        </widget>
167       </item>
168      </layout>
169     </widget>
170    </item>
171    <item row="2" column="0">
172     <widget class="QGroupBox" name="rtlGB2">
173      <property name="toolTip">
174       <string/>
175      </property>
176      <property name="title">
177       <string>Editor Settings</string>
178      </property>
179      <property name="flat">
180       <bool>true</bool>
181      </property>
182      <property name="checkable">
183       <bool>false</bool>
184      </property>
185      <layout class="QGridLayout" name="gridLayout">
186       <item row="0" column="0">
187        <widget class="QCheckBox" name="markForeignCB">
188         <property name="toolTip">
189          <string>Check to highlight additional languages (to the document language) visually in the work area</string>
190         </property>
191         <property name="text">
192          <string>&amp;Mark additional languages</string>
193         </property>
194        </widget>
195       </item>
196       <item row="1" column="0">
197        <widget class="QCheckBox" name="respectOSkbdCB">
198         <property name="toolTip">
199          <string>Select to use the current keyboard language, as set from the operating system, as default input language.</string>
200         </property>
201         <property name="text">
202          <string>Respect &amp;OS keyboard language</string>
203         </property>
204        </widget>
205       </item>
206       <item row="2" column="0">
207        <layout class="QHBoxLayout">
208         <property name="spacing">
209          <number>6</number>
210         </property>
211         <property name="leftMargin">
212          <number>0</number>
213         </property>
214         <property name="topMargin">
215          <number>0</number>
216         </property>
217         <property name="rightMargin">
218          <number>0</number>
219         </property>
220         <property name="bottomMargin">
221          <number>0</number>
222         </property>
223         <item>
224          <widget class="QLabel" name="cursorMovementLA">
225           <property name="text">
226            <string>Right-to-left cursor movement:</string>
227           </property>
228           <property name="scaledContents">
229            <bool>false</bool>
230           </property>
231          </widget>
232         </item>
233         <item>
234          <widget class="QRadioButton" name="logicalCursorRB">
235           <property name="text">
236            <string>&amp;Logical</string>
237           </property>
238           <property name="checked">
239            <bool>true</bool>
240           </property>
241          </widget>
242         </item>
243         <item>
244          <widget class="QRadioButton" name="visualCursorRB">
245           <property name="text">
246            <string>&amp;Visual</string>
247           </property>
248          </widget>
249         </item>
250        </layout>
251       </item>
252       <item row="2" column="1">
253        <spacer name="horizontalSpacer_3">
254         <property name="orientation">
255          <enum>Qt::Horizontal</enum>
256         </property>
257         <property name="sizeHint" stdset="0">
258          <size>
259           <width>40</width>
260           <height>20</height>
261          </size>
262         </property>
263        </spacer>
264       </item>
265      </layout>
266     </widget>
267    </item>
268    <item row="3" column="0">
269     <widget class="QGroupBox" name="groupBox_2">
270      <property name="title">
271       <string>Local Preferences</string>
272      </property>
273      <layout class="QGridLayout" name="gridLayout_3">
274       <item row="0" column="0">
275        <widget class="QLabel" name="decimalPointL">
276         <property name="text">
277          <string>Default decimal &amp;separator:</string>
278         </property>
279         <property name="buddy">
280          <cstring>defaultDecimalPointLE</cstring>
281         </property>
282        </widget>
283       </item>
284       <item row="1" column="0">
285        <widget class="QLabel" name="defaultLengthUnitLA">
286         <property name="text">
287          <string>Default length &amp;unit:</string>
288         </property>
289         <property name="buddy">
290          <cstring>defaultLengthUnitCO</cstring>
291         </property>
292        </widget>
293       </item>
294       <item row="0" column="1">
295        <widget class="QLineEdit" name="defaultDecimalPointLE">
296         <property name="maximumSize">
297          <size>
298           <width>20</width>
299           <height>16777215</height>
300          </size>
301         </property>
302         <property name="inputMask">
303          <string/>
304         </property>
305         <property name="alignment">
306          <set>Qt::AlignCenter</set>
307         </property>
308        </widget>
309       </item>
310       <item row="1" column="1">
311        <widget class="QComboBox" name="defaultLengthUnitCO"/>
312       </item>
313       <item row="1" column="2">
314        <spacer name="horizontalSpacer_2">
315         <property name="orientation">
316          <enum>Qt::Horizontal</enum>
317         </property>
318         <property name="sizeHint" stdset="0">
319          <size>
320           <width>40</width>
321           <height>20</height>
322          </size>
323         </property>
324        </spacer>
325       </item>
326      </layout>
327     </widget>
328    </item>
329    <item row="4" column="0">
330     <spacer>
331      <property name="orientation">
332       <enum>Qt::Vertical</enum>
333      </property>
334      <property name="sizeType">
335       <enum>QSizePolicy::Expanding</enum>
336      </property>
337      <property name="sizeHint" stdset="0">
338       <size>
339        <width>20</width>
340        <height>20</height>
341       </size>
342      </property>
343     </spacer>
344    </item>
345   </layout>
346  </widget>
347  <tabstops>
348   <tabstop>uiLanguageCO</tabstop>
349   <tabstop>languagePackageCO</tabstop>
350   <tabstop>languagePackageED</tabstop>
351   <tabstop>startCommandED</tabstop>
352   <tabstop>endCommandED</tabstop>
353   <tabstop>defaultDecimalPointLE</tabstop>
354   <tabstop>defaultLengthUnitCO</tabstop>
355   <tabstop>globalCB</tabstop>
356   <tabstop>explicitDocLangBeginCB</tabstop>
357   <tabstop>markForeignCB</tabstop>
358   <tabstop>respectOSkbdCB</tabstop>
359   <tabstop>logicalCursorRB</tabstop>
360   <tabstop>visualCursorRB</tabstop>
361  </tabstops>
362  <includes>
363   <include location="local">qt_i18n.h</include>
364  </includes>
365  <resources/>
366  <connections/>
367 </ui>