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