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