]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/PrefLanguageUi.ui
ViewSourceUi.ui: fix bug #4430
[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        <layout class="QHBoxLayout">
228         <property name="spacing">
229          <number>6</number>
230         </property>
231         <property name="margin">
232          <number>0</number>
233         </property>
234         <item>
235          <widget class="QLabel" name="cursorMovementLA">
236           <property name="text">
237            <string>Cursor movement:</string>
238           </property>
239           <property name="scaledContents">
240            <bool>false</bool>
241           </property>
242          </widget>
243         </item>
244         <item>
245          <widget class="QRadioButton" name="logicalCursorRB">
246           <property name="text">
247            <string>&amp;Logical</string>
248           </property>
249           <property name="checked">
250            <bool>true</bool>
251           </property>
252          </widget>
253         </item>
254         <item>
255          <widget class="QRadioButton" name="visualCursorRB">
256           <property name="text">
257            <string>&amp;Visual</string>
258           </property>
259          </widget>
260         </item>
261        </layout>
262       </item>
263       <item row="1" column="1">
264        <spacer>
265         <property name="orientation">
266          <enum>Qt::Horizontal</enum>
267         </property>
268         <property name="sizeHint" stdset="0">
269          <size>
270           <width>101</width>
271           <height>20</height>
272          </size>
273         </property>
274        </spacer>
275       </item>
276      </layout>
277     </widget>
278    </item>
279    <item row="11" column="0">
280     <spacer>
281      <property name="orientation">
282       <enum>Qt::Vertical</enum>
283      </property>
284      <property name="sizeType">
285       <enum>QSizePolicy::Expanding</enum>
286      </property>
287      <property name="sizeHint" stdset="0">
288       <size>
289        <width>20</width>
290        <height>20</height>
291       </size>
292      </property>
293     </spacer>
294    </item>
295   </layout>
296  </widget>
297  <tabstops>
298   <tabstop>uiLanguageCO</tabstop>
299   <tabstop>languagePackageCO</tabstop>
300   <tabstop>languagePackageED</tabstop>
301   <tabstop>startCommandED</tabstop>
302   <tabstop>endCommandED</tabstop>
303   <tabstop>defaultDecimalPointLE</tabstop>
304   <tabstop>globalCB</tabstop>
305   <tabstop>autoBeginCB</tabstop>
306   <tabstop>autoEndCB</tabstop>
307   <tabstop>markForeignCB</tabstop>
308   <tabstop>logicalCursorRB</tabstop>
309   <tabstop>visualCursorRB</tabstop>
310  </tabstops>
311  <includes>
312   <include location="local">qt_i18n.h</include>
313  </includes>
314  <resources/>
315 </ui>