|
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>700</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_6"> |
|
25 <item> |
|
26 <widget class="QFrame" name="filterFrame"> |
|
27 <property name="sizePolicy"> |
|
28 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
|
29 <horstretch>0</horstretch> |
|
30 <verstretch>4</verstretch> |
|
31 </sizepolicy> |
|
32 </property> |
|
33 <property name="frameShape"> |
|
34 <enum>QFrame::NoFrame</enum> |
|
35 </property> |
|
36 <layout class="QHBoxLayout" name="horizontalLayout_5"> |
|
37 <property name="leftMargin"> |
|
38 <number>0</number> |
|
39 </property> |
|
40 <property name="topMargin"> |
|
41 <number>0</number> |
|
42 </property> |
|
43 <property name="rightMargin"> |
|
44 <number>0</number> |
|
45 </property> |
|
46 <property name="bottomMargin"> |
|
47 <number>0</number> |
|
48 </property> |
|
49 <item> |
|
50 <widget class="QTabWidget" name="optionsTabWidget"> |
|
51 <property name="currentIndex"> |
|
52 <number>0</number> |
|
53 </property> |
|
54 <widget class="QWidget" name="tab_1"> |
|
55 <attribute name="title"> |
|
56 <string>Global Options</string> |
|
57 </attribute> |
|
58 <layout class="QGridLayout" name="gridLayout_2"> |
|
59 <item row="0" column="0"> |
|
60 <widget class="QLabel" name="label_2"> |
|
61 <property name="text"> |
|
62 <string>Exclude Files:</string> |
|
63 </property> |
|
64 </widget> |
|
65 </item> |
|
66 <item row="0" column="1"> |
|
67 <widget class="E5ClearableLineEdit" name="excludeFilesEdit"> |
|
68 <property name="toolTip"> |
|
69 <string>Enter filename patterns of files to be excluded separated by a comma</string> |
|
70 </property> |
|
71 </widget> |
|
72 </item> |
|
73 <item row="1" column="0"> |
|
74 <widget class="QLabel" name="label"> |
|
75 <property name="text"> |
|
76 <string>Exclude Messages:</string> |
|
77 </property> |
|
78 </widget> |
|
79 </item> |
|
80 <item row="1" column="1"> |
|
81 <widget class="E5ClearableLineEdit" name="excludeMessagesEdit"> |
|
82 <property name="toolTip"> |
|
83 <string>Enter message codes or categories to be excluded separated by a comma</string> |
|
84 </property> |
|
85 </widget> |
|
86 </item> |
|
87 <item row="1" column="2"> |
|
88 <widget class="QToolButton" name="excludeMessagesSelectButton"> |
|
89 <property name="toolTip"> |
|
90 <string>Press to select the message codes from a list</string> |
|
91 </property> |
|
92 </widget> |
|
93 </item> |
|
94 <item row="2" column="0"> |
|
95 <widget class="QLabel" name="label_3"> |
|
96 <property name="text"> |
|
97 <string>Included Messages:</string> |
|
98 </property> |
|
99 </widget> |
|
100 </item> |
|
101 <item row="2" column="1"> |
|
102 <widget class="E5ClearableLineEdit" name="includeMessagesEdit"> |
|
103 <property name="toolTip"> |
|
104 <string>Enter message codes or categories to be included separated by a comma</string> |
|
105 </property> |
|
106 </widget> |
|
107 </item> |
|
108 <item row="2" column="2"> |
|
109 <widget class="QToolButton" name="includeMessagesSelectButton"> |
|
110 <property name="toolTip"> |
|
111 <string>Press to select the message codes from a list</string> |
|
112 </property> |
|
113 </widget> |
|
114 </item> |
|
115 <item row="3" column="0"> |
|
116 <widget class="QLabel" name="label_4"> |
|
117 <property name="text"> |
|
118 <string>Fix Issues:</string> |
|
119 </property> |
|
120 </widget> |
|
121 </item> |
|
122 <item row="3" column="1"> |
|
123 <widget class="E5ClearableLineEdit" name="fixIssuesEdit"> |
|
124 <property name="toolTip"> |
|
125 <string>Enter message codes of issues to be fixed automatically (leave empty to fix all)</string> |
|
126 </property> |
|
127 </widget> |
|
128 </item> |
|
129 <item row="3" column="2"> |
|
130 <widget class="QToolButton" name="fixIssuesSelectButton"> |
|
131 <property name="toolTip"> |
|
132 <string>Press to select the message codes from a list</string> |
|
133 </property> |
|
134 </widget> |
|
135 </item> |
|
136 <item row="4" column="0"> |
|
137 <widget class="QLabel" name="label_6"> |
|
138 <property name="text"> |
|
139 <string>Don't Fix Issues:</string> |
|
140 </property> |
|
141 </widget> |
|
142 </item> |
|
143 <item row="4" column="1"> |
|
144 <widget class="E5ClearableLineEdit" name="noFixIssuesEdit"> |
|
145 <property name="toolTip"> |
|
146 <string>Enter message codes of issues not to be fixed automatically</string> |
|
147 </property> |
|
148 </widget> |
|
149 </item> |
|
150 <item row="4" column="2"> |
|
151 <widget class="QToolButton" name="noFixIssuesSelectButton"> |
|
152 <property name="toolTip"> |
|
153 <string>Press to select the message codes from a list</string> |
|
154 </property> |
|
155 </widget> |
|
156 </item> |
|
157 <item row="5" column="0" colspan="3"> |
|
158 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
159 <item> |
|
160 <widget class="QCheckBox" name="repeatCheckBox"> |
|
161 <property name="toolTip"> |
|
162 <string>Select to repeat each message type</string> |
|
163 </property> |
|
164 <property name="text"> |
|
165 <string>Repeat messages</string> |
|
166 </property> |
|
167 </widget> |
|
168 </item> |
|
169 <item> |
|
170 <widget class="QCheckBox" name="fixIssuesCheckBox"> |
|
171 <property name="enabled"> |
|
172 <bool>false</bool> |
|
173 </property> |
|
174 <property name="toolTip"> |
|
175 <string>Select to fix some issues</string> |
|
176 </property> |
|
177 <property name="text"> |
|
178 <string>Fix issues automatically</string> |
|
179 </property> |
|
180 </widget> |
|
181 </item> |
|
182 <item> |
|
183 <widget class="QCheckBox" name="ignoredCheckBox"> |
|
184 <property name="enabled"> |
|
185 <bool>false</bool> |
|
186 </property> |
|
187 <property name="toolTip"> |
|
188 <string>Select to show ignored issues</string> |
|
189 </property> |
|
190 <property name="text"> |
|
191 <string>Show ignored</string> |
|
192 </property> |
|
193 </widget> |
|
194 </item> |
|
195 <item> |
|
196 <spacer name="horizontalSpacer"> |
|
197 <property name="orientation"> |
|
198 <enum>Qt::Horizontal</enum> |
|
199 </property> |
|
200 <property name="sizeHint" stdset="0"> |
|
201 <size> |
|
202 <width>40</width> |
|
203 <height>20</height> |
|
204 </size> |
|
205 </property> |
|
206 </spacer> |
|
207 </item> |
|
208 </layout> |
|
209 </item> |
|
210 <item row="6" column="0" colspan="2"> |
|
211 <spacer name="verticalSpacer_2"> |
|
212 <property name="orientation"> |
|
213 <enum>Qt::Vertical</enum> |
|
214 </property> |
|
215 <property name="sizeHint" stdset="0"> |
|
216 <size> |
|
217 <width>20</width> |
|
218 <height>68</height> |
|
219 </size> |
|
220 </property> |
|
221 </spacer> |
|
222 </item> |
|
223 </layout> |
|
224 </widget> |
|
225 <widget class="QWidget" name="tab_2"> |
|
226 <attribute name="title"> |
|
227 <string>Specific Options</string> |
|
228 </attribute> |
|
229 <layout class="QVBoxLayout" name="verticalLayout_4"> |
|
230 <property name="leftMargin"> |
|
231 <number>1</number> |
|
232 </property> |
|
233 <property name="topMargin"> |
|
234 <number>1</number> |
|
235 </property> |
|
236 <property name="rightMargin"> |
|
237 <number>1</number> |
|
238 </property> |
|
239 <property name="bottomMargin"> |
|
240 <number>1</number> |
|
241 </property> |
|
242 <item> |
|
243 <widget class="QScrollArea" name="scrollArea"> |
|
244 <property name="frameShape"> |
|
245 <enum>QFrame::NoFrame</enum> |
|
246 </property> |
|
247 <property name="frameShadow"> |
|
248 <enum>QFrame::Plain</enum> |
|
249 </property> |
|
250 <property name="verticalScrollBarPolicy"> |
|
251 <enum>Qt::ScrollBarAlwaysOn</enum> |
|
252 </property> |
|
253 <property name="widgetResizable"> |
|
254 <bool>true</bool> |
|
255 </property> |
|
256 <widget class="QWidget" name="scrollAreaWidgetContents"> |
|
257 <property name="geometry"> |
|
258 <rect> |
|
259 <x>0</x> |
|
260 <y>-581</y> |
|
261 <width>549</width> |
|
262 <height>916</height> |
|
263 </rect> |
|
264 </property> |
|
265 <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
266 <item> |
|
267 <widget class="QGroupBox" name="groupBox"> |
|
268 <property name="title"> |
|
269 <string>Source Style</string> |
|
270 </property> |
|
271 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
272 <item> |
|
273 <layout class="QGridLayout" name="gridLayout_5"> |
|
274 <item row="0" column="0"> |
|
275 <widget class="QLabel" name="label_5"> |
|
276 <property name="text"> |
|
277 <string>Max. Line Length:</string> |
|
278 </property> |
|
279 </widget> |
|
280 </item> |
|
281 <item row="0" column="1"> |
|
282 <widget class="QSpinBox" name="lineLengthSpinBox"> |
|
283 <property name="toolTip"> |
|
284 <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string> |
|
285 </property> |
|
286 <property name="alignment"> |
|
287 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
288 </property> |
|
289 <property name="minimum"> |
|
290 <number>60</number> |
|
291 </property> |
|
292 <property name="maximum"> |
|
293 <number>119</number> |
|
294 </property> |
|
295 <property name="value"> |
|
296 <number>79</number> |
|
297 </property> |
|
298 </widget> |
|
299 </item> |
|
300 <item row="1" column="0"> |
|
301 <widget class="QLabel" name="label_17"> |
|
302 <property name="text"> |
|
303 <string>Max. Documentation Line Length:</string> |
|
304 </property> |
|
305 </widget> |
|
306 </item> |
|
307 <item row="1" column="1"> |
|
308 <widget class="QSpinBox" name="docLineLengthSpinBox"> |
|
309 <property name="toolTip"> |
|
310 <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string> |
|
311 </property> |
|
312 <property name="alignment"> |
|
313 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
314 </property> |
|
315 <property name="minimum"> |
|
316 <number>60</number> |
|
317 </property> |
|
318 <property name="maximum"> |
|
319 <number>119</number> |
|
320 </property> |
|
321 <property name="value"> |
|
322 <number>79</number> |
|
323 </property> |
|
324 </widget> |
|
325 </item> |
|
326 <item row="0" column="2"> |
|
327 <spacer name="horizontalSpacer_3"> |
|
328 <property name="orientation"> |
|
329 <enum>Qt::Horizontal</enum> |
|
330 </property> |
|
331 <property name="sizeHint" stdset="0"> |
|
332 <size> |
|
333 <width>40</width> |
|
334 <height>20</height> |
|
335 </size> |
|
336 </property> |
|
337 </spacer> |
|
338 </item> |
|
339 </layout> |
|
340 </item> |
|
341 <item> |
|
342 <widget class="QGroupBox" name="groupBox_8"> |
|
343 <property name="title"> |
|
344 <string>Blank Lines Before</string> |
|
345 </property> |
|
346 <layout class="QGridLayout" name="gridLayout_3"> |
|
347 <item row="0" column="0"> |
|
348 <widget class="QLabel" name="label_15"> |
|
349 <property name="text"> |
|
350 <string>Top Level Classes and Functions:</string> |
|
351 </property> |
|
352 </widget> |
|
353 </item> |
|
354 <item row="0" column="1"> |
|
355 <widget class="QSpinBox" name="blankBeforeTopLevelSpinBox"> |
|
356 <property name="toolTip"> |
|
357 <string>Enter the number of blank lines before top level classes and functions</string> |
|
358 </property> |
|
359 <property name="alignment"> |
|
360 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
361 </property> |
|
362 <property name="minimum"> |
|
363 <number>1</number> |
|
364 </property> |
|
365 <property name="maximum"> |
|
366 <number>10</number> |
|
367 </property> |
|
368 <property name="value"> |
|
369 <number>2</number> |
|
370 </property> |
|
371 </widget> |
|
372 </item> |
|
373 <item row="0" column="2"> |
|
374 <spacer name="horizontalSpacer_6"> |
|
375 <property name="orientation"> |
|
376 <enum>Qt::Horizontal</enum> |
|
377 </property> |
|
378 <property name="sizeHint" stdset="0"> |
|
379 <size> |
|
380 <width>153</width> |
|
381 <height>20</height> |
|
382 </size> |
|
383 </property> |
|
384 </spacer> |
|
385 </item> |
|
386 <item row="1" column="0"> |
|
387 <widget class="QLabel" name="label_16"> |
|
388 <property name="text"> |
|
389 <string>Methods and Nested Classes and Functions:</string> |
|
390 </property> |
|
391 </widget> |
|
392 </item> |
|
393 <item row="1" column="1"> |
|
394 <widget class="QSpinBox" name="blankBeforeMethodSpinBox"> |
|
395 <property name="toolTip"> |
|
396 <string>Enter the number of blank lines before methods and nested classes or functions</string> |
|
397 </property> |
|
398 <property name="alignment"> |
|
399 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
400 </property> |
|
401 <property name="minimum"> |
|
402 <number>1</number> |
|
403 </property> |
|
404 <property name="maximum"> |
|
405 <number>10</number> |
|
406 </property> |
|
407 <property name="value"> |
|
408 <number>1</number> |
|
409 </property> |
|
410 </widget> |
|
411 </item> |
|
412 </layout> |
|
413 </widget> |
|
414 </item> |
|
415 <item> |
|
416 <widget class="QCheckBox" name="hangClosingCheckBox"> |
|
417 <property name="toolTip"> |
|
418 <string>Select to allow hanging closing brackets</string> |
|
419 </property> |
|
420 <property name="text"> |
|
421 <string>Allow hanging closing brackets</string> |
|
422 </property> |
|
423 </widget> |
|
424 </item> |
|
425 </layout> |
|
426 </widget> |
|
427 </item> |
|
428 <item> |
|
429 <widget class="QGroupBox" name="groupBox_2"> |
|
430 <property name="title"> |
|
431 <string>Documentation Style</string> |
|
432 </property> |
|
433 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
434 <item> |
|
435 <widget class="QLabel" name="label_7"> |
|
436 <property name="text"> |
|
437 <string>Docstring Type:</string> |
|
438 </property> |
|
439 </widget> |
|
440 </item> |
|
441 <item> |
|
442 <widget class="QComboBox" name="docTypeComboBox"> |
|
443 <property name="toolTip"> |
|
444 <string>Select the rule set for docstrings</string> |
|
445 </property> |
|
446 </widget> |
|
447 </item> |
|
448 <item> |
|
449 <spacer name="horizontalSpacer_4"> |
|
450 <property name="orientation"> |
|
451 <enum>Qt::Horizontal</enum> |
|
452 </property> |
|
453 <property name="sizeHint" stdset="0"> |
|
454 <size> |
|
455 <width>297</width> |
|
456 <height>20</height> |
|
457 </size> |
|
458 </property> |
|
459 </spacer> |
|
460 </item> |
|
461 </layout> |
|
462 </widget> |
|
463 </item> |
|
464 <item> |
|
465 <widget class="QGroupBox" name="groupBox_4"> |
|
466 <property name="title"> |
|
467 <string>Coding Line</string> |
|
468 </property> |
|
469 <layout class="QHBoxLayout" name="horizontalLayout_6"> |
|
470 <item> |
|
471 <widget class="QLabel" name="label_9"> |
|
472 <property name="text"> |
|
473 <string>Valid Encodings:</string> |
|
474 </property> |
|
475 </widget> |
|
476 </item> |
|
477 <item> |
|
478 <widget class="E5ClearableLineEdit" name="encodingsEdit"> |
|
479 <property name="toolTip"> |
|
480 <string>Enter valid encodings separated by a comma (leave empty to use defaults)</string> |
|
481 </property> |
|
482 </widget> |
|
483 </item> |
|
484 </layout> |
|
485 </widget> |
|
486 </item> |
|
487 <item> |
|
488 <widget class="QGroupBox" name="groupBox_5"> |
|
489 <property name="title"> |
|
490 <string>Copyright</string> |
|
491 </property> |
|
492 <layout class="QGridLayout" name="gridLayout"> |
|
493 <item row="0" column="0"> |
|
494 <widget class="QLabel" name="label_10"> |
|
495 <property name="text"> |
|
496 <string>Min. File Size:</string> |
|
497 </property> |
|
498 </widget> |
|
499 </item> |
|
500 <item row="0" column="1"> |
|
501 <widget class="QSpinBox" name="copyrightFileSizeSpinBox"> |
|
502 <property name="toolTip"> |
|
503 <string>Enter the minimum size a file must have to be checked (0 for all files)</string> |
|
504 </property> |
|
505 <property name="alignment"> |
|
506 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
507 </property> |
|
508 <property name="maximum"> |
|
509 <number>4096</number> |
|
510 </property> |
|
511 </widget> |
|
512 </item> |
|
513 <item row="0" column="2"> |
|
514 <spacer name="horizontalSpacer_2"> |
|
515 <property name="orientation"> |
|
516 <enum>Qt::Horizontal</enum> |
|
517 </property> |
|
518 <property name="sizeHint" stdset="0"> |
|
519 <size> |
|
520 <width>324</width> |
|
521 <height>20</height> |
|
522 </size> |
|
523 </property> |
|
524 </spacer> |
|
525 </item> |
|
526 <item row="1" column="0"> |
|
527 <widget class="QLabel" name="label_11"> |
|
528 <property name="text"> |
|
529 <string>Author:</string> |
|
530 </property> |
|
531 </widget> |
|
532 </item> |
|
533 <item row="1" column="1" colspan="2"> |
|
534 <widget class="E5ClearableLineEdit" name="copyrightAuthorEdit"> |
|
535 <property name="toolTip"> |
|
536 <string>Enter a copyright author name to check for (leave empty to omit this check)</string> |
|
537 </property> |
|
538 </widget> |
|
539 </item> |
|
540 </layout> |
|
541 </widget> |
|
542 </item> |
|
543 <item> |
|
544 <widget class="QGroupBox" name="groupBox_6"> |
|
545 <property name="title"> |
|
546 <string>Future Imports</string> |
|
547 </property> |
|
548 <layout class="QHBoxLayout" name="horizontalLayout_7"> |
|
549 <item> |
|
550 <widget class="QLabel" name="label_12"> |
|
551 <property name="text"> |
|
552 <string>Expected Imports:</string> |
|
553 </property> |
|
554 <property name="alignment"> |
|
555 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
|
556 </property> |
|
557 </widget> |
|
558 </item> |
|
559 <item> |
|
560 <widget class="QListWidget" name="futuresList"> |
|
561 <property name="alternatingRowColors"> |
|
562 <bool>true</bool> |
|
563 </property> |
|
564 <property name="selectionMode"> |
|
565 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
566 </property> |
|
567 <property name="sortingEnabled"> |
|
568 <bool>true</bool> |
|
569 </property> |
|
570 </widget> |
|
571 </item> |
|
572 </layout> |
|
573 </widget> |
|
574 </item> |
|
575 <item> |
|
576 <widget class="QGroupBox" name="groupBox_7"> |
|
577 <property name="title"> |
|
578 <string>Ignore Built-ins Assignment</string> |
|
579 </property> |
|
580 <layout class="QHBoxLayout" name="horizontalLayout_8"> |
|
581 <item> |
|
582 <widget class="QTreeWidget" name="builtinsAssignmentList"> |
|
583 <property name="alternatingRowColors"> |
|
584 <bool>true</bool> |
|
585 </property> |
|
586 <property name="rootIsDecorated"> |
|
587 <bool>false</bool> |
|
588 </property> |
|
589 <property name="sortingEnabled"> |
|
590 <bool>true</bool> |
|
591 </property> |
|
592 <column> |
|
593 <property name="text"> |
|
594 <string>Left</string> |
|
595 </property> |
|
596 </column> |
|
597 <column> |
|
598 <property name="text"> |
|
599 <string>Right</string> |
|
600 </property> |
|
601 </column> |
|
602 </widget> |
|
603 </item> |
|
604 <item> |
|
605 <layout class="QVBoxLayout" name="verticalLayout_5"> |
|
606 <item alignment="Qt::AlignHCenter"> |
|
607 <widget class="QToolButton" name="addBuiltinButton"> |
|
608 <property name="toolTip"> |
|
609 <string>Press to add a built-in assignment to be ignored</string> |
|
610 </property> |
|
611 <property name="text"> |
|
612 <string notr="true">+</string> |
|
613 </property> |
|
614 </widget> |
|
615 </item> |
|
616 <item alignment="Qt::AlignHCenter"> |
|
617 <widget class="QToolButton" name="deleteBuiltinButton"> |
|
618 <property name="toolTip"> |
|
619 <string>Press to delete the selected entries</string> |
|
620 </property> |
|
621 <property name="text"> |
|
622 <string notr="true">-</string> |
|
623 </property> |
|
624 </widget> |
|
625 </item> |
|
626 <item> |
|
627 <spacer name="verticalSpacer_3"> |
|
628 <property name="orientation"> |
|
629 <enum>Qt::Vertical</enum> |
|
630 </property> |
|
631 <property name="sizeHint" stdset="0"> |
|
632 <size> |
|
633 <width>20</width> |
|
634 <height>40</height> |
|
635 </size> |
|
636 </property> |
|
637 </spacer> |
|
638 </item> |
|
639 </layout> |
|
640 </item> |
|
641 </layout> |
|
642 </widget> |
|
643 </item> |
|
644 <item> |
|
645 <widget class="QGroupBox" name="groupBox_3"> |
|
646 <property name="title"> |
|
647 <string>Code Complexity</string> |
|
648 </property> |
|
649 <layout class="QGridLayout" name="gridLayout_4"> |
|
650 <item row="0" column="2" rowspan="2"> |
|
651 <spacer name="horizontalSpacer_5"> |
|
652 <property name="orientation"> |
|
653 <enum>Qt::Horizontal</enum> |
|
654 </property> |
|
655 <property name="sizeHint" stdset="0"> |
|
656 <size> |
|
657 <width>313</width> |
|
658 <height>20</height> |
|
659 </size> |
|
660 </property> |
|
661 </spacer> |
|
662 </item> |
|
663 <item row="0" column="0"> |
|
664 <widget class="QLabel" name="label_8"> |
|
665 <property name="text"> |
|
666 <string>Max. McCabe Complexity:</string> |
|
667 </property> |
|
668 </widget> |
|
669 </item> |
|
670 <item row="0" column="1"> |
|
671 <widget class="QSpinBox" name="complexitySpinBox"> |
|
672 <property name="toolTip"> |
|
673 <string>Enter the maximum allowed code complexity (McCabe: 10)</string> |
|
674 </property> |
|
675 <property name="alignment"> |
|
676 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
677 </property> |
|
678 <property name="maximum"> |
|
679 <number>100</number> |
|
680 </property> |
|
681 <property name="value"> |
|
682 <number>10</number> |
|
683 </property> |
|
684 </widget> |
|
685 </item> |
|
686 <item row="1" column="0"> |
|
687 <widget class="QLabel" name="label_13"> |
|
688 <property name="text"> |
|
689 <string>Max. Line Complexity:</string> |
|
690 </property> |
|
691 </widget> |
|
692 </item> |
|
693 <item row="1" column="1"> |
|
694 <widget class="QSpinBox" name="lineComplexitySpinBox"> |
|
695 <property name="toolTip"> |
|
696 <string>Enter the maximum complexity (number of nodes) for a line of code</string> |
|
697 </property> |
|
698 <property name="alignment"> |
|
699 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
700 </property> |
|
701 <property name="maximum"> |
|
702 <number>100</number> |
|
703 </property> |
|
704 <property name="value"> |
|
705 <number>15</number> |
|
706 </property> |
|
707 </widget> |
|
708 </item> |
|
709 <item row="2" column="0"> |
|
710 <widget class="QLabel" name="label_14"> |
|
711 <property name="text"> |
|
712 <string>Max. Line Complexity Score:</string> |
|
713 </property> |
|
714 </widget> |
|
715 </item> |
|
716 <item row="2" column="1"> |
|
717 <widget class="QSpinBox" name="lineComplexityScoreSpinBox"> |
|
718 <property name="toolTip"> |
|
719 <string>Enter the maximum allowed median for line complexity</string> |
|
720 </property> |
|
721 <property name="alignment"> |
|
722 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
723 </property> |
|
724 <property name="maximum"> |
|
725 <number>100</number> |
|
726 </property> |
|
727 <property name="value"> |
|
728 <number>10</number> |
|
729 </property> |
|
730 </widget> |
|
731 </item> |
|
732 </layout> |
|
733 </widget> |
|
734 </item> |
|
735 </layout> |
|
736 </widget> |
|
737 </widget> |
|
738 </item> |
|
739 </layout> |
|
740 </widget> |
|
741 </widget> |
|
742 </item> |
|
743 <item> |
|
744 <widget class="Line" name="line"> |
|
745 <property name="lineWidth"> |
|
746 <number>2</number> |
|
747 </property> |
|
748 <property name="orientation"> |
|
749 <enum>Qt::Vertical</enum> |
|
750 </property> |
|
751 </widget> |
|
752 </item> |
|
753 <item> |
|
754 <layout class="QVBoxLayout" name="verticalLayout"> |
|
755 <item> |
|
756 <widget class="QPushButton" name="startButton"> |
|
757 <property name="toolTip"> |
|
758 <string>Press to start the code style check run</string> |
|
759 </property> |
|
760 <property name="text"> |
|
761 <string>&Start</string> |
|
762 </property> |
|
763 </widget> |
|
764 </item> |
|
765 <item> |
|
766 <widget class="QPushButton" name="fixButton"> |
|
767 <property name="toolTip"> |
|
768 <string>Press to fix the selected issues</string> |
|
769 </property> |
|
770 <property name="text"> |
|
771 <string>&Fix Selected</string> |
|
772 </property> |
|
773 </widget> |
|
774 </item> |
|
775 <item> |
|
776 <spacer name="verticalSpacer"> |
|
777 <property name="orientation"> |
|
778 <enum>Qt::Vertical</enum> |
|
779 </property> |
|
780 <property name="sizeHint" stdset="0"> |
|
781 <size> |
|
782 <width>20</width> |
|
783 <height>18</height> |
|
784 </size> |
|
785 </property> |
|
786 </spacer> |
|
787 </item> |
|
788 <item> |
|
789 <widget class="QPushButton" name="loadDefaultButton"> |
|
790 <property name="toolTip"> |
|
791 <string>Press to load the default values</string> |
|
792 </property> |
|
793 <property name="text"> |
|
794 <string>&Load Defaults</string> |
|
795 </property> |
|
796 </widget> |
|
797 </item> |
|
798 <item> |
|
799 <widget class="QPushButton" name="storeDefaultButton"> |
|
800 <property name="toolTip"> |
|
801 <string>Press to store the current values as defaults</string> |
|
802 </property> |
|
803 <property name="text"> |
|
804 <string>St&ore Defaults</string> |
|
805 </property> |
|
806 </widget> |
|
807 </item> |
|
808 <item> |
|
809 <widget class="QPushButton" name="resetDefaultButton"> |
|
810 <property name="toolTip"> |
|
811 <string>Press to reset the default values</string> |
|
812 </property> |
|
813 <property name="text"> |
|
814 <string>&Reset Defaults</string> |
|
815 </property> |
|
816 </widget> |
|
817 </item> |
|
818 </layout> |
|
819 </item> |
|
820 </layout> |
|
821 </widget> |
|
822 </item> |
|
823 <item> |
|
824 <widget class="QTreeWidget" name="resultList"> |
|
825 <property name="sizePolicy"> |
|
826 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
|
827 <horstretch>0</horstretch> |
|
828 <verstretch>6</verstretch> |
|
829 </sizepolicy> |
|
830 </property> |
|
831 <property name="whatsThis"> |
|
832 <string><b>Result List</b> |
|
833 <p>This list shows the results of the code style check. Double clicking |
|
834 an entry will open this entry in an editor window and position the cursor at |
|
835 the respective line and position.</p></string> |
|
836 </property> |
|
837 <property name="alternatingRowColors"> |
|
838 <bool>true</bool> |
|
839 </property> |
|
840 <property name="selectionMode"> |
|
841 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
842 </property> |
|
843 <property name="sortingEnabled"> |
|
844 <bool>true</bool> |
|
845 </property> |
|
846 <column> |
|
847 <property name="text"> |
|
848 <string>File/Line</string> |
|
849 </property> |
|
850 </column> |
|
851 <column> |
|
852 <property name="text"> |
|
853 <string>Code</string> |
|
854 </property> |
|
855 </column> |
|
856 <column> |
|
857 <property name="text"> |
|
858 <string>Message</string> |
|
859 </property> |
|
860 </column> |
|
861 </widget> |
|
862 </item> |
|
863 <item> |
|
864 <widget class="E5SqueezeLabelPath" name="checkProgressLabel"> |
|
865 <property name="sizePolicy"> |
|
866 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
867 <horstretch>0</horstretch> |
|
868 <verstretch>0</verstretch> |
|
869 </sizepolicy> |
|
870 </property> |
|
871 <property name="text"> |
|
872 <string/> |
|
873 </property> |
|
874 </widget> |
|
875 </item> |
|
876 <item> |
|
877 <widget class="QProgressBar" name="checkProgress"> |
|
878 <property name="toolTip"> |
|
879 <string>Shows the progress of the code style check</string> |
|
880 </property> |
|
881 <property name="value"> |
|
882 <number>0</number> |
|
883 </property> |
|
884 <property name="orientation"> |
|
885 <enum>Qt::Horizontal</enum> |
|
886 </property> |
|
887 <property name="format"> |
|
888 <string>%v/%m Files</string> |
|
889 </property> |
|
890 </widget> |
|
891 </item> |
|
892 <item> |
|
893 <widget class="QDialogButtonBox" name="buttonBox"> |
|
894 <property name="orientation"> |
|
895 <enum>Qt::Horizontal</enum> |
|
896 </property> |
|
897 <property name="standardButtons"> |
|
898 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Close</set> |
|
899 </property> |
|
900 </widget> |
|
901 </item> |
|
902 </layout> |
|
903 </widget> |
|
904 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
905 <customwidgets> |
|
906 <customwidget> |
|
907 <class>E5SqueezeLabelPath</class> |
|
908 <extends>QLabel</extends> |
|
909 <header>E5Gui/E5SqueezeLabels.h</header> |
|
910 </customwidget> |
|
911 <customwidget> |
|
912 <class>E5ClearableLineEdit</class> |
|
913 <extends>QLineEdit</extends> |
|
914 <header>E5Gui/E5LineEdit.h</header> |
|
915 </customwidget> |
|
916 </customwidgets> |
|
917 <tabstops> |
|
918 <tabstop>optionsTabWidget</tabstop> |
|
919 <tabstop>excludeFilesEdit</tabstop> |
|
920 <tabstop>excludeMessagesEdit</tabstop> |
|
921 <tabstop>excludeMessagesSelectButton</tabstop> |
|
922 <tabstop>includeMessagesEdit</tabstop> |
|
923 <tabstop>includeMessagesSelectButton</tabstop> |
|
924 <tabstop>fixIssuesEdit</tabstop> |
|
925 <tabstop>fixIssuesSelectButton</tabstop> |
|
926 <tabstop>noFixIssuesEdit</tabstop> |
|
927 <tabstop>noFixIssuesSelectButton</tabstop> |
|
928 <tabstop>repeatCheckBox</tabstop> |
|
929 <tabstop>fixIssuesCheckBox</tabstop> |
|
930 <tabstop>ignoredCheckBox</tabstop> |
|
931 <tabstop>scrollArea</tabstop> |
|
932 <tabstop>lineLengthSpinBox</tabstop> |
|
933 <tabstop>docLineLengthSpinBox</tabstop> |
|
934 <tabstop>blankBeforeTopLevelSpinBox</tabstop> |
|
935 <tabstop>blankBeforeMethodSpinBox</tabstop> |
|
936 <tabstop>hangClosingCheckBox</tabstop> |
|
937 <tabstop>docTypeComboBox</tabstop> |
|
938 <tabstop>encodingsEdit</tabstop> |
|
939 <tabstop>copyrightFileSizeSpinBox</tabstop> |
|
940 <tabstop>copyrightAuthorEdit</tabstop> |
|
941 <tabstop>futuresList</tabstop> |
|
942 <tabstop>builtinsAssignmentList</tabstop> |
|
943 <tabstop>addBuiltinButton</tabstop> |
|
944 <tabstop>deleteBuiltinButton</tabstop> |
|
945 <tabstop>complexitySpinBox</tabstop> |
|
946 <tabstop>lineComplexitySpinBox</tabstop> |
|
947 <tabstop>lineComplexityScoreSpinBox</tabstop> |
|
948 <tabstop>startButton</tabstop> |
|
949 <tabstop>fixButton</tabstop> |
|
950 <tabstop>loadDefaultButton</tabstop> |
|
951 <tabstop>storeDefaultButton</tabstop> |
|
952 <tabstop>resetDefaultButton</tabstop> |
|
953 <tabstop>resultList</tabstop> |
|
954 </tabstops> |
|
955 <resources/> |
|
956 <connections> |
|
957 <connection> |
|
958 <sender>repeatCheckBox</sender> |
|
959 <signal>toggled(bool)</signal> |
|
960 <receiver>fixIssuesCheckBox</receiver> |
|
961 <slot>setEnabled(bool)</slot> |
|
962 <hints> |
|
963 <hint type="sourcelabel"> |
|
964 <x>132</x> |
|
965 <y>286</y> |
|
966 </hint> |
|
967 <hint type="destinationlabel"> |
|
968 <x>343</x> |
|
969 <y>286</y> |
|
970 </hint> |
|
971 </hints> |
|
972 </connection> |
|
973 <connection> |
|
974 <sender>repeatCheckBox</sender> |
|
975 <signal>toggled(bool)</signal> |
|
976 <receiver>ignoredCheckBox</receiver> |
|
977 <slot>setEnabled(bool)</slot> |
|
978 <hints> |
|
979 <hint type="sourcelabel"> |
|
980 <x>138</x> |
|
981 <y>269</y> |
|
982 </hint> |
|
983 <hint type="destinationlabel"> |
|
984 <x>380</x> |
|
985 <y>271</y> |
|
986 </hint> |
|
987 </hints> |
|
988 </connection> |
|
989 </connections> |
|
990 </ui> |