src/eric7/Preferences/ConfigurationPages/EditorGeneralPage.ui

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8849
cb2dfb596bd6
child 9567
0c491346bb8e
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>EditorGeneralPage</class>
4 <widget class="QWidget" name="EditorGeneralPage">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>550</width>
10 <height>1000</height>
11 </rect>
12 </property>
13 <layout class="QVBoxLayout" name="verticalLayout_3">
14 <item>
15 <widget class="QLabel" name="headerLabel">
16 <property name="text">
17 <string>&lt;b&gt;Configure general editor settings&lt;/b&gt;</string>
18 </property>
19 </widget>
20 </item>
21 <item>
22 <widget class="Line" name="line2">
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="QGroupBox" name="groupBox_5">
36 <property name="title">
37 <string>Tabs &amp;&amp; Indentation</string>
38 </property>
39 <layout class="QVBoxLayout" name="verticalLayout_4">
40 <item>
41 <layout class="QGridLayout" name="gridLayout_2">
42 <item row="0" column="0">
43 <widget class="QCheckBox" name="autoindentCheckBox">
44 <property name="toolTip">
45 <string>Select whether autoindentation shall be enabled</string>
46 </property>
47 <property name="text">
48 <string>Auto indentation</string>
49 </property>
50 </widget>
51 </item>
52 <item row="0" column="1">
53 <widget class="QCheckBox" name="tabforindentationCheckBox">
54 <property name="toolTip">
55 <string>Select whether tab characters are used for indentations.</string>
56 </property>
57 <property name="text">
58 <string>Use tabs for indentations</string>
59 </property>
60 </widget>
61 </item>
62 <item row="1" column="0">
63 <widget class="QCheckBox" name="tabindentsCheckBox">
64 <property name="toolTip">
65 <string>Select whether pressing the tab key indents.</string>
66 </property>
67 <property name="text">
68 <string>Tab key indents</string>
69 </property>
70 </widget>
71 </item>
72 <item row="1" column="1">
73 <widget class="QCheckBox" name="converttabsCheckBox">
74 <property name="toolTip">
75 <string>Select whether tabs shall be converted upon opening the file</string>
76 </property>
77 <property name="text">
78 <string>Convert tabs upon open</string>
79 </property>
80 </widget>
81 </item>
82 </layout>
83 </item>
84 <item>
85 <layout class="QGridLayout" name="gridLayout_4">
86 <item row="0" column="0">
87 <widget class="QLabel" name="TextLabel13_3">
88 <property name="text">
89 <string>Tab width:</string>
90 </property>
91 <property name="buddy">
92 <cstring>tabwidthSlider</cstring>
93 </property>
94 </widget>
95 </item>
96 <item row="0" column="1">
97 <widget class="QSlider" name="tabwidthSlider">
98 <property name="toolTip">
99 <string>Move to set the tab width.</string>
100 </property>
101 <property name="minimum">
102 <number>1</number>
103 </property>
104 <property name="maximum">
105 <number>20</number>
106 </property>
107 <property name="value">
108 <number>4</number>
109 </property>
110 <property name="orientation">
111 <enum>Qt::Horizontal</enum>
112 </property>
113 <property name="tickInterval">
114 <number>1</number>
115 </property>
116 </widget>
117 </item>
118 <item row="0" column="2">
119 <widget class="QLCDNumber" name="tabwidthLCD">
120 <property name="toolTip">
121 <string>Displays the selected tab width.</string>
122 </property>
123 <property name="digitCount">
124 <number>2</number>
125 </property>
126 <property name="segmentStyle">
127 <enum>QLCDNumber::Flat</enum>
128 </property>
129 <property name="value" stdset="0">
130 <double>4.000000000000000</double>
131 </property>
132 </widget>
133 </item>
134 <item row="1" column="0">
135 <widget class="QLabel" name="TextLabel13_2_3">
136 <property name="text">
137 <string>Indentation width:</string>
138 </property>
139 <property name="buddy">
140 <cstring>indentwidthSlider</cstring>
141 </property>
142 </widget>
143 </item>
144 <item row="1" column="1">
145 <widget class="QSlider" name="indentwidthSlider">
146 <property name="toolTip">
147 <string>Move to set the indentation width.</string>
148 </property>
149 <property name="minimum">
150 <number>1</number>
151 </property>
152 <property name="maximum">
153 <number>20</number>
154 </property>
155 <property name="value">
156 <number>4</number>
157 </property>
158 <property name="orientation">
159 <enum>Qt::Horizontal</enum>
160 </property>
161 <property name="tickInterval">
162 <number>1</number>
163 </property>
164 </widget>
165 </item>
166 <item row="1" column="2">
167 <widget class="QLCDNumber" name="indentwidthLCD">
168 <property name="toolTip">
169 <string>Displays the selected indentation width.</string>
170 </property>
171 <property name="digitCount">
172 <number>2</number>
173 </property>
174 <property name="segmentStyle">
175 <enum>QLCDNumber::Flat</enum>
176 </property>
177 <property name="value" stdset="0">
178 <double>4.000000000000000</double>
179 </property>
180 </widget>
181 </item>
182 </layout>
183 </item>
184 <item>
185 <layout class="QHBoxLayout" name="horizontalLayout_2">
186 <item>
187 <widget class="QTreeWidget" name="languageOverrideWidget">
188 <property name="alternatingRowColors">
189 <bool>true</bool>
190 </property>
191 <property name="selectionMode">
192 <enum>QAbstractItemView::ExtendedSelection</enum>
193 </property>
194 <property name="rootIsDecorated">
195 <bool>false</bool>
196 </property>
197 <property name="itemsExpandable">
198 <bool>false</bool>
199 </property>
200 <column>
201 <property name="text">
202 <string>Language</string>
203 </property>
204 </column>
205 <column>
206 <property name="text">
207 <string>Tab Width</string>
208 </property>
209 </column>
210 <column>
211 <property name="text">
212 <string>Indent Width</string>
213 </property>
214 </column>
215 <column>
216 <property name="text">
217 <string notr="true"> </string>
218 </property>
219 </column>
220 </widget>
221 </item>
222 <item>
223 <layout class="QVBoxLayout" name="verticalLayout_2">
224 <item>
225 <spacer name="verticalSpacer">
226 <property name="orientation">
227 <enum>Qt::Vertical</enum>
228 </property>
229 <property name="sizeHint" stdset="0">
230 <size>
231 <width>20</width>
232 <height>40</height>
233 </size>
234 </property>
235 </spacer>
236 </item>
237 <item>
238 <widget class="QToolButton" name="addButton">
239 <property name="toolTip">
240 <string>Press to add a language specific override</string>
241 </property>
242 </widget>
243 </item>
244 <item>
245 <widget class="QToolButton" name="deleteButton">
246 <property name="toolTip">
247 <string>Press to delete the selected language specific override</string>
248 </property>
249 </widget>
250 </item>
251 <item>
252 <widget class="QToolButton" name="editButton">
253 <property name="toolTip">
254 <string>Press to edit the selected language specific override</string>
255 </property>
256 </widget>
257 </item>
258 <item>
259 <spacer name="verticalSpacer_2">
260 <property name="orientation">
261 <enum>Qt::Vertical</enum>
262 </property>
263 <property name="sizeHint" stdset="0">
264 <size>
265 <width>20</width>
266 <height>40</height>
267 </size>
268 </property>
269 </spacer>
270 </item>
271 </layout>
272 </item>
273 </layout>
274 </item>
275 </layout>
276 </widget>
277 </item>
278 <item>
279 <widget class="QGroupBox" name="sourceOutlineGroupBox">
280 <property name="toolTip">
281 <string>Select to enable the source code outline view</string>
282 </property>
283 <property name="title">
284 <string>Source Code Outline</string>
285 </property>
286 <property name="checkable">
287 <bool>true</bool>
288 </property>
289 <layout class="QGridLayout" name="gridLayout_3">
290 <item row="0" column="0">
291 <widget class="QLabel" name="label_2">
292 <property name="text">
293 <string>Default Width:</string>
294 </property>
295 </widget>
296 </item>
297 <item row="0" column="1">
298 <widget class="QSpinBox" name="sourceOutlineWidthSpinBox">
299 <property name="toolTip">
300 <string>Enter the default width of the source code outline view</string>
301 </property>
302 <property name="alignment">
303 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
304 </property>
305 <property name="minimum">
306 <number>50</number>
307 </property>
308 <property name="maximum">
309 <number>498</number>
310 </property>
311 <property name="singleStep">
312 <number>50</number>
313 </property>
314 </widget>
315 </item>
316 <item row="0" column="2">
317 <widget class="QLabel" name="label_3">
318 <property name="text">
319 <string>Width Step Size:</string>
320 </property>
321 </widget>
322 </item>
323 <item row="0" column="3">
324 <widget class="QSpinBox" name="sourceOutlineWidthStepSpinBox">
325 <property name="toolTip">
326 <string>Enter the amount of pixels the width of the outline should be increased or decreased</string>
327 </property>
328 <property name="alignment">
329 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
330 </property>
331 <property name="minimum">
332 <number>10</number>
333 </property>
334 <property name="maximum">
335 <number>100</number>
336 </property>
337 <property name="singleStep">
338 <number>10</number>
339 </property>
340 </widget>
341 </item>
342 <item row="0" column="4">
343 <spacer name="horizontalSpacer">
344 <property name="orientation">
345 <enum>Qt::Horizontal</enum>
346 </property>
347 <property name="sizeHint" stdset="0">
348 <size>
349 <width>345</width>
350 <height>17</height>
351 </size>
352 </property>
353 </spacer>
354 </item>
355 <item row="1" column="0" colspan="5">
356 <widget class="QCheckBox" name="sourceOutlineShowCodingCheckBox">
357 <property name="toolTip">
358 <string>Select to show the source code encoding</string>
359 </property>
360 <property name="text">
361 <string>Show source file encoding</string>
362 </property>
363 </widget>
364 </item>
365 </layout>
366 </widget>
367 </item>
368 <item>
369 <widget class="QGroupBox" name="groupBox">
370 <property name="title">
371 <string>Comments</string>
372 </property>
373 <layout class="QGridLayout" name="gridLayout">
374 <item row="0" column="0">
375 <widget class="QCheckBox" name="comment0CheckBox">
376 <property name="toolTip">
377 <string>Select to insert the comment sign at column 0</string>
378 </property>
379 <property name="whatsThis">
380 <string>&lt;b&gt;Insert comment at column 0&lt;/b&gt;&lt;p&gt;Select to insert the comment sign at column 0. Otherwise, the comment sign is inserted at the first non-whitespace position.&lt;/p&gt;</string>
381 </property>
382 <property name="text">
383 <string>Insert comment at column 0</string>
384 </property>
385 </widget>
386 </item>
387 </layout>
388 </widget>
389 </item>
390 <item>
391 <widget class="QGroupBox" name="groupBox_3">
392 <property name="title">
393 <string>Docstring</string>
394 </property>
395 <layout class="QGridLayout" name="gridLayout_6">
396 <item row="0" column="0">
397 <widget class="QLabel" name="label_4">
398 <property name="text">
399 <string>Docstring Style:</string>
400 </property>
401 </widget>
402 </item>
403 <item row="0" column="1">
404 <widget class="QComboBox" name="docstringStyleComboBox">
405 <property name="sizePolicy">
406 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
407 <horstretch>0</horstretch>
408 <verstretch>0</verstretch>
409 </sizepolicy>
410 </property>
411 <property name="toolTip">
412 <string>Select the docstring style to be used</string>
413 </property>
414 </widget>
415 </item>
416 <item row="1" column="0" colspan="2">
417 <widget class="QCheckBox" name="docstringCompletionCheckBox">
418 <property name="toolTip">
419 <string>Select this to generate a docstring when the docstring start sequence was entered (e.g. &quot;&quot;&quot; for Python).</string>
420 </property>
421 <property name="text">
422 <string>Generate Docstring when Docstring start is entered</string>
423 </property>
424 </widget>
425 </item>
426 </layout>
427 </widget>
428 </item>
429 <item>
430 <widget class="QGroupBox" name="mouseHoverHelpGroupBox">
431 <property name="toolTip">
432 <string>Select to enable the support for mouse hover help text</string>
433 </property>
434 <property name="whatsThis">
435 <string>&lt;b&gt;Mouse Hover Help&lt;/b&gt;&lt;p&gt;Enable this option to show some information about the symbol the mouse is hovering over. An information provider plug-in (e.g. Jedi) must be installed for this to work.&lt;/p&gt;</string>
436 </property>
437 <property name="title">
438 <string>Mouse Hover Help</string>
439 </property>
440 <property name="checkable">
441 <bool>true</bool>
442 </property>
443 <layout class="QHBoxLayout" name="horizontalLayout">
444 <item>
445 <widget class="QLabel" name="label_5">
446 <property name="text">
447 <string>Wait time:</string>
448 </property>
449 </widget>
450 </item>
451 <item>
452 <widget class="QSpinBox" name="mouseDwellTimeSpinBox">
453 <property name="toolTip">
454 <string>Enter the time to wait before help information is shown</string>
455 </property>
456 <property name="alignment">
457 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
458 </property>
459 <property name="suffix">
460 <string> ms</string>
461 </property>
462 <property name="minimum">
463 <number>100</number>
464 </property>
465 <property name="maximum">
466 <number>1000</number>
467 </property>
468 <property name="singleStep">
469 <number>50</number>
470 </property>
471 <property name="value">
472 <number>500</number>
473 </property>
474 </widget>
475 </item>
476 <item>
477 <spacer name="horizontalSpacer_2">
478 <property name="orientation">
479 <enum>Qt::Horizontal</enum>
480 </property>
481 <property name="sizeHint" stdset="0">
482 <size>
483 <width>347</width>
484 <height>20</height>
485 </size>
486 </property>
487 </spacer>
488 </item>
489 </layout>
490 </widget>
491 </item>
492 <item>
493 <widget class="QGroupBox" name="groupBox_2">
494 <property name="title">
495 <string>Virtual Space</string>
496 </property>
497 <layout class="QVBoxLayout" name="verticalLayout">
498 <item>
499 <widget class="QLabel" name="label">
500 <property name="text">
501 <string>Virtual space is the space after the last character of a line. It is not allocated unless some text is entered or copied into it. Usage of virtual space can be configured with these selections.</string>
502 </property>
503 <property name="wordWrap">
504 <bool>true</bool>
505 </property>
506 </widget>
507 </item>
508 <item>
509 <widget class="QCheckBox" name="vsSelectionCheckBox">
510 <property name="toolTip">
511 <string>Select to enable a rectangular selection to extend into virtual space</string>
512 </property>
513 <property name="text">
514 <string>Selection may access virtual space</string>
515 </property>
516 </widget>
517 </item>
518 <item>
519 <widget class="QCheckBox" name="vsUserCheckBox">
520 <property name="toolTip">
521 <string>Select to allow the cursor to be moved into virtual space</string>
522 </property>
523 <property name="text">
524 <string>Cursor can move into virtual space</string>
525 </property>
526 </widget>
527 </item>
528 </layout>
529 </widget>
530 </item>
531 <item>
532 <spacer name="verticalSpacer_3">
533 <property name="orientation">
534 <enum>Qt::Vertical</enum>
535 </property>
536 <property name="sizeHint" stdset="0">
537 <size>
538 <width>20</width>
539 <height>13</height>
540 </size>
541 </property>
542 </spacer>
543 </item>
544 </layout>
545 </widget>
546 <tabstops>
547 <tabstop>autoindentCheckBox</tabstop>
548 <tabstop>tabforindentationCheckBox</tabstop>
549 <tabstop>tabindentsCheckBox</tabstop>
550 <tabstop>converttabsCheckBox</tabstop>
551 <tabstop>tabwidthSlider</tabstop>
552 <tabstop>indentwidthSlider</tabstop>
553 <tabstop>languageOverrideWidget</tabstop>
554 <tabstop>addButton</tabstop>
555 <tabstop>deleteButton</tabstop>
556 <tabstop>editButton</tabstop>
557 <tabstop>sourceOutlineGroupBox</tabstop>
558 <tabstop>sourceOutlineWidthSpinBox</tabstop>
559 <tabstop>sourceOutlineWidthStepSpinBox</tabstop>
560 <tabstop>sourceOutlineShowCodingCheckBox</tabstop>
561 <tabstop>comment0CheckBox</tabstop>
562 <tabstop>docstringStyleComboBox</tabstop>
563 <tabstop>docstringCompletionCheckBox</tabstop>
564 <tabstop>mouseHoverHelpGroupBox</tabstop>
565 <tabstop>mouseDwellTimeSpinBox</tabstop>
566 <tabstop>vsSelectionCheckBox</tabstop>
567 <tabstop>vsUserCheckBox</tabstop>
568 </tabstops>
569 <resources/>
570 <connections>
571 <connection>
572 <sender>tabwidthSlider</sender>
573 <signal>valueChanged(int)</signal>
574 <receiver>tabwidthLCD</receiver>
575 <slot>display(int)</slot>
576 <hints>
577 <hint type="sourcelabel">
578 <x>384</x>
579 <y>81</y>
580 </hint>
581 <hint type="destinationlabel">
582 <x>415</x>
583 <y>82</y>
584 </hint>
585 </hints>
586 </connection>
587 <connection>
588 <sender>indentwidthSlider</sender>
589 <signal>valueChanged(int)</signal>
590 <receiver>indentwidthLCD</receiver>
591 <slot>display(int)</slot>
592 <hints>
593 <hint type="sourcelabel">
594 <x>384</x>
595 <y>110</y>
596 </hint>
597 <hint type="destinationlabel">
598 <x>410</x>
599 <y>110</y>
600 </hint>
601 </hints>
602 </connection>
603 </connections>
604 </ui>

eric ide

mercurial