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