|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>CodeStyleCheckerDialog</class> |
|
4 <widget class="QDialog" name="CodeStyleCheckerDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>800</width> |
|
10 <height>700</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Code Style Check Result</string> |
|
15 </property> |
|
16 <property name="whatsThis"> |
|
17 <string><b>Code Style Check Results</b> |
|
18 <p>This dialog shows the results of the code style check. Double clicking an |
|
19 entry will open an editor window and position the cursor at the respective line and position.</p></string> |
|
20 </property> |
|
21 <property name="sizeGripEnabled"> |
|
22 <bool>true</bool> |
|
23 </property> |
|
24 <layout class="QVBoxLayout" name="verticalLayout_13"> |
|
25 <item> |
|
26 <widget class="QTabWidget" name="mainWidget"> |
|
27 <property name="currentIndex"> |
|
28 <number>0</number> |
|
29 </property> |
|
30 <widget class="QWidget" name="configureTab"> |
|
31 <attribute name="title"> |
|
32 <string>Configure</string> |
|
33 </attribute> |
|
34 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
35 <item> |
|
36 <widget class="QTabWidget" name="optionsTabWidget"> |
|
37 <property name="currentIndex"> |
|
38 <number>0</number> |
|
39 </property> |
|
40 <widget class="QWidget" name="globalOptionsTab"> |
|
41 <attribute name="title"> |
|
42 <string>Globals</string> |
|
43 </attribute> |
|
44 <layout class="QGridLayout" name="gridLayout_2"> |
|
45 <item row="0" column="0"> |
|
46 <widget class="QLabel" name="label_20"> |
|
47 <property name="text"> |
|
48 <string>Categories:</string> |
|
49 </property> |
|
50 <property name="alignment"> |
|
51 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
|
52 </property> |
|
53 </widget> |
|
54 </item> |
|
55 <item row="0" column="1"> |
|
56 <widget class="QListWidget" name="categoriesList"> |
|
57 <property name="toolTip"> |
|
58 <string>Select the categories of checks to be performed.</string> |
|
59 </property> |
|
60 <property name="sortingEnabled"> |
|
61 <bool>true</bool> |
|
62 </property> |
|
63 </widget> |
|
64 </item> |
|
65 <item row="1" column="0"> |
|
66 <widget class="QLabel" name="label_2"> |
|
67 <property name="text"> |
|
68 <string>Exclude Files:</string> |
|
69 </property> |
|
70 </widget> |
|
71 </item> |
|
72 <item row="1" column="1"> |
|
73 <widget class="QLineEdit" name="excludeFilesEdit"> |
|
74 <property name="toolTip"> |
|
75 <string>Enter filename patterns of files to be excluded separated by a comma</string> |
|
76 </property> |
|
77 <property name="clearButtonEnabled"> |
|
78 <bool>true</bool> |
|
79 </property> |
|
80 </widget> |
|
81 </item> |
|
82 <item row="2" column="0"> |
|
83 <widget class="QLabel" name="label"> |
|
84 <property name="text"> |
|
85 <string>Exclude Messages:</string> |
|
86 </property> |
|
87 </widget> |
|
88 </item> |
|
89 <item row="2" column="1"> |
|
90 <widget class="QLineEdit" name="excludeMessagesEdit"> |
|
91 <property name="toolTip"> |
|
92 <string>Enter message codes to be excluded separated by a comma</string> |
|
93 </property> |
|
94 <property name="clearButtonEnabled"> |
|
95 <bool>true</bool> |
|
96 </property> |
|
97 </widget> |
|
98 </item> |
|
99 <item row="2" column="2"> |
|
100 <widget class="QToolButton" name="excludeMessagesSelectButton"> |
|
101 <property name="toolTip"> |
|
102 <string>Press to select the message codes from a list</string> |
|
103 </property> |
|
104 </widget> |
|
105 </item> |
|
106 <item row="3" column="0"> |
|
107 <widget class="QLabel" name="label_3"> |
|
108 <property name="text"> |
|
109 <string>Included Messages:</string> |
|
110 </property> |
|
111 </widget> |
|
112 </item> |
|
113 <item row="3" column="1"> |
|
114 <widget class="QLineEdit" name="includeMessagesEdit"> |
|
115 <property name="toolTip"> |
|
116 <string>Enter message codes to be included separated by a comma</string> |
|
117 </property> |
|
118 <property name="clearButtonEnabled"> |
|
119 <bool>true</bool> |
|
120 </property> |
|
121 </widget> |
|
122 </item> |
|
123 <item row="3" column="2"> |
|
124 <widget class="QToolButton" name="includeMessagesSelectButton"> |
|
125 <property name="toolTip"> |
|
126 <string>Press to select the message codes from a list</string> |
|
127 </property> |
|
128 </widget> |
|
129 </item> |
|
130 <item row="4" column="0"> |
|
131 <widget class="QLabel" name="label_4"> |
|
132 <property name="text"> |
|
133 <string>Fix Issues:</string> |
|
134 </property> |
|
135 </widget> |
|
136 </item> |
|
137 <item row="4" column="1"> |
|
138 <widget class="QLineEdit" name="fixIssuesEdit"> |
|
139 <property name="toolTip"> |
|
140 <string>Enter message codes of issues to be fixed automatically (leave empty to fix all)</string> |
|
141 </property> |
|
142 <property name="clearButtonEnabled"> |
|
143 <bool>true</bool> |
|
144 </property> |
|
145 </widget> |
|
146 </item> |
|
147 <item row="4" column="2"> |
|
148 <widget class="QToolButton" name="fixIssuesSelectButton"> |
|
149 <property name="toolTip"> |
|
150 <string>Press to select the message codes from a list</string> |
|
151 </property> |
|
152 </widget> |
|
153 </item> |
|
154 <item row="5" column="0"> |
|
155 <widget class="QLabel" name="label_6"> |
|
156 <property name="text"> |
|
157 <string>Don't Fix Issues:</string> |
|
158 </property> |
|
159 </widget> |
|
160 </item> |
|
161 <item row="5" column="1"> |
|
162 <widget class="QLineEdit" name="noFixIssuesEdit"> |
|
163 <property name="toolTip"> |
|
164 <string>Enter message codes of issues not to be fixed automatically</string> |
|
165 </property> |
|
166 <property name="clearButtonEnabled"> |
|
167 <bool>true</bool> |
|
168 </property> |
|
169 </widget> |
|
170 </item> |
|
171 <item row="5" column="2"> |
|
172 <widget class="QToolButton" name="noFixIssuesSelectButton"> |
|
173 <property name="toolTip"> |
|
174 <string>Press to select the message codes from a list</string> |
|
175 </property> |
|
176 </widget> |
|
177 </item> |
|
178 <item row="6" column="0" colspan="3"> |
|
179 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
180 <item> |
|
181 <widget class="QCheckBox" name="repeatCheckBox"> |
|
182 <property name="toolTip"> |
|
183 <string>Select to repeat each message type</string> |
|
184 </property> |
|
185 <property name="text"> |
|
186 <string>Repeat messages</string> |
|
187 </property> |
|
188 </widget> |
|
189 </item> |
|
190 <item> |
|
191 <widget class="QCheckBox" name="fixIssuesCheckBox"> |
|
192 <property name="enabled"> |
|
193 <bool>false</bool> |
|
194 </property> |
|
195 <property name="toolTip"> |
|
196 <string>Select to fix some issues</string> |
|
197 </property> |
|
198 <property name="text"> |
|
199 <string>Fix issues automatically</string> |
|
200 </property> |
|
201 </widget> |
|
202 </item> |
|
203 <item> |
|
204 <widget class="QCheckBox" name="ignoredCheckBox"> |
|
205 <property name="enabled"> |
|
206 <bool>false</bool> |
|
207 </property> |
|
208 <property name="toolTip"> |
|
209 <string>Select to show ignored issues</string> |
|
210 </property> |
|
211 <property name="text"> |
|
212 <string>Show ignored</string> |
|
213 </property> |
|
214 </widget> |
|
215 </item> |
|
216 <item> |
|
217 <spacer name="horizontalSpacer"> |
|
218 <property name="orientation"> |
|
219 <enum>Qt::Horizontal</enum> |
|
220 </property> |
|
221 <property name="sizeHint" stdset="0"> |
|
222 <size> |
|
223 <width>40</width> |
|
224 <height>20</height> |
|
225 </size> |
|
226 </property> |
|
227 </spacer> |
|
228 </item> |
|
229 </layout> |
|
230 </item> |
|
231 <item row="7" column="0"> |
|
232 <spacer name="verticalSpacer_2"> |
|
233 <property name="orientation"> |
|
234 <enum>Qt::Vertical</enum> |
|
235 </property> |
|
236 <property name="sizeHint" stdset="0"> |
|
237 <size> |
|
238 <width>20</width> |
|
239 <height>68</height> |
|
240 </size> |
|
241 </property> |
|
242 </spacer> |
|
243 </item> |
|
244 </layout> |
|
245 </widget> |
|
246 <widget class="QWidget" name="specificOptionsTab"> |
|
247 <attribute name="title"> |
|
248 <string>Specifics</string> |
|
249 </attribute> |
|
250 <layout class="QVBoxLayout" name="verticalLayout_9"> |
|
251 <item> |
|
252 <widget class="QScrollArea" name="scrollArea"> |
|
253 <property name="frameShape"> |
|
254 <enum>QFrame::NoFrame</enum> |
|
255 </property> |
|
256 <property name="frameShadow"> |
|
257 <enum>QFrame::Plain</enum> |
|
258 </property> |
|
259 <property name="verticalScrollBarPolicy"> |
|
260 <enum>Qt::ScrollBarAlwaysOn</enum> |
|
261 </property> |
|
262 <property name="widgetResizable"> |
|
263 <bool>true</bool> |
|
264 </property> |
|
265 <widget class="QWidget" name="scrollAreaWidgetContents"> |
|
266 <property name="geometry"> |
|
267 <rect> |
|
268 <x>0</x> |
|
269 <y>0</y> |
|
270 <width>611</width> |
|
271 <height>923</height> |
|
272 </rect> |
|
273 </property> |
|
274 <layout class="QVBoxLayout" name="verticalLayout_4"> |
|
275 <item> |
|
276 <widget class="QGroupBox" name="groupBox"> |
|
277 <property name="title"> |
|
278 <string>Source Style</string> |
|
279 </property> |
|
280 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
281 <item> |
|
282 <layout class="QGridLayout" name="gridLayout_5"> |
|
283 <item row="0" column="0"> |
|
284 <widget class="QLabel" name="label_5"> |
|
285 <property name="text"> |
|
286 <string>Max. Line Length:</string> |
|
287 </property> |
|
288 </widget> |
|
289 </item> |
|
290 <item row="0" column="1"> |
|
291 <widget class="QSpinBox" name="lineLengthSpinBox"> |
|
292 <property name="toolTip"> |
|
293 <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string> |
|
294 </property> |
|
295 <property name="alignment"> |
|
296 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
297 </property> |
|
298 <property name="minimum"> |
|
299 <number>60</number> |
|
300 </property> |
|
301 <property name="maximum"> |
|
302 <number>119</number> |
|
303 </property> |
|
304 <property name="value"> |
|
305 <number>79</number> |
|
306 </property> |
|
307 </widget> |
|
308 </item> |
|
309 <item row="1" column="0"> |
|
310 <widget class="QLabel" name="label_17"> |
|
311 <property name="text"> |
|
312 <string>Max. Documentation Line Length:</string> |
|
313 </property> |
|
314 </widget> |
|
315 </item> |
|
316 <item row="1" column="1"> |
|
317 <widget class="QSpinBox" name="docLineLengthSpinBox"> |
|
318 <property name="toolTip"> |
|
319 <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string> |
|
320 </property> |
|
321 <property name="alignment"> |
|
322 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
323 </property> |
|
324 <property name="minimum"> |
|
325 <number>60</number> |
|
326 </property> |
|
327 <property name="maximum"> |
|
328 <number>119</number> |
|
329 </property> |
|
330 <property name="value"> |
|
331 <number>79</number> |
|
332 </property> |
|
333 </widget> |
|
334 </item> |
|
335 <item row="0" column="2"> |
|
336 <spacer name="horizontalSpacer_3"> |
|
337 <property name="orientation"> |
|
338 <enum>Qt::Horizontal</enum> |
|
339 </property> |
|
340 <property name="sizeHint" stdset="0"> |
|
341 <size> |
|
342 <width>40</width> |
|
343 <height>20</height> |
|
344 </size> |
|
345 </property> |
|
346 </spacer> |
|
347 </item> |
|
348 </layout> |
|
349 </item> |
|
350 <item> |
|
351 <widget class="QGroupBox" name="groupBox_8"> |
|
352 <property name="title"> |
|
353 <string>Blank Lines Before</string> |
|
354 </property> |
|
355 <layout class="QGridLayout" name="gridLayout_3"> |
|
356 <item row="0" column="0"> |
|
357 <widget class="QLabel" name="label_15"> |
|
358 <property name="text"> |
|
359 <string>Top Level Classes and Functions:</string> |
|
360 </property> |
|
361 </widget> |
|
362 </item> |
|
363 <item row="0" column="1"> |
|
364 <widget class="QSpinBox" name="blankBeforeTopLevelSpinBox"> |
|
365 <property name="toolTip"> |
|
366 <string>Enter the number of blank lines before top level classes and functions</string> |
|
367 </property> |
|
368 <property name="alignment"> |
|
369 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
370 </property> |
|
371 <property name="minimum"> |
|
372 <number>1</number> |
|
373 </property> |
|
374 <property name="maximum"> |
|
375 <number>10</number> |
|
376 </property> |
|
377 <property name="value"> |
|
378 <number>2</number> |
|
379 </property> |
|
380 </widget> |
|
381 </item> |
|
382 <item row="0" column="2"> |
|
383 <spacer name="horizontalSpacer_6"> |
|
384 <property name="orientation"> |
|
385 <enum>Qt::Horizontal</enum> |
|
386 </property> |
|
387 <property name="sizeHint" stdset="0"> |
|
388 <size> |
|
389 <width>153</width> |
|
390 <height>20</height> |
|
391 </size> |
|
392 </property> |
|
393 </spacer> |
|
394 </item> |
|
395 <item row="1" column="0"> |
|
396 <widget class="QLabel" name="label_16"> |
|
397 <property name="text"> |
|
398 <string>Methods and Nested Classes and Functions:</string> |
|
399 </property> |
|
400 </widget> |
|
401 </item> |
|
402 <item row="1" column="1"> |
|
403 <widget class="QSpinBox" name="blankBeforeMethodSpinBox"> |
|
404 <property name="toolTip"> |
|
405 <string>Enter the number of blank lines before methods and nested classes or functions</string> |
|
406 </property> |
|
407 <property name="alignment"> |
|
408 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
409 </property> |
|
410 <property name="minimum"> |
|
411 <number>1</number> |
|
412 </property> |
|
413 <property name="maximum"> |
|
414 <number>10</number> |
|
415 </property> |
|
416 <property name="value"> |
|
417 <number>1</number> |
|
418 </property> |
|
419 </widget> |
|
420 </item> |
|
421 </layout> |
|
422 </widget> |
|
423 </item> |
|
424 <item> |
|
425 <widget class="QCheckBox" name="hangClosingCheckBox"> |
|
426 <property name="toolTip"> |
|
427 <string>Select to allow hanging closing brackets</string> |
|
428 </property> |
|
429 <property name="text"> |
|
430 <string>Allow hanging closing brackets</string> |
|
431 </property> |
|
432 </widget> |
|
433 </item> |
|
434 </layout> |
|
435 </widget> |
|
436 </item> |
|
437 <item> |
|
438 <widget class="QGroupBox" name="groupBox_2"> |
|
439 <property name="title"> |
|
440 <string>Documentation Style</string> |
|
441 </property> |
|
442 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
443 <item> |
|
444 <widget class="QLabel" name="label_7"> |
|
445 <property name="text"> |
|
446 <string>Docstring Type:</string> |
|
447 </property> |
|
448 </widget> |
|
449 </item> |
|
450 <item> |
|
451 <widget class="QComboBox" name="docTypeComboBox"> |
|
452 <property name="sizePolicy"> |
|
453 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
454 <horstretch>0</horstretch> |
|
455 <verstretch>0</verstretch> |
|
456 </sizepolicy> |
|
457 </property> |
|
458 <property name="toolTip"> |
|
459 <string>Select the rule set for docstrings</string> |
|
460 </property> |
|
461 </widget> |
|
462 </item> |
|
463 </layout> |
|
464 </widget> |
|
465 </item> |
|
466 <item> |
|
467 <widget class="QGroupBox" name="groupBox_4"> |
|
468 <property name="title"> |
|
469 <string>Coding Line</string> |
|
470 </property> |
|
471 <layout class="QHBoxLayout" name="horizontalLayout_6"> |
|
472 <item> |
|
473 <widget class="QLabel" name="label_9"> |
|
474 <property name="text"> |
|
475 <string>Valid Encodings:</string> |
|
476 </property> |
|
477 </widget> |
|
478 </item> |
|
479 <item> |
|
480 <widget class="QLineEdit" name="encodingsEdit"> |
|
481 <property name="toolTip"> |
|
482 <string>Enter valid encodings separated by a comma (leave empty to use defaults)</string> |
|
483 </property> |
|
484 <property name="clearButtonEnabled"> |
|
485 <bool>true</bool> |
|
486 </property> |
|
487 </widget> |
|
488 </item> |
|
489 </layout> |
|
490 </widget> |
|
491 </item> |
|
492 <item> |
|
493 <widget class="QGroupBox" name="groupBox_5"> |
|
494 <property name="title"> |
|
495 <string>Copyright</string> |
|
496 </property> |
|
497 <layout class="QGridLayout" name="gridLayout"> |
|
498 <item row="0" column="0"> |
|
499 <widget class="QLabel" name="label_10"> |
|
500 <property name="text"> |
|
501 <string>Min. File Size:</string> |
|
502 </property> |
|
503 </widget> |
|
504 </item> |
|
505 <item row="0" column="1"> |
|
506 <widget class="QSpinBox" name="copyrightFileSizeSpinBox"> |
|
507 <property name="toolTip"> |
|
508 <string>Enter the minimum size a file must have to be checked (0 for all files)</string> |
|
509 </property> |
|
510 <property name="alignment"> |
|
511 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
512 </property> |
|
513 <property name="maximum"> |
|
514 <number>4096</number> |
|
515 </property> |
|
516 </widget> |
|
517 </item> |
|
518 <item row="0" column="2"> |
|
519 <spacer name="horizontalSpacer_2"> |
|
520 <property name="orientation"> |
|
521 <enum>Qt::Horizontal</enum> |
|
522 </property> |
|
523 <property name="sizeHint" stdset="0"> |
|
524 <size> |
|
525 <width>324</width> |
|
526 <height>20</height> |
|
527 </size> |
|
528 </property> |
|
529 </spacer> |
|
530 </item> |
|
531 <item row="1" column="0"> |
|
532 <widget class="QLabel" name="label_11"> |
|
533 <property name="text"> |
|
534 <string>Author:</string> |
|
535 </property> |
|
536 </widget> |
|
537 </item> |
|
538 <item row="1" column="1" colspan="2"> |
|
539 <widget class="QLineEdit" name="copyrightAuthorEdit"> |
|
540 <property name="toolTip"> |
|
541 <string>Enter a copyright author name to check for (leave empty to omit this check)</string> |
|
542 </property> |
|
543 <property name="clearButtonEnabled"> |
|
544 <bool>true</bool> |
|
545 </property> |
|
546 </widget> |
|
547 </item> |
|
548 </layout> |
|
549 </widget> |
|
550 </item> |
|
551 <item> |
|
552 <widget class="QGroupBox" name="groupBox_6"> |
|
553 <property name="title"> |
|
554 <string>Future Imports</string> |
|
555 </property> |
|
556 <layout class="QHBoxLayout" name="horizontalLayout_7"> |
|
557 <item> |
|
558 <widget class="QLabel" name="label_12"> |
|
559 <property name="text"> |
|
560 <string>Expected Imports:</string> |
|
561 </property> |
|
562 <property name="alignment"> |
|
563 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
|
564 </property> |
|
565 </widget> |
|
566 </item> |
|
567 <item> |
|
568 <widget class="QListWidget" name="futuresList"> |
|
569 <property name="alternatingRowColors"> |
|
570 <bool>true</bool> |
|
571 </property> |
|
572 <property name="selectionMode"> |
|
573 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
574 </property> |
|
575 <property name="sortingEnabled"> |
|
576 <bool>true</bool> |
|
577 </property> |
|
578 </widget> |
|
579 </item> |
|
580 </layout> |
|
581 </widget> |
|
582 </item> |
|
583 <item> |
|
584 <widget class="QGroupBox" name="groupBox_7"> |
|
585 <property name="title"> |
|
586 <string>Ignore Built-ins Assignment</string> |
|
587 </property> |
|
588 <layout class="QHBoxLayout" name="horizontalLayout_8"> |
|
589 <item> |
|
590 <widget class="QTreeWidget" name="builtinsAssignmentList"> |
|
591 <property name="alternatingRowColors"> |
|
592 <bool>true</bool> |
|
593 </property> |
|
594 <property name="rootIsDecorated"> |
|
595 <bool>false</bool> |
|
596 </property> |
|
597 <property name="sortingEnabled"> |
|
598 <bool>true</bool> |
|
599 </property> |
|
600 <column> |
|
601 <property name="text"> |
|
602 <string>Left</string> |
|
603 </property> |
|
604 </column> |
|
605 <column> |
|
606 <property name="text"> |
|
607 <string>Right</string> |
|
608 </property> |
|
609 </column> |
|
610 </widget> |
|
611 </item> |
|
612 <item> |
|
613 <layout class="QVBoxLayout" name="verticalLayout_5"> |
|
614 <item> |
|
615 <widget class="QToolButton" name="addBuiltinButton"> |
|
616 <property name="toolTip"> |
|
617 <string>Press to add a built-in assignment to be ignored</string> |
|
618 </property> |
|
619 <property name="text"> |
|
620 <string notr="true">+</string> |
|
621 </property> |
|
622 </widget> |
|
623 </item> |
|
624 <item> |
|
625 <widget class="QToolButton" name="deleteBuiltinButton"> |
|
626 <property name="toolTip"> |
|
627 <string>Press to delete the selected entries</string> |
|
628 </property> |
|
629 <property name="text"> |
|
630 <string notr="true">-</string> |
|
631 </property> |
|
632 </widget> |
|
633 </item> |
|
634 <item> |
|
635 <spacer name="verticalSpacer_3"> |
|
636 <property name="orientation"> |
|
637 <enum>Qt::Vertical</enum> |
|
638 </property> |
|
639 <property name="sizeHint" stdset="0"> |
|
640 <size> |
|
641 <width>20</width> |
|
642 <height>40</height> |
|
643 </size> |
|
644 </property> |
|
645 </spacer> |
|
646 </item> |
|
647 </layout> |
|
648 </item> |
|
649 </layout> |
|
650 </widget> |
|
651 </item> |
|
652 <item> |
|
653 <widget class="QGroupBox" name="groupBox_9"> |
|
654 <property name="title"> |
|
655 <string>Commented Code</string> |
|
656 </property> |
|
657 <layout class="QGridLayout" name="gridLayout_8"> |
|
658 <item row="0" column="0" colspan="3"> |
|
659 <widget class="QCheckBox" name="aggressiveCheckBox"> |
|
660 <property name="toolTip"> |
|
661 <string>Select to search for commented code more aggressively. This may increase the number of false positives.</string> |
|
662 </property> |
|
663 <property name="text"> |
|
664 <string>Search aggressively</string> |
|
665 </property> |
|
666 </widget> |
|
667 </item> |
|
668 <item row="1" column="0"> |
|
669 <widget class="QLabel" name="label_30"> |
|
670 <property name="text"> |
|
671 <string>Whitelist:</string> |
|
672 </property> |
|
673 <property name="alignment"> |
|
674 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
|
675 </property> |
|
676 </widget> |
|
677 </item> |
|
678 <item row="1" column="1"> |
|
679 <widget class="QListWidget" name="whitelistWidget"/> |
|
680 </item> |
|
681 <item row="1" column="2"> |
|
682 <layout class="QVBoxLayout" name="verticalLayout_6"> |
|
683 <item> |
|
684 <widget class="QToolButton" name="addWhitelistButton"> |
|
685 <property name="toolTip"> |
|
686 <string>Press to add a commented code whitelist pattern</string> |
|
687 </property> |
|
688 <property name="text"> |
|
689 <string notr="true">+</string> |
|
690 </property> |
|
691 </widget> |
|
692 </item> |
|
693 <item> |
|
694 <widget class="QToolButton" name="deleteWhitelistButton"> |
|
695 <property name="toolTip"> |
|
696 <string>Press to delete the selected entries</string> |
|
697 </property> |
|
698 <property name="text"> |
|
699 <string notr="true">-</string> |
|
700 </property> |
|
701 </widget> |
|
702 </item> |
|
703 <item> |
|
704 <spacer name="verticalSpacer_6"> |
|
705 <property name="orientation"> |
|
706 <enum>Qt::Vertical</enum> |
|
707 </property> |
|
708 <property name="sizeHint" stdset="0"> |
|
709 <size> |
|
710 <width>20</width> |
|
711 <height>40</height> |
|
712 </size> |
|
713 </property> |
|
714 </spacer> |
|
715 </item> |
|
716 </layout> |
|
717 </item> |
|
718 </layout> |
|
719 </widget> |
|
720 </item> |
|
721 </layout> |
|
722 </widget> |
|
723 </widget> |
|
724 </item> |
|
725 </layout> |
|
726 </widget> |
|
727 <widget class="QWidget" name="codeComplexityTab"> |
|
728 <attribute name="title"> |
|
729 <string>Complexity</string> |
|
730 </attribute> |
|
731 <layout class="QVBoxLayout" name="verticalLayout_17"> |
|
732 <item> |
|
733 <widget class="QGroupBox" name="groupBox_3"> |
|
734 <property name="title"> |
|
735 <string>Code Complexity</string> |
|
736 </property> |
|
737 <layout class="QGridLayout" name="gridLayout_4"> |
|
738 <item row="0" column="2" rowspan="2"> |
|
739 <spacer name="horizontalSpacer_5"> |
|
740 <property name="orientation"> |
|
741 <enum>Qt::Horizontal</enum> |
|
742 </property> |
|
743 <property name="sizeHint" stdset="0"> |
|
744 <size> |
|
745 <width>313</width> |
|
746 <height>20</height> |
|
747 </size> |
|
748 </property> |
|
749 </spacer> |
|
750 </item> |
|
751 <item row="0" column="0"> |
|
752 <widget class="QLabel" name="label_8"> |
|
753 <property name="text"> |
|
754 <string>Max. McCabe Complexity:</string> |
|
755 </property> |
|
756 </widget> |
|
757 </item> |
|
758 <item row="0" column="1"> |
|
759 <widget class="QSpinBox" name="complexitySpinBox"> |
|
760 <property name="toolTip"> |
|
761 <string>Enter the maximum allowed code complexity (McCabe: 10)</string> |
|
762 </property> |
|
763 <property name="alignment"> |
|
764 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
765 </property> |
|
766 <property name="maximum"> |
|
767 <number>100</number> |
|
768 </property> |
|
769 <property name="value"> |
|
770 <number>10</number> |
|
771 </property> |
|
772 </widget> |
|
773 </item> |
|
774 <item row="1" column="0"> |
|
775 <widget class="QLabel" name="label_13"> |
|
776 <property name="text"> |
|
777 <string>Max. Line Complexity:</string> |
|
778 </property> |
|
779 </widget> |
|
780 </item> |
|
781 <item row="1" column="1"> |
|
782 <widget class="QSpinBox" name="lineComplexitySpinBox"> |
|
783 <property name="toolTip"> |
|
784 <string>Enter the maximum complexity (number of nodes) for a line of code</string> |
|
785 </property> |
|
786 <property name="alignment"> |
|
787 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
788 </property> |
|
789 <property name="maximum"> |
|
790 <number>100</number> |
|
791 </property> |
|
792 <property name="value"> |
|
793 <number>15</number> |
|
794 </property> |
|
795 </widget> |
|
796 </item> |
|
797 <item row="2" column="0"> |
|
798 <widget class="QLabel" name="label_14"> |
|
799 <property name="text"> |
|
800 <string>Max. Line Complexity Score:</string> |
|
801 </property> |
|
802 </widget> |
|
803 </item> |
|
804 <item row="2" column="1"> |
|
805 <widget class="QSpinBox" name="lineComplexityScoreSpinBox"> |
|
806 <property name="toolTip"> |
|
807 <string>Enter the maximum allowed median for line complexity</string> |
|
808 </property> |
|
809 <property name="alignment"> |
|
810 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
811 </property> |
|
812 <property name="maximum"> |
|
813 <number>100</number> |
|
814 </property> |
|
815 <property name="value"> |
|
816 <number>10</number> |
|
817 </property> |
|
818 </widget> |
|
819 </item> |
|
820 </layout> |
|
821 </widget> |
|
822 </item> |
|
823 <item> |
|
824 <spacer name="verticalSpacer_8"> |
|
825 <property name="orientation"> |
|
826 <enum>Qt::Vertical</enum> |
|
827 </property> |
|
828 <property name="sizeHint" stdset="0"> |
|
829 <size> |
|
830 <width>20</width> |
|
831 <height>802</height> |
|
832 </size> |
|
833 </property> |
|
834 </spacer> |
|
835 </item> |
|
836 </layout> |
|
837 </widget> |
|
838 <widget class="QWidget" name="typeAnnotationsTab"> |
|
839 <attribute name="title"> |
|
840 <string>Annotations</string> |
|
841 </attribute> |
|
842 <layout class="QVBoxLayout" name="verticalLayout_18"> |
|
843 <item> |
|
844 <widget class="QGroupBox" name="groupBox_10"> |
|
845 <property name="title"> |
|
846 <string>Type Annotations</string> |
|
847 </property> |
|
848 <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
849 <item> |
|
850 <layout class="QGridLayout" name="gridLayout_6"> |
|
851 <item row="0" column="0"> |
|
852 <widget class="QLabel" name="label_18"> |
|
853 <property name="text"> |
|
854 <string>Min. Coverage:</string> |
|
855 </property> |
|
856 </widget> |
|
857 </item> |
|
858 <item row="0" column="1"> |
|
859 <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox"> |
|
860 <property name="toolTip"> |
|
861 <string>Enter the minimum percentage of type annotations</string> |
|
862 </property> |
|
863 <property name="alignment"> |
|
864 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
865 </property> |
|
866 <property name="specialValueText"> |
|
867 <string>off</string> |
|
868 </property> |
|
869 <property name="suffix"> |
|
870 <string>%</string> |
|
871 </property> |
|
872 <property name="maximum"> |
|
873 <number>100</number> |
|
874 </property> |
|
875 </widget> |
|
876 </item> |
|
877 <item row="0" column="2"> |
|
878 <spacer name="horizontalSpacer_7"> |
|
879 <property name="orientation"> |
|
880 <enum>Qt::Horizontal</enum> |
|
881 </property> |
|
882 <property name="sizeHint" stdset="0"> |
|
883 <size> |
|
884 <width>352</width> |
|
885 <height>20</height> |
|
886 </size> |
|
887 </property> |
|
888 </spacer> |
|
889 </item> |
|
890 <item row="1" column="0"> |
|
891 <widget class="QLabel" name="label_19"> |
|
892 <property name="text"> |
|
893 <string>Max. Complexity:</string> |
|
894 </property> |
|
895 </widget> |
|
896 </item> |
|
897 <item row="1" column="1"> |
|
898 <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox"> |
|
899 <property name="toolTip"> |
|
900 <string>Enter the maximum type annotation complexity</string> |
|
901 </property> |
|
902 <property name="alignment"> |
|
903 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
904 </property> |
|
905 <property name="minimum"> |
|
906 <number>1</number> |
|
907 </property> |
|
908 <property name="maximum"> |
|
909 <number>9</number> |
|
910 </property> |
|
911 </widget> |
|
912 </item> |
|
913 <item row="2" column="0"> |
|
914 <widget class="QLabel" name="label_32"> |
|
915 <property name="text"> |
|
916 <string>Max. Length:</string> |
|
917 </property> |
|
918 </widget> |
|
919 </item> |
|
920 <item row="2" column="1"> |
|
921 <widget class="QSpinBox" name="maxAnnotationsLengthSpinBox"> |
|
922 <property name="toolTip"> |
|
923 <string>Enter the maximum type annotation length</string> |
|
924 </property> |
|
925 <property name="alignment"> |
|
926 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
927 </property> |
|
928 <property name="minimum"> |
|
929 <number>1</number> |
|
930 </property> |
|
931 <property name="maximum"> |
|
932 <number>15</number> |
|
933 </property> |
|
934 </widget> |
|
935 </item> |
|
936 </layout> |
|
937 </item> |
|
938 <item> |
|
939 <layout class="QGridLayout" name="gridLayout_9"> |
|
940 <item row="0" column="0"> |
|
941 <widget class="QCheckBox" name="suppressNoneReturningCheckBox"> |
|
942 <property name="toolTip"> |
|
943 <string>Select to not report functions without returns or with only bare returns</string> |
|
944 </property> |
|
945 <property name="text"> |
|
946 <string>Suppress 'None' return</string> |
|
947 </property> |
|
948 </widget> |
|
949 </item> |
|
950 <item row="0" column="1"> |
|
951 <widget class="QCheckBox" name="suppressDummyArgsCheckBox"> |
|
952 <property name="toolTip"> |
|
953 <string>Select to not report dummy (i.e. '_') arguments</string> |
|
954 </property> |
|
955 <property name="text"> |
|
956 <string>Suppress Dummy Arguments</string> |
|
957 </property> |
|
958 </widget> |
|
959 </item> |
|
960 <item row="1" column="0"> |
|
961 <widget class="QCheckBox" name="allowUntypedDefsCheckBox"> |
|
962 <property name="toolTip"> |
|
963 <string>Select to not report dynamically typed functions</string> |
|
964 </property> |
|
965 <property name="text"> |
|
966 <string>Allow Untyped Functions</string> |
|
967 </property> |
|
968 </widget> |
|
969 </item> |
|
970 <item row="1" column="1"> |
|
971 <widget class="QCheckBox" name="allowUntypedNestedCheckBox"> |
|
972 <property name="toolTip"> |
|
973 <string>Select to not report dynamically typed nested functions</string> |
|
974 </property> |
|
975 <property name="text"> |
|
976 <string>Allow Untyped Nested Functions</string> |
|
977 </property> |
|
978 </widget> |
|
979 </item> |
|
980 <item row="2" column="0" colspan="2"> |
|
981 <widget class="QCheckBox" name="mypyInitReturnCheckBox"> |
|
982 <property name="toolTip"> |
|
983 <string>Select to not report unhinted '__init__' return</string> |
|
984 </property> |
|
985 <property name="text"> |
|
986 <string>Allow Untyped '__init__' function</string> |
|
987 </property> |
|
988 </widget> |
|
989 </item> |
|
990 </layout> |
|
991 </item> |
|
992 <item> |
|
993 <widget class="QLabel" name="label_33"> |
|
994 <property name="text"> |
|
995 <string>Dispatch Decorators:</string> |
|
996 </property> |
|
997 </widget> |
|
998 </item> |
|
999 <item> |
|
1000 <widget class="QLineEdit" name="dispatchDecoratorEdit"> |
|
1001 <property name="toolTip"> |
|
1002 <string>Enter the list of dispatch decorators separated by comma</string> |
|
1003 </property> |
|
1004 <property name="clearButtonEnabled"> |
|
1005 <bool>true</bool> |
|
1006 </property> |
|
1007 </widget> |
|
1008 </item> |
|
1009 <item> |
|
1010 <widget class="QLabel" name="label_34"> |
|
1011 <property name="text"> |
|
1012 <string>Overload Decorators:</string> |
|
1013 </property> |
|
1014 </widget> |
|
1015 </item> |
|
1016 <item> |
|
1017 <widget class="QLineEdit" name="overloadDecoratorEdit"> |
|
1018 <property name="toolTip"> |
|
1019 <string>Enter the list of typing.overload decorators separated by comma</string> |
|
1020 </property> |
|
1021 <property name="clearButtonEnabled"> |
|
1022 <bool>true</bool> |
|
1023 </property> |
|
1024 </widget> |
|
1025 </item> |
|
1026 </layout> |
|
1027 </widget> |
|
1028 </item> |
|
1029 <item> |
|
1030 <spacer name="verticalSpacer_9"> |
|
1031 <property name="orientation"> |
|
1032 <enum>Qt::Vertical</enum> |
|
1033 </property> |
|
1034 <property name="sizeHint" stdset="0"> |
|
1035 <size> |
|
1036 <width>20</width> |
|
1037 <height>596</height> |
|
1038 </size> |
|
1039 </property> |
|
1040 </spacer> |
|
1041 </item> |
|
1042 </layout> |
|
1043 </widget> |
|
1044 <widget class="QWidget" name="securityOptionsTab"> |
|
1045 <attribute name="title"> |
|
1046 <string>Security</string> |
|
1047 </attribute> |
|
1048 <layout class="QGridLayout" name="gridLayout_7"> |
|
1049 <item row="0" column="0"> |
|
1050 <widget class="QLabel" name="label_21"> |
|
1051 <property name="text"> |
|
1052 <string>Hardcoded 'tmp' Directories:</string> |
|
1053 </property> |
|
1054 <property name="alignment"> |
|
1055 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
|
1056 </property> |
|
1057 </widget> |
|
1058 </item> |
|
1059 <item row="3" column="0" colspan="2"> |
|
1060 <widget class="QGroupBox" name="groupBox_11"> |
|
1061 <property name="title"> |
|
1062 <string>Weak Cryptographic Keys</string> |
|
1063 </property> |
|
1064 <layout class="QVBoxLayout" name="verticalLayout_10"> |
|
1065 <item> |
|
1066 <widget class="QGroupBox" name="groupBox_12"> |
|
1067 <property name="title"> |
|
1068 <string>DSA</string> |
|
1069 </property> |
|
1070 <layout class="QHBoxLayout" name="horizontalLayout_5"> |
|
1071 <item> |
|
1072 <widget class="QLabel" name="label_24"> |
|
1073 <property name="text"> |
|
1074 <string>High Risk:</string> |
|
1075 </property> |
|
1076 </widget> |
|
1077 </item> |
|
1078 <item> |
|
1079 <widget class="QComboBox" name="dsaHighRiskCombo"> |
|
1080 <property name="toolTip"> |
|
1081 <string>Select the bit length below which a DSA key is to be considered very weak</string> |
|
1082 </property> |
|
1083 <property name="editable"> |
|
1084 <bool>false</bool> |
|
1085 </property> |
|
1086 </widget> |
|
1087 </item> |
|
1088 <item> |
|
1089 <widget class="QLabel" name="label_25"> |
|
1090 <property name="text"> |
|
1091 <string>Medium Risk:</string> |
|
1092 </property> |
|
1093 </widget> |
|
1094 </item> |
|
1095 <item> |
|
1096 <widget class="QComboBox" name="dsaMediumRiskCombo"> |
|
1097 <property name="toolTip"> |
|
1098 <string>Select the bit length below which a DSA key is to be considered weak</string> |
|
1099 </property> |
|
1100 <property name="editable"> |
|
1101 <bool>false</bool> |
|
1102 </property> |
|
1103 </widget> |
|
1104 </item> |
|
1105 <item> |
|
1106 <spacer name="horizontalSpacer_8"> |
|
1107 <property name="orientation"> |
|
1108 <enum>Qt::Horizontal</enum> |
|
1109 </property> |
|
1110 <property name="sizeHint" stdset="0"> |
|
1111 <size> |
|
1112 <width>324</width> |
|
1113 <height>20</height> |
|
1114 </size> |
|
1115 </property> |
|
1116 </spacer> |
|
1117 </item> |
|
1118 </layout> |
|
1119 </widget> |
|
1120 </item> |
|
1121 <item> |
|
1122 <widget class="QGroupBox" name="groupBox_13"> |
|
1123 <property name="title"> |
|
1124 <string>RSA</string> |
|
1125 </property> |
|
1126 <layout class="QHBoxLayout" name="horizontalLayout_9"> |
|
1127 <item> |
|
1128 <widget class="QLabel" name="label_26"> |
|
1129 <property name="text"> |
|
1130 <string>High Risk:</string> |
|
1131 </property> |
|
1132 </widget> |
|
1133 </item> |
|
1134 <item> |
|
1135 <widget class="QComboBox" name="rsaHighRiskCombo"> |
|
1136 <property name="toolTip"> |
|
1137 <string>Select the bit length below which a RSA key is to be considered very weak</string> |
|
1138 </property> |
|
1139 <property name="editable"> |
|
1140 <bool>false</bool> |
|
1141 </property> |
|
1142 </widget> |
|
1143 </item> |
|
1144 <item> |
|
1145 <widget class="QLabel" name="label_27"> |
|
1146 <property name="text"> |
|
1147 <string>Medium Risk:</string> |
|
1148 </property> |
|
1149 </widget> |
|
1150 </item> |
|
1151 <item> |
|
1152 <widget class="QComboBox" name="rsaMediumRiskCombo"> |
|
1153 <property name="toolTip"> |
|
1154 <string>Select the bit length below which a RSA key is to be considered weak</string> |
|
1155 </property> |
|
1156 <property name="editable"> |
|
1157 <bool>false</bool> |
|
1158 </property> |
|
1159 </widget> |
|
1160 </item> |
|
1161 <item> |
|
1162 <spacer name="horizontalSpacer_9"> |
|
1163 <property name="orientation"> |
|
1164 <enum>Qt::Horizontal</enum> |
|
1165 </property> |
|
1166 <property name="sizeHint" stdset="0"> |
|
1167 <size> |
|
1168 <width>40</width> |
|
1169 <height>20</height> |
|
1170 </size> |
|
1171 </property> |
|
1172 </spacer> |
|
1173 </item> |
|
1174 </layout> |
|
1175 </widget> |
|
1176 </item> |
|
1177 <item> |
|
1178 <widget class="QGroupBox" name="groupBox_14"> |
|
1179 <property name="title"> |
|
1180 <string>Elliptic Curves</string> |
|
1181 </property> |
|
1182 <layout class="QHBoxLayout" name="horizontalLayout_10"> |
|
1183 <item> |
|
1184 <widget class="QLabel" name="label_28"> |
|
1185 <property name="text"> |
|
1186 <string>High Risk:</string> |
|
1187 </property> |
|
1188 </widget> |
|
1189 </item> |
|
1190 <item> |
|
1191 <widget class="QComboBox" name="ecHighRiskCombo"> |
|
1192 <property name="toolTip"> |
|
1193 <string>Select the bit length below which an Elliptic Curve is to be considered very weak</string> |
|
1194 </property> |
|
1195 <property name="editable"> |
|
1196 <bool>false</bool> |
|
1197 </property> |
|
1198 </widget> |
|
1199 </item> |
|
1200 <item> |
|
1201 <widget class="QLabel" name="label_29"> |
|
1202 <property name="text"> |
|
1203 <string>Medium Risk:</string> |
|
1204 </property> |
|
1205 </widget> |
|
1206 </item> |
|
1207 <item> |
|
1208 <widget class="QComboBox" name="ecMediumRiskCombo"> |
|
1209 <property name="toolTip"> |
|
1210 <string>Select the bit length below which an Elliptic Curve is to be considered weak</string> |
|
1211 </property> |
|
1212 <property name="editable"> |
|
1213 <bool>false</bool> |
|
1214 </property> |
|
1215 </widget> |
|
1216 </item> |
|
1217 <item> |
|
1218 <spacer name="horizontalSpacer_10"> |
|
1219 <property name="orientation"> |
|
1220 <enum>Qt::Horizontal</enum> |
|
1221 </property> |
|
1222 <property name="sizeHint" stdset="0"> |
|
1223 <size> |
|
1224 <width>40</width> |
|
1225 <height>20</height> |
|
1226 </size> |
|
1227 </property> |
|
1228 </spacer> |
|
1229 </item> |
|
1230 </layout> |
|
1231 </widget> |
|
1232 </item> |
|
1233 </layout> |
|
1234 </widget> |
|
1235 </item> |
|
1236 <item row="2" column="1"> |
|
1237 <widget class="QPlainTextEdit" name="insecureSslProtocolsEdit"> |
|
1238 <property name="toolTip"> |
|
1239 <string>Enter the names of insecure SSL protocols and methods (one per line)</string> |
|
1240 </property> |
|
1241 </widget> |
|
1242 </item> |
|
1243 <item row="2" column="0"> |
|
1244 <widget class="QLabel" name="label_23"> |
|
1245 <property name="text"> |
|
1246 <string>Insecure SSL Protocols:</string> |
|
1247 </property> |
|
1248 <property name="alignment"> |
|
1249 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
|
1250 </property> |
|
1251 </widget> |
|
1252 </item> |
|
1253 <item row="1" column="0"> |
|
1254 <widget class="QLabel" name="label_22"> |
|
1255 <property name="text"> |
|
1256 <string>Insecure Hashes:</string> |
|
1257 </property> |
|
1258 </widget> |
|
1259 </item> |
|
1260 <item row="1" column="1"> |
|
1261 <widget class="QLineEdit" name="hashesEdit"> |
|
1262 <property name="toolTip"> |
|
1263 <string>Enter a list of hash methods to be considered insecure separated by comma</string> |
|
1264 </property> |
|
1265 <property name="clearButtonEnabled"> |
|
1266 <bool>true</bool> |
|
1267 </property> |
|
1268 </widget> |
|
1269 </item> |
|
1270 <item row="4" column="0" colspan="2"> |
|
1271 <widget class="QCheckBox" name="typedExceptionsCheckBox"> |
|
1272 <property name="toolTip"> |
|
1273 <string>Select to also check for insecure exception handling for typed exceptions</string> |
|
1274 </property> |
|
1275 <property name="text"> |
|
1276 <string>Check Typed Exceptions</string> |
|
1277 </property> |
|
1278 </widget> |
|
1279 </item> |
|
1280 <item row="0" column="1"> |
|
1281 <widget class="QPlainTextEdit" name="tmpDirectoriesEdit"> |
|
1282 <property name="toolTip"> |
|
1283 <string>Enter directory names (one per line) to be checked for</string> |
|
1284 </property> |
|
1285 </widget> |
|
1286 </item> |
|
1287 </layout> |
|
1288 </widget> |
|
1289 <widget class="QWidget" name="importOptionsTab"> |
|
1290 <attribute name="title"> |
|
1291 <string>Imports</string> |
|
1292 </attribute> |
|
1293 <layout class="QVBoxLayout" name="verticalLayout_16"> |
|
1294 <item> |
|
1295 <widget class="QGroupBox" name="groupBox_15"> |
|
1296 <property name="title"> |
|
1297 <string>Application Packages</string> |
|
1298 </property> |
|
1299 <layout class="QVBoxLayout" name="verticalLayout_14"> |
|
1300 <item> |
|
1301 <widget class="QLabel" name="label_35"> |
|
1302 <property name="text"> |
|
1303 <string>Enter top level application package names separated by a space character:</string> |
|
1304 </property> |
|
1305 <property name="wordWrap"> |
|
1306 <bool>true</bool> |
|
1307 </property> |
|
1308 </widget> |
|
1309 </item> |
|
1310 <item> |
|
1311 <widget class="QPlainTextEdit" name="appPackagesEdit"> |
|
1312 <property name="tabChangesFocus"> |
|
1313 <bool>true</bool> |
|
1314 </property> |
|
1315 </widget> |
|
1316 </item> |
|
1317 </layout> |
|
1318 </widget> |
|
1319 </item> |
|
1320 <item> |
|
1321 <widget class="QGroupBox" name="groupBox_16"> |
|
1322 <property name="title"> |
|
1323 <string>Banned Modules</string> |
|
1324 </property> |
|
1325 <layout class="QVBoxLayout" name="verticalLayout_15"> |
|
1326 <item> |
|
1327 <widget class="QLabel" name="label_36"> |
|
1328 <property name="text"> |
|
1329 <string>Enter the name of modules to be banned separated by a space character:</string> |
|
1330 </property> |
|
1331 <property name="wordWrap"> |
|
1332 <bool>true</bool> |
|
1333 </property> |
|
1334 </widget> |
|
1335 </item> |
|
1336 <item> |
|
1337 <widget class="QPlainTextEdit" name="bannedModulesEdit"> |
|
1338 <property name="tabChangesFocus"> |
|
1339 <bool>true</bool> |
|
1340 </property> |
|
1341 </widget> |
|
1342 </item> |
|
1343 </layout> |
|
1344 </widget> |
|
1345 </item> |
|
1346 <item> |
|
1347 <widget class="QGroupBox" name="groupBox_17"> |
|
1348 <property name="title"> |
|
1349 <string>Ban Relative Imports</string> |
|
1350 </property> |
|
1351 <layout class="QHBoxLayout" name="horizontalLayout_12"> |
|
1352 <item> |
|
1353 <widget class="QRadioButton" name="allowAllButton"> |
|
1354 <property name="toolTip"> |
|
1355 <string>Select to allow relative imports</string> |
|
1356 </property> |
|
1357 <property name="text"> |
|
1358 <string>Allow</string> |
|
1359 </property> |
|
1360 <property name="checked"> |
|
1361 <bool>true</bool> |
|
1362 </property> |
|
1363 </widget> |
|
1364 </item> |
|
1365 <item> |
|
1366 <widget class="QRadioButton" name="banParentsButton"> |
|
1367 <property name="toolTip"> |
|
1368 <string>Select to ban relative imports of parents</string> |
|
1369 </property> |
|
1370 <property name="text"> |
|
1371 <string>Ban Parents Import</string> |
|
1372 </property> |
|
1373 </widget> |
|
1374 </item> |
|
1375 <item> |
|
1376 <widget class="QRadioButton" name="banAllButton"> |
|
1377 <property name="toolTip"> |
|
1378 <string>Select to ban all relative imports</string> |
|
1379 </property> |
|
1380 <property name="text"> |
|
1381 <string>Ban All</string> |
|
1382 </property> |
|
1383 </widget> |
|
1384 </item> |
|
1385 </layout> |
|
1386 </widget> |
|
1387 </item> |
|
1388 <item> |
|
1389 <spacer name="verticalSpacer_7"> |
|
1390 <property name="orientation"> |
|
1391 <enum>Qt::Vertical</enum> |
|
1392 </property> |
|
1393 <property name="sizeHint" stdset="0"> |
|
1394 <size> |
|
1395 <width>20</width> |
|
1396 <height>737</height> |
|
1397 </size> |
|
1398 </property> |
|
1399 </spacer> |
|
1400 </item> |
|
1401 </layout> |
|
1402 </widget> |
|
1403 </widget> |
|
1404 </item> |
|
1405 <item> |
|
1406 <widget class="Line" name="line"> |
|
1407 <property name="lineWidth"> |
|
1408 <number>2</number> |
|
1409 </property> |
|
1410 <property name="orientation"> |
|
1411 <enum>Qt::Vertical</enum> |
|
1412 </property> |
|
1413 </widget> |
|
1414 </item> |
|
1415 <item> |
|
1416 <layout class="QVBoxLayout" name="verticalLayout"> |
|
1417 <item> |
|
1418 <widget class="QPushButton" name="startButton"> |
|
1419 <property name="toolTip"> |
|
1420 <string>Press to start the code style check run</string> |
|
1421 </property> |
|
1422 <property name="text"> |
|
1423 <string>&Start</string> |
|
1424 </property> |
|
1425 </widget> |
|
1426 </item> |
|
1427 <item> |
|
1428 <spacer name="verticalSpacer"> |
|
1429 <property name="orientation"> |
|
1430 <enum>Qt::Vertical</enum> |
|
1431 </property> |
|
1432 <property name="sizeHint" stdset="0"> |
|
1433 <size> |
|
1434 <width>20</width> |
|
1435 <height>18</height> |
|
1436 </size> |
|
1437 </property> |
|
1438 </spacer> |
|
1439 </item> |
|
1440 <item> |
|
1441 <widget class="QPushButton" name="loadDefaultButton"> |
|
1442 <property name="toolTip"> |
|
1443 <string>Press to load the default values</string> |
|
1444 </property> |
|
1445 <property name="text"> |
|
1446 <string>&Load Defaults</string> |
|
1447 </property> |
|
1448 </widget> |
|
1449 </item> |
|
1450 <item> |
|
1451 <widget class="QPushButton" name="storeDefaultButton"> |
|
1452 <property name="toolTip"> |
|
1453 <string>Press to store the current values as defaults</string> |
|
1454 </property> |
|
1455 <property name="text"> |
|
1456 <string>St&ore Defaults</string> |
|
1457 </property> |
|
1458 </widget> |
|
1459 </item> |
|
1460 <item> |
|
1461 <widget class="QPushButton" name="resetDefaultButton"> |
|
1462 <property name="toolTip"> |
|
1463 <string>Press to reset the default values</string> |
|
1464 </property> |
|
1465 <property name="text"> |
|
1466 <string>&Reset Defaults</string> |
|
1467 </property> |
|
1468 </widget> |
|
1469 </item> |
|
1470 </layout> |
|
1471 </item> |
|
1472 </layout> |
|
1473 </widget> |
|
1474 <widget class="QWidget" name="progressTab"> |
|
1475 <attribute name="title"> |
|
1476 <string>Progress</string> |
|
1477 </attribute> |
|
1478 <layout class="QHBoxLayout" name="horizontalLayout_11"> |
|
1479 <item> |
|
1480 <layout class="QVBoxLayout" name="verticalLayout_12"> |
|
1481 <item> |
|
1482 <widget class="QListWidget" name="progressList"> |
|
1483 <property name="toolTip"> |
|
1484 <string>Shows the list of files still to be checked</string> |
|
1485 </property> |
|
1486 <property name="editTriggers"> |
|
1487 <set>QAbstractItemView::NoEditTriggers</set> |
|
1488 </property> |
|
1489 <property name="alternatingRowColors"> |
|
1490 <bool>true</bool> |
|
1491 </property> |
|
1492 <property name="selectionMode"> |
|
1493 <enum>QAbstractItemView::NoSelection</enum> |
|
1494 </property> |
|
1495 <property name="textElideMode"> |
|
1496 <enum>Qt::ElideMiddle</enum> |
|
1497 </property> |
|
1498 <property name="sortingEnabled"> |
|
1499 <bool>true</bool> |
|
1500 </property> |
|
1501 </widget> |
|
1502 </item> |
|
1503 <item> |
|
1504 <widget class="EricSqueezeLabelPath" name="checkProgressLabel"> |
|
1505 <property name="sizePolicy"> |
|
1506 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
1507 <horstretch>0</horstretch> |
|
1508 <verstretch>0</verstretch> |
|
1509 </sizepolicy> |
|
1510 </property> |
|
1511 <property name="text"> |
|
1512 <string/> |
|
1513 </property> |
|
1514 </widget> |
|
1515 </item> |
|
1516 <item> |
|
1517 <widget class="QProgressBar" name="checkProgress"> |
|
1518 <property name="toolTip"> |
|
1519 <string>Shows the progress of the code style check</string> |
|
1520 </property> |
|
1521 <property name="value"> |
|
1522 <number>0</number> |
|
1523 </property> |
|
1524 <property name="orientation"> |
|
1525 <enum>Qt::Horizontal</enum> |
|
1526 </property> |
|
1527 <property name="format"> |
|
1528 <string>%v/%m Files</string> |
|
1529 </property> |
|
1530 </widget> |
|
1531 </item> |
|
1532 </layout> |
|
1533 </item> |
|
1534 <item> |
|
1535 <widget class="Line" name="line_3"> |
|
1536 <property name="lineWidth"> |
|
1537 <number>2</number> |
|
1538 </property> |
|
1539 <property name="orientation"> |
|
1540 <enum>Qt::Vertical</enum> |
|
1541 </property> |
|
1542 </widget> |
|
1543 </item> |
|
1544 <item> |
|
1545 <layout class="QVBoxLayout" name="verticalLayout_11"> |
|
1546 <item> |
|
1547 <widget class="QPushButton" name="cancelButton"> |
|
1548 <property name="text"> |
|
1549 <string>Cancel</string> |
|
1550 </property> |
|
1551 </widget> |
|
1552 </item> |
|
1553 <item> |
|
1554 <spacer name="verticalSpacer_5"> |
|
1555 <property name="orientation"> |
|
1556 <enum>Qt::Vertical</enum> |
|
1557 </property> |
|
1558 <property name="sizeHint" stdset="0"> |
|
1559 <size> |
|
1560 <width>20</width> |
|
1561 <height>40</height> |
|
1562 </size> |
|
1563 </property> |
|
1564 </spacer> |
|
1565 </item> |
|
1566 </layout> |
|
1567 </item> |
|
1568 </layout> |
|
1569 </widget> |
|
1570 <widget class="QWidget" name="resultsTab"> |
|
1571 <attribute name="title"> |
|
1572 <string>Results</string> |
|
1573 </attribute> |
|
1574 <layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
1575 <item> |
|
1576 <layout class="QVBoxLayout" name="verticalLayout_7"> |
|
1577 <item> |
|
1578 <widget class="QLabel" name="securityNoteLabel"> |
|
1579 <property name="text"> |
|
1580 <string><b>Note:</b> Mark reviewed security issues with a "<b># secok</b>" comment.</string> |
|
1581 </property> |
|
1582 </widget> |
|
1583 </item> |
|
1584 <item> |
|
1585 <widget class="QTreeWidget" name="resultList"> |
|
1586 <property name="sizePolicy"> |
|
1587 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
|
1588 <horstretch>0</horstretch> |
|
1589 <verstretch>6</verstretch> |
|
1590 </sizepolicy> |
|
1591 </property> |
|
1592 <property name="whatsThis"> |
|
1593 <string><b>Result List</b> |
|
1594 <p>This list shows the results of the code style check. Double clicking |
|
1595 an entry will open this entry in an editor window and position the cursor at |
|
1596 the respective line and position.</p></string> |
|
1597 </property> |
|
1598 <property name="alternatingRowColors"> |
|
1599 <bool>true</bool> |
|
1600 </property> |
|
1601 <property name="selectionMode"> |
|
1602 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
1603 </property> |
|
1604 <property name="sortingEnabled"> |
|
1605 <bool>true</bool> |
|
1606 </property> |
|
1607 <column> |
|
1608 <property name="text"> |
|
1609 <string>File/Line</string> |
|
1610 </property> |
|
1611 </column> |
|
1612 <column> |
|
1613 <property name="text"> |
|
1614 <string>Code</string> |
|
1615 </property> |
|
1616 </column> |
|
1617 <column> |
|
1618 <property name="text"> |
|
1619 <string>Message</string> |
|
1620 </property> |
|
1621 </column> |
|
1622 </widget> |
|
1623 </item> |
|
1624 </layout> |
|
1625 </item> |
|
1626 <item> |
|
1627 <widget class="Line" name="line_2"> |
|
1628 <property name="lineWidth"> |
|
1629 <number>2</number> |
|
1630 </property> |
|
1631 <property name="orientation"> |
|
1632 <enum>Qt::Vertical</enum> |
|
1633 </property> |
|
1634 </widget> |
|
1635 </item> |
|
1636 <item> |
|
1637 <layout class="QVBoxLayout" name="verticalLayout_8"> |
|
1638 <item> |
|
1639 <widget class="QPushButton" name="restartButton"> |
|
1640 <property name="toolTip"> |
|
1641 <string>Press to restart the code style check run</string> |
|
1642 </property> |
|
1643 <property name="text"> |
|
1644 <string>Restart</string> |
|
1645 </property> |
|
1646 </widget> |
|
1647 </item> |
|
1648 <item> |
|
1649 <widget class="QPushButton" name="fixButton"> |
|
1650 <property name="toolTip"> |
|
1651 <string>Press to fix the selected issues</string> |
|
1652 </property> |
|
1653 <property name="text"> |
|
1654 <string>&Fix Selected</string> |
|
1655 </property> |
|
1656 </widget> |
|
1657 </item> |
|
1658 <item> |
|
1659 <widget class="Line" name="line_4"> |
|
1660 <property name="lineWidth"> |
|
1661 <number>2</number> |
|
1662 </property> |
|
1663 <property name="orientation"> |
|
1664 <enum>Qt::Horizontal</enum> |
|
1665 </property> |
|
1666 </widget> |
|
1667 </item> |
|
1668 <item> |
|
1669 <widget class="QPushButton" name="showButton"> |
|
1670 <property name="toolTip"> |
|
1671 <string>Press to show all files containing an issue</string> |
|
1672 </property> |
|
1673 <property name="text"> |
|
1674 <string>Show</string> |
|
1675 </property> |
|
1676 </widget> |
|
1677 </item> |
|
1678 <item> |
|
1679 <widget class="QPushButton" name="statisticsButton"> |
|
1680 <property name="toolTip"> |
|
1681 <string>Press to show some statistics for the last run</string> |
|
1682 </property> |
|
1683 <property name="text"> |
|
1684 <string>Statistics...</string> |
|
1685 </property> |
|
1686 </widget> |
|
1687 </item> |
|
1688 <item> |
|
1689 <widget class="Line" name="line_5"> |
|
1690 <property name="orientation"> |
|
1691 <enum>Qt::Horizontal</enum> |
|
1692 </property> |
|
1693 </widget> |
|
1694 </item> |
|
1695 <item> |
|
1696 <widget class="QLabel" name="label_31"> |
|
1697 <property name="text"> |
|
1698 <string>Code Filter:</string> |
|
1699 </property> |
|
1700 </widget> |
|
1701 </item> |
|
1702 <item> |
|
1703 <widget class="QComboBox" name="filterComboBox"> |
|
1704 <property name="toolTip"> |
|
1705 <string>Select the message code to be shown (empty for all)</string> |
|
1706 </property> |
|
1707 </widget> |
|
1708 </item> |
|
1709 <item> |
|
1710 <widget class="QPushButton" name="filterButton"> |
|
1711 <property name="toolTip"> |
|
1712 <string>Press to filter the list of messages</string> |
|
1713 </property> |
|
1714 <property name="text"> |
|
1715 <string>Filter</string> |
|
1716 </property> |
|
1717 </widget> |
|
1718 </item> |
|
1719 <item> |
|
1720 <spacer name="verticalSpacer_4"> |
|
1721 <property name="orientation"> |
|
1722 <enum>Qt::Vertical</enum> |
|
1723 </property> |
|
1724 <property name="sizeHint" stdset="0"> |
|
1725 <size> |
|
1726 <width>20</width> |
|
1727 <height>18</height> |
|
1728 </size> |
|
1729 </property> |
|
1730 </spacer> |
|
1731 </item> |
|
1732 </layout> |
|
1733 </item> |
|
1734 </layout> |
|
1735 </widget> |
|
1736 </widget> |
|
1737 </item> |
|
1738 <item> |
|
1739 <widget class="QDialogButtonBox" name="buttonBox"> |
|
1740 <property name="orientation"> |
|
1741 <enum>Qt::Horizontal</enum> |
|
1742 </property> |
|
1743 <property name="standardButtons"> |
|
1744 <set>QDialogButtonBox::Close</set> |
|
1745 </property> |
|
1746 </widget> |
|
1747 </item> |
|
1748 </layout> |
|
1749 </widget> |
|
1750 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
1751 <customwidgets> |
|
1752 <customwidget> |
|
1753 <class>EricSqueezeLabelPath</class> |
|
1754 <extends>QLabel</extends> |
|
1755 <header>EricWidgets/EricSqueezeLabels.h</header> |
|
1756 </customwidget> |
|
1757 </customwidgets> |
|
1758 <tabstops> |
|
1759 <tabstop>mainWidget</tabstop> |
|
1760 <tabstop>optionsTabWidget</tabstop> |
|
1761 <tabstop>categoriesList</tabstop> |
|
1762 <tabstop>excludeFilesEdit</tabstop> |
|
1763 <tabstop>excludeMessagesEdit</tabstop> |
|
1764 <tabstop>excludeMessagesSelectButton</tabstop> |
|
1765 <tabstop>includeMessagesEdit</tabstop> |
|
1766 <tabstop>includeMessagesSelectButton</tabstop> |
|
1767 <tabstop>fixIssuesEdit</tabstop> |
|
1768 <tabstop>fixIssuesSelectButton</tabstop> |
|
1769 <tabstop>noFixIssuesEdit</tabstop> |
|
1770 <tabstop>noFixIssuesSelectButton</tabstop> |
|
1771 <tabstop>repeatCheckBox</tabstop> |
|
1772 <tabstop>fixIssuesCheckBox</tabstop> |
|
1773 <tabstop>ignoredCheckBox</tabstop> |
|
1774 <tabstop>scrollArea</tabstop> |
|
1775 <tabstop>lineLengthSpinBox</tabstop> |
|
1776 <tabstop>docLineLengthSpinBox</tabstop> |
|
1777 <tabstop>blankBeforeTopLevelSpinBox</tabstop> |
|
1778 <tabstop>blankBeforeMethodSpinBox</tabstop> |
|
1779 <tabstop>hangClosingCheckBox</tabstop> |
|
1780 <tabstop>docTypeComboBox</tabstop> |
|
1781 <tabstop>encodingsEdit</tabstop> |
|
1782 <tabstop>copyrightFileSizeSpinBox</tabstop> |
|
1783 <tabstop>copyrightAuthorEdit</tabstop> |
|
1784 <tabstop>futuresList</tabstop> |
|
1785 <tabstop>builtinsAssignmentList</tabstop> |
|
1786 <tabstop>addBuiltinButton</tabstop> |
|
1787 <tabstop>deleteBuiltinButton</tabstop> |
|
1788 <tabstop>aggressiveCheckBox</tabstop> |
|
1789 <tabstop>whitelistWidget</tabstop> |
|
1790 <tabstop>addWhitelistButton</tabstop> |
|
1791 <tabstop>deleteWhitelistButton</tabstop> |
|
1792 <tabstop>complexitySpinBox</tabstop> |
|
1793 <tabstop>lineComplexitySpinBox</tabstop> |
|
1794 <tabstop>lineComplexityScoreSpinBox</tabstop> |
|
1795 <tabstop>minAnnotationsCoverageSpinBox</tabstop> |
|
1796 <tabstop>maxAnnotationsComplexitySpinBox</tabstop> |
|
1797 <tabstop>maxAnnotationsLengthSpinBox</tabstop> |
|
1798 <tabstop>suppressNoneReturningCheckBox</tabstop> |
|
1799 <tabstop>allowUntypedDefsCheckBox</tabstop> |
|
1800 <tabstop>mypyInitReturnCheckBox</tabstop> |
|
1801 <tabstop>suppressDummyArgsCheckBox</tabstop> |
|
1802 <tabstop>allowUntypedNestedCheckBox</tabstop> |
|
1803 <tabstop>dispatchDecoratorEdit</tabstop> |
|
1804 <tabstop>overloadDecoratorEdit</tabstop> |
|
1805 <tabstop>tmpDirectoriesEdit</tabstop> |
|
1806 <tabstop>hashesEdit</tabstop> |
|
1807 <tabstop>insecureSslProtocolsEdit</tabstop> |
|
1808 <tabstop>dsaHighRiskCombo</tabstop> |
|
1809 <tabstop>dsaMediumRiskCombo</tabstop> |
|
1810 <tabstop>rsaHighRiskCombo</tabstop> |
|
1811 <tabstop>rsaMediumRiskCombo</tabstop> |
|
1812 <tabstop>ecHighRiskCombo</tabstop> |
|
1813 <tabstop>ecMediumRiskCombo</tabstop> |
|
1814 <tabstop>typedExceptionsCheckBox</tabstop> |
|
1815 <tabstop>appPackagesEdit</tabstop> |
|
1816 <tabstop>bannedModulesEdit</tabstop> |
|
1817 <tabstop>allowAllButton</tabstop> |
|
1818 <tabstop>banParentsButton</tabstop> |
|
1819 <tabstop>banAllButton</tabstop> |
|
1820 <tabstop>startButton</tabstop> |
|
1821 <tabstop>loadDefaultButton</tabstop> |
|
1822 <tabstop>storeDefaultButton</tabstop> |
|
1823 <tabstop>resetDefaultButton</tabstop> |
|
1824 <tabstop>progressList</tabstop> |
|
1825 <tabstop>cancelButton</tabstop> |
|
1826 <tabstop>resultList</tabstop> |
|
1827 <tabstop>restartButton</tabstop> |
|
1828 <tabstop>fixButton</tabstop> |
|
1829 <tabstop>showButton</tabstop> |
|
1830 <tabstop>statisticsButton</tabstop> |
|
1831 <tabstop>filterComboBox</tabstop> |
|
1832 <tabstop>filterButton</tabstop> |
|
1833 </tabstops> |
|
1834 <resources/> |
|
1835 <connections> |
|
1836 <connection> |
|
1837 <sender>repeatCheckBox</sender> |
|
1838 <signal>toggled(bool)</signal> |
|
1839 <receiver>fixIssuesCheckBox</receiver> |
|
1840 <slot>setEnabled(bool)</slot> |
|
1841 <hints> |
|
1842 <hint type="sourcelabel"> |
|
1843 <x>132</x> |
|
1844 <y>286</y> |
|
1845 </hint> |
|
1846 <hint type="destinationlabel"> |
|
1847 <x>343</x> |
|
1848 <y>286</y> |
|
1849 </hint> |
|
1850 </hints> |
|
1851 </connection> |
|
1852 <connection> |
|
1853 <sender>repeatCheckBox</sender> |
|
1854 <signal>toggled(bool)</signal> |
|
1855 <receiver>ignoredCheckBox</receiver> |
|
1856 <slot>setEnabled(bool)</slot> |
|
1857 <hints> |
|
1858 <hint type="sourcelabel"> |
|
1859 <x>138</x> |
|
1860 <y>269</y> |
|
1861 </hint> |
|
1862 <hint type="destinationlabel"> |
|
1863 <x>380</x> |
|
1864 <y>271</y> |
|
1865 </hint> |
|
1866 </hints> |
|
1867 </connection> |
|
1868 </connections> |
|
1869 </ui> |