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