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