]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/PrefLanguageUi.ui
Fix the tab ordering of GuiPrefs components.
[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: 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" colspan="2">
158     <widget class="QCheckBox" name="globalCB">
159      <property name="toolTip">
160       <string>Check to pass the language globally (to the document class), not locally (to the language package)</string>
161      </property>
162      <property name="text">
163       <string>Set languages &amp;globally</string>
164      </property>
165     </widget>
166    </item>
167    <item row="6" column="0">
168     <widget class="QCheckBox" name="autoBeginCB">
169      <property name="toolTip">
170       <string>If checked, the document language is not explicitly set by a language switch command</string>
171      </property>
172      <property name="text">
173       <string>Auto &amp;begin</string>
174      </property>
175     </widget>
176    </item>
177    <item row="7" column="0">
178     <widget class="QCheckBox" name="autoEndCB">
179      <property name="toolTip">
180       <string>If checked, the document language is not explicitly closed by a language switch command</string>
181      </property>
182      <property name="text">
183       <string>Auto &amp;end</string>
184      </property>
185     </widget>
186    </item>
187    <item row="8" column="0" colspan="2">
188     <widget class="QCheckBox" name="markForeignCB">
189      <property name="toolTip">
190       <string>Check to highlight foreign languages visually in the work area</string>
191      </property>
192      <property name="text">
193       <string>Mark &amp;foreign languages</string>
194      </property>
195     </widget>
196    </item>
197    <item row="9" column="0" colspan="3">
198     <widget class="QGroupBox" name="rtlGB2">
199      <property name="toolTip">
200       <string/>
201      </property>
202      <property name="title">
203       <string>Right-to-left language support</string>
204      </property>
205      <property name="flat">
206       <bool>true</bool>
207      </property>
208      <property name="checkable">
209       <bool>false</bool>
210      </property>
211      <layout class="QGridLayout" name="gridLayout">
212       <item row="0" column="0">
213        <widget class="QCheckBox" name="rtlGB">
214         <property name="toolTip">
215          <string>Select to enable support of right-to-left languages (e.g. Hebrew, Arabic).</string>
216         </property>
217         <property name="text">
218          <string>Enable &amp;RTL support</string>
219         </property>
220        </widget>
221       </item>
222       <item row="1" column="0">
223        <layout class="QHBoxLayout">
224         <property name="spacing">
225          <number>6</number>
226         </property>
227         <property name="margin">
228          <number>0</number>
229         </property>
230         <item>
231          <widget class="QLabel" name="cursorMovementLA">
232           <property name="text">
233            <string>Cursor movement:</string>
234           </property>
235           <property name="scaledContents">
236            <bool>false</bool>
237           </property>
238          </widget>
239         </item>
240         <item>
241          <widget class="QRadioButton" name="logicalCursorRB">
242           <property name="text">
243            <string>&amp;Logical</string>
244           </property>
245           <property name="checked">
246            <bool>true</bool>
247           </property>
248          </widget>
249         </item>
250         <item>
251          <widget class="QRadioButton" name="visualCursorRB">
252           <property name="text">
253            <string>&amp;Visual</string>
254           </property>
255          </widget>
256         </item>
257        </layout>
258       </item>
259       <item row="1" column="1">
260        <spacer>
261         <property name="orientation">
262          <enum>Qt::Horizontal</enum>
263         </property>
264         <property name="sizeHint" stdset="0">
265          <size>
266           <width>101</width>
267           <height>20</height>
268          </size>
269         </property>
270        </spacer>
271       </item>
272      </layout>
273     </widget>
274    </item>
275    <item row="10" column="0">
276     <spacer>
277      <property name="orientation">
278       <enum>Qt::Vertical</enum>
279      </property>
280      <property name="sizeType">
281       <enum>QSizePolicy::Expanding</enum>
282      </property>
283      <property name="sizeHint" stdset="0">
284       <size>
285        <width>20</width>
286        <height>20</height>
287       </size>
288      </property>
289     </spacer>
290    </item>
291   </layout>
292  </widget>
293  <tabstops>
294   <tabstop>uiLanguageCO</tabstop>
295   <tabstop>languagePackageCO</tabstop>
296   <tabstop>languagePackageED</tabstop>
297   <tabstop>startCommandED</tabstop>
298   <tabstop>endCommandED</tabstop>
299   <tabstop>defaultDecimalPointLE</tabstop>
300   <tabstop>globalCB</tabstop>
301   <tabstop>autoBeginCB</tabstop>
302   <tabstop>autoEndCB</tabstop>
303   <tabstop>markForeignCB</tabstop>
304   <tabstop>rtlGB</tabstop>
305   <tabstop>logicalCursorRB</tabstop>
306   <tabstop>visualCursorRB</tabstop>
307  </tabstops>
308  <includes>
309   <include location="local">qt_i18n.h</include>
310  </includes>
311  <resources/>
312  <connections>
313   <connection>
314    <sender>rtlGB</sender>
315    <signal>toggled(bool)</signal>
316    <receiver>logicalCursorRB</receiver>
317    <slot>setEnabled(bool)</slot>
318    <hints>
319     <hint type="sourcelabel">
320      <x>139</x>
321      <y>317</y>
322     </hint>
323     <hint type="destinationlabel">
324      <x>162</x>
325      <y>348</y>
326     </hint>
327    </hints>
328   </connection>
329   <connection>
330    <sender>rtlGB</sender>
331    <signal>toggled(bool)</signal>
332    <receiver>visualCursorRB</receiver>
333    <slot>setEnabled(bool)</slot>
334    <hints>
335     <hint type="sourcelabel">
336      <x>139</x>
337      <y>317</y>
338     </hint>
339     <hint type="destinationlabel">
340      <x>228</x>
341      <y>348</y>
342     </hint>
343    </hints>
344   </connection>
345   <connection>
346    <sender>rtlGB</sender>
347    <signal>toggled(bool)</signal>
348    <receiver>cursorMovementLA</receiver>
349    <slot>setEnabled(bool)</slot>
350    <hints>
351     <hint type="sourcelabel">
352      <x>139</x>
353      <y>317</y>
354     </hint>
355     <hint type="destinationlabel">
356      <x>72</x>
357      <y>348</y>
358     </hint>
359    </hints>
360   </connection>
361  </connections>
362 </ui>