|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>EditorSpellCheckingPage</class> |
|
4 <widget class="QWidget" name="EditorSpellCheckingPage"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>576</width> |
|
10 <height>666</height> |
|
11 </rect> |
|
12 </property> |
|
13 <layout class="QVBoxLayout" name="verticalLayout_4"> |
|
14 <item> |
|
15 <widget class="QLabel" name="headerLabel"> |
|
16 <property name="text"> |
|
17 <string><b>Configure editor spell checking options</b></string> |
|
18 </property> |
|
19 </widget> |
|
20 </item> |
|
21 <item> |
|
22 <widget class="Line" name="line3"> |
|
23 <property name="frameShape"> |
|
24 <enum>QFrame::HLine</enum> |
|
25 </property> |
|
26 <property name="frameShadow"> |
|
27 <enum>QFrame::Sunken</enum> |
|
28 </property> |
|
29 <property name="orientation"> |
|
30 <enum>Qt::Horizontal</enum> |
|
31 </property> |
|
32 </widget> |
|
33 </item> |
|
34 <item> |
|
35 <widget class="QLabel" name="errorLabel"> |
|
36 <property name="text"> |
|
37 <string><font color="#FF0000">Spell checking with PyEnchant is not available.</font></string> |
|
38 </property> |
|
39 </widget> |
|
40 </item> |
|
41 <item> |
|
42 <widget class="QFrame" name="spellingFrame"> |
|
43 <property name="frameShape"> |
|
44 <enum>QFrame::NoFrame</enum> |
|
45 </property> |
|
46 <property name="frameShadow"> |
|
47 <enum>QFrame::Plain</enum> |
|
48 </property> |
|
49 <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
50 <property name="margin"> |
|
51 <number>0</number> |
|
52 </property> |
|
53 <item> |
|
54 <widget class="QCheckBox" name="checkingEnabledCheckBox"> |
|
55 <property name="toolTip"> |
|
56 <string>Select to enable spell checking</string> |
|
57 </property> |
|
58 <property name="text"> |
|
59 <string>Spell checking enabled</string> |
|
60 </property> |
|
61 </widget> |
|
62 </item> |
|
63 <item> |
|
64 <widget class="QGroupBox" name="groupBox_3"> |
|
65 <property name="title"> |
|
66 <string>Defaults</string> |
|
67 </property> |
|
68 <layout class="QGridLayout" name="gridLayout_3"> |
|
69 <item row="0" column="0"> |
|
70 <widget class="QLabel" name="label_2"> |
|
71 <property name="text"> |
|
72 <string>Default language:</string> |
|
73 </property> |
|
74 </widget> |
|
75 </item> |
|
76 <item row="0" column="1"> |
|
77 <widget class="QComboBox" name="defaultLanguageCombo"> |
|
78 <property name="toolTip"> |
|
79 <string>Select the default language</string> |
|
80 </property> |
|
81 </widget> |
|
82 </item> |
|
83 <item row="0" column="2"> |
|
84 <spacer name="horizontalSpacer"> |
|
85 <property name="orientation"> |
|
86 <enum>Qt::Horizontal</enum> |
|
87 </property> |
|
88 <property name="sizeHint" stdset="0"> |
|
89 <size> |
|
90 <width>353</width> |
|
91 <height>20</height> |
|
92 </size> |
|
93 </property> |
|
94 </spacer> |
|
95 </item> |
|
96 </layout> |
|
97 </widget> |
|
98 </item> |
|
99 <item> |
|
100 <widget class="QGroupBox" name="groupBox_4"> |
|
101 <property name="title"> |
|
102 <string>Spell checking options</string> |
|
103 </property> |
|
104 <layout class="QVBoxLayout" name="verticalLayout"> |
|
105 <item> |
|
106 <widget class="QCheckBox" name="stringsOnlyCheckBox"> |
|
107 <property name="toolTip"> |
|
108 <string>Select to check strings only</string> |
|
109 </property> |
|
110 <property name="text"> |
|
111 <string>Spell check strings only</string> |
|
112 </property> |
|
113 </widget> |
|
114 </item> |
|
115 <item> |
|
116 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
117 <item> |
|
118 <widget class="QLabel" name="label"> |
|
119 <property name="text"> |
|
120 <string>Minimum word size:</string> |
|
121 </property> |
|
122 </widget> |
|
123 </item> |
|
124 <item> |
|
125 <widget class="QSlider" name="minimumWordSizeSlider"> |
|
126 <property name="toolTip"> |
|
127 <string>Move to set the minimum size of words to be checked</string> |
|
128 </property> |
|
129 <property name="minimum"> |
|
130 <number>1</number> |
|
131 </property> |
|
132 <property name="maximum"> |
|
133 <number>10</number> |
|
134 </property> |
|
135 <property name="orientation"> |
|
136 <enum>Qt::Horizontal</enum> |
|
137 </property> |
|
138 <property name="tickPosition"> |
|
139 <enum>QSlider::NoTicks</enum> |
|
140 </property> |
|
141 <property name="tickInterval"> |
|
142 <number>1</number> |
|
143 </property> |
|
144 </widget> |
|
145 </item> |
|
146 <item> |
|
147 <widget class="QLCDNumber" name="lCDNumber"> |
|
148 <property name="toolTip"> |
|
149 <string>Displays the minimum size of words to be checked</string> |
|
150 </property> |
|
151 <property name="numDigits"> |
|
152 <number>2</number> |
|
153 </property> |
|
154 <property name="segmentStyle"> |
|
155 <enum>QLCDNumber::Flat</enum> |
|
156 </property> |
|
157 <property name="intValue" stdset="0"> |
|
158 <number>1</number> |
|
159 </property> |
|
160 </widget> |
|
161 </item> |
|
162 </layout> |
|
163 </item> |
|
164 </layout> |
|
165 </widget> |
|
166 </item> |
|
167 <item> |
|
168 <widget class="QGroupBox" name="groupBox_2"> |
|
169 <property name="title"> |
|
170 <string>Colours</string> |
|
171 </property> |
|
172 <layout class="QGridLayout" name="gridLayout_2"> |
|
173 <item row="0" column="0"> |
|
174 <widget class="QLabel" name="TextLabel2_2_2_2_2_2"> |
|
175 <property name="text"> |
|
176 <string>Marker Colour:</string> |
|
177 </property> |
|
178 </widget> |
|
179 </item> |
|
180 <item row="0" column="1"> |
|
181 <widget class="QPushButton" name="spellingMarkerButton"> |
|
182 <property name="minimumSize"> |
|
183 <size> |
|
184 <width>100</width> |
|
185 <height>0</height> |
|
186 </size> |
|
187 </property> |
|
188 <property name="toolTip"> |
|
189 <string>Select the colour for the spelling markers.</string> |
|
190 </property> |
|
191 <property name="text"> |
|
192 <string/> |
|
193 </property> |
|
194 </widget> |
|
195 </item> |
|
196 <item row="0" column="2"> |
|
197 <spacer> |
|
198 <property name="orientation"> |
|
199 <enum>Qt::Horizontal</enum> |
|
200 </property> |
|
201 <property name="sizeHint" stdset="0"> |
|
202 <size> |
|
203 <width>348</width> |
|
204 <height>20</height> |
|
205 </size> |
|
206 </property> |
|
207 </spacer> |
|
208 </item> |
|
209 </layout> |
|
210 </widget> |
|
211 </item> |
|
212 <item> |
|
213 <widget class="QGroupBox" name="groupBox"> |
|
214 <property name="title"> |
|
215 <string>Personal lists</string> |
|
216 </property> |
|
217 <layout class="QGridLayout" name="gridLayout"> |
|
218 <item row="0" column="0"> |
|
219 <widget class="QLabel" name="label_4"> |
|
220 <property name="text"> |
|
221 <string>Personal word list file:</string> |
|
222 </property> |
|
223 </widget> |
|
224 </item> |
|
225 <item row="0" column="1"> |
|
226 <widget class="QLineEdit" name="pwlEdit"> |
|
227 <property name="toolTip"> |
|
228 <string>Enter the filename of the personal word list</string> |
|
229 </property> |
|
230 </widget> |
|
231 </item> |
|
232 <item row="0" column="2"> |
|
233 <widget class="QPushButton" name="pwlButton"> |
|
234 <property name="toolTip"> |
|
235 <string>Select the personal word list file via a file selection dialog</string> |
|
236 </property> |
|
237 <property name="text"> |
|
238 <string>...</string> |
|
239 </property> |
|
240 </widget> |
|
241 </item> |
|
242 <item row="1" column="0"> |
|
243 <widget class="QLabel" name="label_5"> |
|
244 <property name="text"> |
|
245 <string>Personal exclude list file:</string> |
|
246 </property> |
|
247 </widget> |
|
248 </item> |
|
249 <item row="1" column="1"> |
|
250 <widget class="QLineEdit" name="pelEdit"> |
|
251 <property name="toolTip"> |
|
252 <string>Enter the filename of the personal exclude list</string> |
|
253 </property> |
|
254 </widget> |
|
255 </item> |
|
256 <item row="1" column="2"> |
|
257 <widget class="QPushButton" name="pelButton"> |
|
258 <property name="toolTip"> |
|
259 <string>Select the personal exclude list file via a file selection dialog</string> |
|
260 </property> |
|
261 <property name="text"> |
|
262 <string>...</string> |
|
263 </property> |
|
264 </widget> |
|
265 </item> |
|
266 <item row="2" column="0" colspan="3"> |
|
267 <widget class="QLabel" name="label_6"> |
|
268 <property name="text"> |
|
269 <string><b>Note:</b> leave these entries empty to use the default</string> |
|
270 </property> |
|
271 </widget> |
|
272 </item> |
|
273 <item row="3" column="0" colspan="3"> |
|
274 <widget class="QLabel" name="label_7"> |
|
275 <property name="text"> |
|
276 <string><b>Note:</b> valid for all newly opened editors</string> |
|
277 </property> |
|
278 </widget> |
|
279 </item> |
|
280 </layout> |
|
281 </widget> |
|
282 </item> |
|
283 <item> |
|
284 <widget class="QGroupBox" name="groupBox_5"> |
|
285 <property name="title"> |
|
286 <string>Automatic spell checking</string> |
|
287 </property> |
|
288 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
289 <item> |
|
290 <widget class="QCheckBox" name="enabledCheckBox"> |
|
291 <property name="toolTip"> |
|
292 <string>Select to enable spellchecking</string> |
|
293 </property> |
|
294 <property name="text"> |
|
295 <string>Automatic spell checking enabled</string> |
|
296 </property> |
|
297 </widget> |
|
298 </item> |
|
299 <item> |
|
300 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
301 <item> |
|
302 <widget class="QLabel" name="label_3"> |
|
303 <property name="text"> |
|
304 <string>Amount of lines to autocheck at once:</string> |
|
305 </property> |
|
306 </widget> |
|
307 </item> |
|
308 <item> |
|
309 <widget class="QSpinBox" name="chunkSizeSpinBox"> |
|
310 <property name="toolTip"> |
|
311 <string>Enter the number of lines to check per go. Higher values increase checking speed but decrease GUI responsivenes</string> |
|
312 </property> |
|
313 <property name="alignment"> |
|
314 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
315 </property> |
|
316 <property name="minimum"> |
|
317 <number>10</number> |
|
318 </property> |
|
319 <property name="maximum"> |
|
320 <number>999</number> |
|
321 </property> |
|
322 </widget> |
|
323 </item> |
|
324 <item> |
|
325 <spacer name="horizontalSpacer_2"> |
|
326 <property name="orientation"> |
|
327 <enum>Qt::Horizontal</enum> |
|
328 </property> |
|
329 <property name="sizeHint" stdset="0"> |
|
330 <size> |
|
331 <width>40</width> |
|
332 <height>20</height> |
|
333 </size> |
|
334 </property> |
|
335 </spacer> |
|
336 </item> |
|
337 </layout> |
|
338 </item> |
|
339 </layout> |
|
340 </widget> |
|
341 </item> |
|
342 </layout> |
|
343 </widget> |
|
344 </item> |
|
345 <item> |
|
346 <spacer> |
|
347 <property name="orientation"> |
|
348 <enum>Qt::Vertical</enum> |
|
349 </property> |
|
350 <property name="sizeHint" stdset="0"> |
|
351 <size> |
|
352 <width>558</width> |
|
353 <height>231</height> |
|
354 </size> |
|
355 </property> |
|
356 </spacer> |
|
357 </item> |
|
358 </layout> |
|
359 </widget> |
|
360 <tabstops> |
|
361 <tabstop>checkingEnabledCheckBox</tabstop> |
|
362 <tabstop>defaultLanguageCombo</tabstop> |
|
363 <tabstop>stringsOnlyCheckBox</tabstop> |
|
364 <tabstop>minimumWordSizeSlider</tabstop> |
|
365 <tabstop>spellingMarkerButton</tabstop> |
|
366 <tabstop>pwlEdit</tabstop> |
|
367 <tabstop>pwlButton</tabstop> |
|
368 <tabstop>pelEdit</tabstop> |
|
369 <tabstop>pelButton</tabstop> |
|
370 <tabstop>enabledCheckBox</tabstop> |
|
371 <tabstop>chunkSizeSpinBox</tabstop> |
|
372 </tabstops> |
|
373 <resources/> |
|
374 <connections> |
|
375 <connection> |
|
376 <sender>minimumWordSizeSlider</sender> |
|
377 <signal>valueChanged(int)</signal> |
|
378 <receiver>lCDNumber</receiver> |
|
379 <slot>display(int)</slot> |
|
380 <hints> |
|
381 <hint type="sourcelabel"> |
|
382 <x>248</x> |
|
383 <y>131</y> |
|
384 </hint> |
|
385 <hint type="destinationlabel"> |
|
386 <x>545</x> |
|
387 <y>131</y> |
|
388 </hint> |
|
389 </hints> |
|
390 </connection> |
|
391 </connections> |
|
392 </ui> |