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