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