src/eric7/Preferences/ConfigurationPages/EditorSpellCheckingPage.ui

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8358
144a6b854f70
child 9413
80c06d472826
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
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>663</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>&lt;b&gt;Configure editor spell checking options&lt;/b&gt;</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>&lt;font color=&quot;#FF0000&quot;&gt;Spell checking with PyEnchant is not available.&lt;/font&gt;</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="leftMargin">
51 <number>0</number>
52 </property>
53 <property name="topMargin">
54 <number>0</number>
55 </property>
56 <property name="rightMargin">
57 <number>0</number>
58 </property>
59 <property name="bottomMargin">
60 <number>0</number>
61 </property>
62 <item>
63 <widget class="QCheckBox" name="checkingEnabledCheckBox">
64 <property name="toolTip">
65 <string>Select to enable spell checking</string>
66 </property>
67 <property name="text">
68 <string>Spell checking enabled</string>
69 </property>
70 </widget>
71 </item>
72 <item>
73 <widget class="QGroupBox" name="groupBox_3">
74 <property name="title">
75 <string>Defaults</string>
76 </property>
77 <layout class="QGridLayout" name="gridLayout_3">
78 <item row="0" column="0">
79 <widget class="QLabel" name="label_2">
80 <property name="text">
81 <string>Default language:</string>
82 </property>
83 </widget>
84 </item>
85 <item row="0" column="1">
86 <widget class="QComboBox" name="defaultLanguageCombo">
87 <property name="toolTip">
88 <string>Select the default language</string>
89 </property>
90 </widget>
91 </item>
92 <item row="0" column="2">
93 <spacer name="horizontalSpacer">
94 <property name="orientation">
95 <enum>Qt::Horizontal</enum>
96 </property>
97 <property name="sizeHint" stdset="0">
98 <size>
99 <width>353</width>
100 <height>20</height>
101 </size>
102 </property>
103 </spacer>
104 </item>
105 </layout>
106 </widget>
107 </item>
108 <item>
109 <widget class="QGroupBox" name="groupBox_4">
110 <property name="title">
111 <string>Spell checking options</string>
112 </property>
113 <layout class="QVBoxLayout" name="verticalLayout">
114 <item>
115 <layout class="QHBoxLayout" name="horizontalLayout_4">
116 <item>
117 <widget class="QCheckBox" name="stringsOnlyCheckBox">
118 <property name="toolTip">
119 <string>Select to check strings only</string>
120 </property>
121 <property name="text">
122 <string>Spell check strings only</string>
123 </property>
124 </widget>
125 </item>
126 <item>
127 <widget class="QCheckBox" name="fullCheckUnknownCheckBox">
128 <property name="toolTip">
129 <string>Select to perform a complete check of files without extension</string>
130 </property>
131 <property name="text">
132 <string>Spell check unknown files</string>
133 </property>
134 </widget>
135 </item>
136 </layout>
137 </item>
138 <item>
139 <layout class="QHBoxLayout" name="horizontalLayout">
140 <item>
141 <widget class="QLabel" name="label">
142 <property name="text">
143 <string>Minimum word size:</string>
144 </property>
145 </widget>
146 </item>
147 <item>
148 <widget class="QSlider" name="minimumWordSizeSlider">
149 <property name="toolTip">
150 <string>Move to set the minimum size of words to be checked</string>
151 </property>
152 <property name="minimum">
153 <number>1</number>
154 </property>
155 <property name="maximum">
156 <number>10</number>
157 </property>
158 <property name="orientation">
159 <enum>Qt::Horizontal</enum>
160 </property>
161 <property name="tickPosition">
162 <enum>QSlider::NoTicks</enum>
163 </property>
164 <property name="tickInterval">
165 <number>1</number>
166 </property>
167 </widget>
168 </item>
169 <item>
170 <widget class="QLCDNumber" name="lcdNumber">
171 <property name="toolTip">
172 <string>Displays the minimum size of words to be checked</string>
173 </property>
174 <property name="digitCount">
175 <number>2</number>
176 </property>
177 <property name="segmentStyle">
178 <enum>QLCDNumber::Flat</enum>
179 </property>
180 <property name="intValue" stdset="0">
181 <number>1</number>
182 </property>
183 </widget>
184 </item>
185 </layout>
186 </item>
187 <item>
188 <layout class="QHBoxLayout" name="horizontalLayout_2">
189 <item>
190 <widget class="QLabel" name="label_8">
191 <property name="text">
192 <string>Textfiles:</string>
193 </property>
194 </widget>
195 </item>
196 <item>
197 <widget class="QLineEdit" name="spellCheckTextFilesLineEdit">
198 <property name="toolTip">
199 <string>Enter the file extensions of pure text files (separated by a space)</string>
200 </property>
201 <property name="whatsThis">
202 <string>&lt;b&gt;Textfiles&lt;/b&gt;
203 &lt;p&gt;Enter the file extension of pure text files. The complete contents of files with these extensions will be checked.&lt;/p&gt;</string>
204 </property>
205 <property name="clearButtonEnabled">
206 <bool>true</bool>
207 </property>
208 </widget>
209 </item>
210 </layout>
211 </item>
212 </layout>
213 </widget>
214 </item>
215 <item>
216 <widget class="QGroupBox" name="groupBox_2">
217 <property name="title">
218 <string>Colors</string>
219 </property>
220 <layout class="QGridLayout" name="gridLayout_2">
221 <item row="0" column="0">
222 <widget class="QLabel" name="TextLabel2_2_2_2_2_2">
223 <property name="text">
224 <string>Marker Color:</string>
225 </property>
226 </widget>
227 </item>
228 <item row="0" column="1">
229 <widget class="QPushButton" name="spellingMarkerButton">
230 <property name="minimumSize">
231 <size>
232 <width>100</width>
233 <height>0</height>
234 </size>
235 </property>
236 <property name="toolTip">
237 <string>Select the color for the spelling markers.</string>
238 </property>
239 <property name="text">
240 <string/>
241 </property>
242 </widget>
243 </item>
244 <item row="0" column="2">
245 <spacer>
246 <property name="orientation">
247 <enum>Qt::Horizontal</enum>
248 </property>
249 <property name="sizeHint" stdset="0">
250 <size>
251 <width>348</width>
252 <height>20</height>
253 </size>
254 </property>
255 </spacer>
256 </item>
257 </layout>
258 </widget>
259 </item>
260 <item>
261 <widget class="QGroupBox" name="groupBox">
262 <property name="title">
263 <string>Personal lists</string>
264 </property>
265 <layout class="QGridLayout" name="gridLayout">
266 <item row="0" column="0">
267 <widget class="QLabel" name="label_4">
268 <property name="text">
269 <string>Personal word list file:</string>
270 </property>
271 </widget>
272 </item>
273 <item row="0" column="1">
274 <widget class="EricPathPicker" name="pwlPicker" native="true">
275 <property name="sizePolicy">
276 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
277 <horstretch>0</horstretch>
278 <verstretch>0</verstretch>
279 </sizepolicy>
280 </property>
281 <property name="focusPolicy">
282 <enum>Qt::StrongFocus</enum>
283 </property>
284 </widget>
285 </item>
286 <item row="1" column="0">
287 <widget class="QLabel" name="label_5">
288 <property name="text">
289 <string>Personal exclude list file:</string>
290 </property>
291 </widget>
292 </item>
293 <item row="1" column="1">
294 <widget class="EricPathPicker" name="pelPicker" native="true">
295 <property name="sizePolicy">
296 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
297 <horstretch>0</horstretch>
298 <verstretch>0</verstretch>
299 </sizepolicy>
300 </property>
301 <property name="focusPolicy">
302 <enum>Qt::StrongFocus</enum>
303 </property>
304 </widget>
305 </item>
306 <item row="2" column="0" colspan="2">
307 <widget class="QLabel" name="label_6">
308 <property name="text">
309 <string>&lt;b&gt;Note:&lt;/b&gt; leave these entries empty to use the default</string>
310 </property>
311 </widget>
312 </item>
313 <item row="3" column="0" colspan="2">
314 <widget class="QLabel" name="label_7">
315 <property name="text">
316 <string>&lt;b&gt;Note:&lt;/b&gt; valid for all newly opened editors</string>
317 </property>
318 </widget>
319 </item>
320 </layout>
321 </widget>
322 </item>
323 <item>
324 <widget class="QGroupBox" name="groupBox_5">
325 <property name="title">
326 <string>Automatic spell checking</string>
327 </property>
328 <layout class="QVBoxLayout" name="verticalLayout_2">
329 <item>
330 <widget class="QCheckBox" name="enabledCheckBox">
331 <property name="toolTip">
332 <string>Select to enable spellchecking</string>
333 </property>
334 <property name="text">
335 <string>Automatic spell checking enabled</string>
336 </property>
337 </widget>
338 </item>
339 <item>
340 <layout class="QHBoxLayout" name="horizontalLayout_3">
341 <item>
342 <widget class="QLabel" name="label_3">
343 <property name="text">
344 <string>Amount of lines to autocheck at once:</string>
345 </property>
346 </widget>
347 </item>
348 <item>
349 <widget class="QSpinBox" name="chunkSizeSpinBox">
350 <property name="toolTip">
351 <string>Enter the number of lines to check per go. Higher values increase checking speed but decrease GUI responsivenes</string>
352 </property>
353 <property name="alignment">
354 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
355 </property>
356 <property name="minimum">
357 <number>10</number>
358 </property>
359 <property name="maximum">
360 <number>999</number>
361 </property>
362 </widget>
363 </item>
364 <item>
365 <spacer name="horizontalSpacer_2">
366 <property name="orientation">
367 <enum>Qt::Horizontal</enum>
368 </property>
369 <property name="sizeHint" stdset="0">
370 <size>
371 <width>40</width>
372 <height>20</height>
373 </size>
374 </property>
375 </spacer>
376 </item>
377 </layout>
378 </item>
379 </layout>
380 </widget>
381 </item>
382 </layout>
383 </widget>
384 </item>
385 <item>
386 <spacer>
387 <property name="orientation">
388 <enum>Qt::Vertical</enum>
389 </property>
390 <property name="sizeHint" stdset="0">
391 <size>
392 <width>558</width>
393 <height>231</height>
394 </size>
395 </property>
396 </spacer>
397 </item>
398 </layout>
399 </widget>
400 <customwidgets>
401 <customwidget>
402 <class>EricPathPicker</class>
403 <extends>QWidget</extends>
404 <header>EricWidgets/EricPathPicker.h</header>
405 <container>1</container>
406 </customwidget>
407 </customwidgets>
408 <tabstops>
409 <tabstop>checkingEnabledCheckBox</tabstop>
410 <tabstop>defaultLanguageCombo</tabstop>
411 <tabstop>stringsOnlyCheckBox</tabstop>
412 <tabstop>fullCheckUnknownCheckBox</tabstop>
413 <tabstop>minimumWordSizeSlider</tabstop>
414 <tabstop>spellCheckTextFilesLineEdit</tabstop>
415 <tabstop>spellingMarkerButton</tabstop>
416 <tabstop>pwlPicker</tabstop>
417 <tabstop>pelPicker</tabstop>
418 <tabstop>enabledCheckBox</tabstop>
419 <tabstop>chunkSizeSpinBox</tabstop>
420 </tabstops>
421 <resources/>
422 <connections>
423 <connection>
424 <sender>minimumWordSizeSlider</sender>
425 <signal>valueChanged(int)</signal>
426 <receiver>lcdNumber</receiver>
427 <slot>display(int)</slot>
428 <hints>
429 <hint type="sourcelabel">
430 <x>248</x>
431 <y>131</y>
432 </hint>
433 <hint type="destinationlabel">
434 <x>545</x>
435 <y>131</y>
436 </hint>
437 </hints>
438 </connection>
439 </connections>
440 </ui>

eric ide

mercurial