eric6/Plugins/DocumentationPlugins/Ericdoc/EricdocConfigDialog.ui

changeset 6942
2602857055c5
parent 5508
30626def80dc
child 7537
4e2d6b12f67c
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>EricdocConfigDialog</class>
4 <widget class="QDialog" name="EricdocConfigDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>554</width>
10 <height>550</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Ericdoc Configuration</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QVBoxLayout">
20 <item>
21 <widget class="QTabWidget" name="tabWidget">
22 <property name="currentIndex">
23 <number>0</number>
24 </property>
25 <widget class="QWidget" name="generalTab">
26 <attribute name="title">
27 <string>General</string>
28 </attribute>
29 <layout class="QVBoxLayout" name="verticalLayout_2">
30 <item>
31 <layout class="QHBoxLayout" name="horizontalLayout_2">
32 <item>
33 <widget class="QLabel" name="TextLabel6">
34 <property name="text">
35 <string>Output Directory:</string>
36 </property>
37 </widget>
38 </item>
39 <item>
40 <widget class="E5PathPicker" name="outputDirPicker" native="true">
41 <property name="sizePolicy">
42 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
43 <horstretch>0</horstretch>
44 <verstretch>0</verstretch>
45 </sizepolicy>
46 </property>
47 <property name="focusPolicy">
48 <enum>Qt::StrongFocus</enum>
49 </property>
50 <property name="toolTip">
51 <string>Enter an output directory</string>
52 </property>
53 </widget>
54 </item>
55 </layout>
56 </item>
57 <item>
58 <layout class="QHBoxLayout">
59 <item>
60 <widget class="QLabel" name="textLabel1_3">
61 <property name="text">
62 <string>Additional source extensions:</string>
63 </property>
64 </widget>
65 </item>
66 <item>
67 <widget class="QLineEdit" name="sourceExtEdit">
68 <property name="toolTip">
69 <string>Enter additional source extensions separated by a comma</string>
70 </property>
71 </widget>
72 </item>
73 </layout>
74 </item>
75 <item>
76 <layout class="QHBoxLayout">
77 <item>
78 <widget class="QCheckBox" name="recursionCheckBox">
79 <property name="toolTip">
80 <string>Select to recurse into subdirectories</string>
81 </property>
82 <property name="text">
83 <string>Recurse into subdirectories</string>
84 </property>
85 </widget>
86 </item>
87 <item>
88 <widget class="QCheckBox" name="noindexCheckBox">
89 <property name="toolTip">
90 <string>Select, if no index files should be generated</string>
91 </property>
92 <property name="text">
93 <string>Don't generate index files</string>
94 </property>
95 </widget>
96 </item>
97 <item>
98 <spacer>
99 <property name="orientation">
100 <enum>Qt::Horizontal</enum>
101 </property>
102 <property name="sizeType">
103 <enum>QSizePolicy::Expanding</enum>
104 </property>
105 <property name="sizeHint" stdset="0">
106 <size>
107 <width>145</width>
108 <height>20</height>
109 </size>
110 </property>
111 </spacer>
112 </item>
113 </layout>
114 </item>
115 <item>
116 <layout class="QHBoxLayout">
117 <item>
118 <widget class="QCheckBox" name="noemptyCheckBox">
119 <property name="toolTip">
120 <string>Select to exclude empty modules</string>
121 </property>
122 <property name="text">
123 <string>Don't include empty modules</string>
124 </property>
125 </widget>
126 </item>
127 <item>
128 <spacer>
129 <property name="orientation">
130 <enum>Qt::Horizontal</enum>
131 </property>
132 <property name="sizeType">
133 <enum>QSizePolicy::Expanding</enum>
134 </property>
135 <property name="sizeHint" stdset="0">
136 <size>
137 <width>40</width>
138 <height>20</height>
139 </size>
140 </property>
141 </spacer>
142 </item>
143 </layout>
144 </item>
145 <item>
146 <layout class="QHBoxLayout">
147 <item>
148 <widget class="QLabel" name="label">
149 <property name="text">
150 <string>Exclude Files:</string>
151 </property>
152 </widget>
153 </item>
154 <item>
155 <widget class="QLineEdit" name="excludeFilesEdit">
156 <property name="toolTip">
157 <string>Enter filename patterns of files to be excluded separated by a comma</string>
158 </property>
159 </widget>
160 </item>
161 </layout>
162 </item>
163 <item>
164 <widget class="QGroupBox" name="groupBox">
165 <property name="sizePolicy">
166 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
167 <horstretch>0</horstretch>
168 <verstretch>2</verstretch>
169 </sizepolicy>
170 </property>
171 <property name="title">
172 <string>Exclude Directories</string>
173 </property>
174 <layout class="QGridLayout" name="gridLayout_2">
175 <item row="1" column="1">
176 <widget class="QPushButton" name="addButton">
177 <property name="toolTip">
178 <string>Press to add the entered directory to the list</string>
179 </property>
180 <property name="text">
181 <string>Add</string>
182 </property>
183 </widget>
184 </item>
185 <item row="1" column="0">
186 <widget class="QPushButton" name="deleteButton">
187 <property name="toolTip">
188 <string>Press to delete the selected directory from the list</string>
189 </property>
190 <property name="text">
191 <string>Delete</string>
192 </property>
193 </widget>
194 </item>
195 <item row="0" column="0" colspan="3">
196 <widget class="QListWidget" name="ignoreDirsList">
197 <property name="sizePolicy">
198 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
199 <horstretch>0</horstretch>
200 <verstretch>3</verstretch>
201 </sizepolicy>
202 </property>
203 <property name="toolTip">
204 <string>List of directory basenames to be ignored</string>
205 </property>
206 </widget>
207 </item>
208 <item row="1" column="2">
209 <widget class="E5PathPicker" name="ignoreDirPicker" native="true">
210 <property name="sizePolicy">
211 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
212 <horstretch>0</horstretch>
213 <verstretch>0</verstretch>
214 </sizepolicy>
215 </property>
216 <property name="focusPolicy">
217 <enum>Qt::StrongFocus</enum>
218 </property>
219 <property name="toolTip">
220 <string>Enter a directory basename to be ignored</string>
221 </property>
222 </widget>
223 </item>
224 </layout>
225 </widget>
226 </item>
227 </layout>
228 </widget>
229 <widget class="QWidget" name="styleTab">
230 <attribute name="title">
231 <string>Style</string>
232 </attribute>
233 <layout class="QVBoxLayout">
234 <item>
235 <widget class="QGroupBox" name="groupBox_3">
236 <property name="title">
237 <string>Style Sheet</string>
238 </property>
239 <layout class="QVBoxLayout" name="verticalLayout_3">
240 <item>
241 <widget class="E5PathPicker" name="cssPicker" native="true">
242 <property name="sizePolicy">
243 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
244 <horstretch>0</horstretch>
245 <verstretch>0</verstretch>
246 </sizepolicy>
247 </property>
248 <property name="focusPolicy">
249 <enum>Qt::StrongFocus</enum>
250 </property>
251 <property name="toolTip">
252 <string>Enter the filename of a CSS style sheet. Leave empty to use the colours defined below.</string>
253 </property>
254 </widget>
255 </item>
256 </layout>
257 </widget>
258 </item>
259 <item>
260 <widget class="QGroupBox" name="groupBox_2">
261 <property name="title">
262 <string>Colours</string>
263 </property>
264 <layout class="QGridLayout">
265 <item row="3" column="1">
266 <widget class="QPushButton" name="cfBgButton">
267 <property name="toolTip">
268 <string>Press to select the class and function header background colour.</string>
269 </property>
270 <property name="text">
271 <string>Class/Function Header Background</string>
272 </property>
273 </widget>
274 </item>
275 <item row="3" column="0">
276 <widget class="QPushButton" name="cfFgButton">
277 <property name="toolTip">
278 <string>Press to select the class and function header foreground colour.</string>
279 </property>
280 <property name="text">
281 <string>Class/Function Header Foreground</string>
282 </property>
283 </widget>
284 </item>
285 <item row="2" column="1">
286 <widget class="QPushButton" name="l2BgButton">
287 <property name="toolTip">
288 <string>Press to select the level 2 header background colour.</string>
289 </property>
290 <property name="text">
291 <string>Level 2 Header Background</string>
292 </property>
293 </widget>
294 </item>
295 <item row="2" column="0">
296 <widget class="QPushButton" name="l2FgButton">
297 <property name="toolTip">
298 <string>Press to select the level 2 header foreground colour.</string>
299 </property>
300 <property name="text">
301 <string>Level 2 Header Foreground</string>
302 </property>
303 </widget>
304 </item>
305 <item row="1" column="1">
306 <widget class="QPushButton" name="l1BgButton">
307 <property name="toolTip">
308 <string>Press to select the level 1 header background colour.</string>
309 </property>
310 <property name="text">
311 <string>Level 1 Header Background</string>
312 </property>
313 </widget>
314 </item>
315 <item row="1" column="0">
316 <widget class="QPushButton" name="l1FgButton">
317 <property name="toolTip">
318 <string>Press to select the level 1 header foreground colour.</string>
319 </property>
320 <property name="text">
321 <string>Level 1 Header Foreground</string>
322 </property>
323 </widget>
324 </item>
325 <item row="0" column="1">
326 <widget class="QPushButton" name="bodyBgButton">
327 <property name="toolTip">
328 <string>Press to select the body background colour.</string>
329 </property>
330 <property name="text">
331 <string>Body Background</string>
332 </property>
333 </widget>
334 </item>
335 <item row="0" column="0">
336 <widget class="QPushButton" name="bodyFgButton">
337 <property name="toolTip">
338 <string>Press to select the body foreground colour.</string>
339 </property>
340 <property name="text">
341 <string>Body Foreground</string>
342 </property>
343 </widget>
344 </item>
345 <item row="4" column="0">
346 <widget class="QPushButton" name="linkFgButton">
347 <property name="toolTip">
348 <string>Press to select the foreground colour of links.</string>
349 </property>
350 <property name="text">
351 <string>Links</string>
352 </property>
353 </widget>
354 </item>
355 <item row="5" column="0" colspan="2">
356 <widget class="QTextEdit" name="sample">
357 <property name="toolTip">
358 <string>This shows an example of the selected colours.</string>
359 </property>
360 <property name="readOnly">
361 <bool>true</bool>
362 </property>
363 </widget>
364 </item>
365 </layout>
366 </widget>
367 </item>
368 </layout>
369 </widget>
370 <widget class="QWidget" name="qtHelpTab">
371 <attribute name="title">
372 <string>QtHelp</string>
373 </attribute>
374 <layout class="QVBoxLayout" name="verticalLayout">
375 <item>
376 <widget class="QGroupBox" name="qtHelpGroup">
377 <property name="title">
378 <string>Generate QtHelp Files</string>
379 </property>
380 <property name="checkable">
381 <bool>true</bool>
382 </property>
383 <property name="checked">
384 <bool>false</bool>
385 </property>
386 <layout class="QGridLayout" name="gridLayout">
387 <item row="0" column="0">
388 <widget class="QLabel" name="TextLabel6_2">
389 <property name="text">
390 <string>Output Directory:</string>
391 </property>
392 </widget>
393 </item>
394 <item row="0" column="1">
395 <widget class="E5PathPicker" name="qtHelpDirPicker" native="true">
396 <property name="sizePolicy">
397 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
398 <horstretch>0</horstretch>
399 <verstretch>0</verstretch>
400 </sizepolicy>
401 </property>
402 <property name="focusPolicy">
403 <enum>Qt::StrongFocus</enum>
404 </property>
405 <property name="toolTip">
406 <string>Enter an output directory</string>
407 </property>
408 </widget>
409 </item>
410 <item row="1" column="0">
411 <widget class="QLabel" name="label_2">
412 <property name="text">
413 <string>Namespace:</string>
414 </property>
415 </widget>
416 </item>
417 <item row="1" column="1">
418 <widget class="QLineEdit" name="qtHelpNamespaceEdit">
419 <property name="toolTip">
420 <string>Enter the namespace</string>
421 </property>
422 </widget>
423 </item>
424 <item row="2" column="0">
425 <widget class="QLabel" name="label_3">
426 <property name="text">
427 <string>Virtual Folder:</string>
428 </property>
429 </widget>
430 </item>
431 <item row="2" column="1">
432 <widget class="QLineEdit" name="qtHelpFolderEdit">
433 <property name="toolTip">
434 <string>Enter the name of the virtual folder (must not contain '/')</string>
435 </property>
436 </widget>
437 </item>
438 <item row="3" column="0">
439 <widget class="QLabel" name="label_4">
440 <property name="text">
441 <string>Filter Name:</string>
442 </property>
443 </widget>
444 </item>
445 <item row="3" column="1">
446 <widget class="QLineEdit" name="qtHelpFilterNameEdit">
447 <property name="toolTip">
448 <string>Enter the name of the custom filter</string>
449 </property>
450 </widget>
451 </item>
452 <item row="4" column="0">
453 <widget class="QLabel" name="label_5">
454 <property name="text">
455 <string>Filter Attributes:</string>
456 </property>
457 </widget>
458 </item>
459 <item row="4" column="1">
460 <widget class="QLineEdit" name="qtHelpFilterAttributesEdit">
461 <property name="toolTip">
462 <string>Enter the filter attributes separated by ':'</string>
463 </property>
464 </widget>
465 </item>
466 <item row="5" column="0">
467 <widget class="QLabel" name="label_6">
468 <property name="text">
469 <string>Title:</string>
470 </property>
471 </widget>
472 </item>
473 <item row="5" column="1">
474 <widget class="QLineEdit" name="qtHelpTitleEdit">
475 <property name="toolTip">
476 <string>Enter a short title for the top entry</string>
477 </property>
478 </widget>
479 </item>
480 <item row="6" column="0" colspan="2">
481 <widget class="QCheckBox" name="qtHelpGenerateCollectionCheckBox">
482 <property name="toolTip">
483 <string>Select to generate the QtHelp collection files</string>
484 </property>
485 <property name="text">
486 <string>Generate QtHelp collection files</string>
487 </property>
488 </widget>
489 </item>
490 <item row="7" column="0" colspan="2">
491 <spacer name="verticalSpacer">
492 <property name="orientation">
493 <enum>Qt::Vertical</enum>
494 </property>
495 <property name="sizeHint" stdset="0">
496 <size>
497 <width>20</width>
498 <height>271</height>
499 </size>
500 </property>
501 </spacer>
502 </item>
503 </layout>
504 </widget>
505 </item>
506 </layout>
507 </widget>
508 </widget>
509 </item>
510 <item>
511 <widget class="QDialogButtonBox" name="buttonBox">
512 <property name="orientation">
513 <enum>Qt::Horizontal</enum>
514 </property>
515 <property name="standardButtons">
516 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
517 </property>
518 </widget>
519 </item>
520 </layout>
521 </widget>
522 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
523 <customwidgets>
524 <customwidget>
525 <class>E5PathPicker</class>
526 <extends>QWidget</extends>
527 <header>E5Gui/E5PathPicker.h</header>
528 <container>1</container>
529 </customwidget>
530 </customwidgets>
531 <tabstops>
532 <tabstop>tabWidget</tabstop>
533 <tabstop>outputDirPicker</tabstop>
534 <tabstop>sourceExtEdit</tabstop>
535 <tabstop>recursionCheckBox</tabstop>
536 <tabstop>noindexCheckBox</tabstop>
537 <tabstop>noemptyCheckBox</tabstop>
538 <tabstop>excludeFilesEdit</tabstop>
539 <tabstop>ignoreDirsList</tabstop>
540 <tabstop>ignoreDirPicker</tabstop>
541 <tabstop>addButton</tabstop>
542 <tabstop>deleteButton</tabstop>
543 <tabstop>cssPicker</tabstop>
544 <tabstop>bodyFgButton</tabstop>
545 <tabstop>bodyBgButton</tabstop>
546 <tabstop>l1FgButton</tabstop>
547 <tabstop>l1BgButton</tabstop>
548 <tabstop>l2FgButton</tabstop>
549 <tabstop>l2BgButton</tabstop>
550 <tabstop>cfFgButton</tabstop>
551 <tabstop>cfBgButton</tabstop>
552 <tabstop>linkFgButton</tabstop>
553 <tabstop>sample</tabstop>
554 <tabstop>qtHelpGroup</tabstop>
555 <tabstop>qtHelpDirPicker</tabstop>
556 <tabstop>qtHelpNamespaceEdit</tabstop>
557 <tabstop>qtHelpFolderEdit</tabstop>
558 <tabstop>qtHelpFilterNameEdit</tabstop>
559 <tabstop>qtHelpFilterAttributesEdit</tabstop>
560 <tabstop>qtHelpTitleEdit</tabstop>
561 <tabstop>qtHelpGenerateCollectionCheckBox</tabstop>
562 </tabstops>
563 <resources/>
564 <connections>
565 <connection>
566 <sender>buttonBox</sender>
567 <signal>accepted()</signal>
568 <receiver>EricdocConfigDialog</receiver>
569 <slot>accept()</slot>
570 <hints>
571 <hint type="sourcelabel">
572 <x>31</x>
573 <y>480</y>
574 </hint>
575 <hint type="destinationlabel">
576 <x>31</x>
577 <y>498</y>
578 </hint>
579 </hints>
580 </connection>
581 <connection>
582 <sender>buttonBox</sender>
583 <signal>rejected()</signal>
584 <receiver>EricdocConfigDialog</receiver>
585 <slot>reject()</slot>
586 <hints>
587 <hint type="sourcelabel">
588 <x>125</x>
589 <y>482</y>
590 </hint>
591 <hint type="destinationlabel">
592 <x>125</x>
593 <y>499</y>
594 </hint>
595 </hints>
596 </connection>
597 </connections>
598 </ui>

eric ide

mercurial