|
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>650</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_2"> |
|
25 <item> |
|
26 <widget class="QFrame" name="filterFrame"> |
|
27 <property name="frameShape"> |
|
28 <enum>QFrame::NoFrame</enum> |
|
29 </property> |
|
30 <layout class="QGridLayout" name="gridLayout"> |
|
31 <property name="margin"> |
|
32 <number>0</number> |
|
33 </property> |
|
34 <item row="0" column="0"> |
|
35 <widget class="QLabel" name="label_2"> |
|
36 <property name="text"> |
|
37 <string>Exclude Files:</string> |
|
38 </property> |
|
39 </widget> |
|
40 </item> |
|
41 <item row="0" column="1"> |
|
42 <widget class="E5ClearableLineEdit" name="excludeFilesEdit"> |
|
43 <property name="toolTip"> |
|
44 <string>Enter filename patterns of files to be excluded separated by a comma</string> |
|
45 </property> |
|
46 </widget> |
|
47 </item> |
|
48 <item row="0" column="3" rowspan="9"> |
|
49 <widget class="Line" name="line"> |
|
50 <property name="lineWidth"> |
|
51 <number>2</number> |
|
52 </property> |
|
53 <property name="orientation"> |
|
54 <enum>Qt::Vertical</enum> |
|
55 </property> |
|
56 </widget> |
|
57 </item> |
|
58 <item row="0" column="4" rowspan="9"> |
|
59 <layout class="QVBoxLayout" name="verticalLayout"> |
|
60 <item> |
|
61 <widget class="QPushButton" name="startButton"> |
|
62 <property name="toolTip"> |
|
63 <string>Press to start the code style check run</string> |
|
64 </property> |
|
65 <property name="text"> |
|
66 <string>Start</string> |
|
67 </property> |
|
68 </widget> |
|
69 </item> |
|
70 <item> |
|
71 <widget class="QPushButton" name="fixButton"> |
|
72 <property name="toolTip"> |
|
73 <string>Press to fix the selected issues</string> |
|
74 </property> |
|
75 <property name="text"> |
|
76 <string>Fix Selected</string> |
|
77 </property> |
|
78 </widget> |
|
79 </item> |
|
80 <item> |
|
81 <spacer name="verticalSpacer"> |
|
82 <property name="orientation"> |
|
83 <enum>Qt::Vertical</enum> |
|
84 </property> |
|
85 <property name="sizeHint" stdset="0"> |
|
86 <size> |
|
87 <width>20</width> |
|
88 <height>18</height> |
|
89 </size> |
|
90 </property> |
|
91 </spacer> |
|
92 </item> |
|
93 <item> |
|
94 <widget class="QPushButton" name="loadDefaultButton"> |
|
95 <property name="toolTip"> |
|
96 <string>Press to load the default values</string> |
|
97 </property> |
|
98 <property name="text"> |
|
99 <string>Load Defaults</string> |
|
100 </property> |
|
101 </widget> |
|
102 </item> |
|
103 <item> |
|
104 <widget class="QPushButton" name="storeDefaultButton"> |
|
105 <property name="toolTip"> |
|
106 <string>Press to store the current values as defaults</string> |
|
107 </property> |
|
108 <property name="text"> |
|
109 <string>Store Defaults</string> |
|
110 </property> |
|
111 </widget> |
|
112 </item> |
|
113 <item> |
|
114 <widget class="QPushButton" name="resetDefaultButton"> |
|
115 <property name="toolTip"> |
|
116 <string>Press to reset the default values</string> |
|
117 </property> |
|
118 <property name="text"> |
|
119 <string>Reset Defaults</string> |
|
120 </property> |
|
121 </widget> |
|
122 </item> |
|
123 </layout> |
|
124 </item> |
|
125 <item row="1" column="0"> |
|
126 <widget class="QLabel" name="label"> |
|
127 <property name="text"> |
|
128 <string>Exclude Messages:</string> |
|
129 </property> |
|
130 </widget> |
|
131 </item> |
|
132 <item row="1" column="1"> |
|
133 <widget class="E5ClearableLineEdit" name="excludeMessagesEdit"> |
|
134 <property name="toolTip"> |
|
135 <string>Enter message codes or categories to be excluded separated by a comma</string> |
|
136 </property> |
|
137 </widget> |
|
138 </item> |
|
139 <item row="1" column="2"> |
|
140 <widget class="QToolButton" name="excludeMessagesSelectButton"> |
|
141 <property name="toolTip"> |
|
142 <string>Press to select the message codes from a list</string> |
|
143 </property> |
|
144 <property name="text"> |
|
145 <string>...</string> |
|
146 </property> |
|
147 </widget> |
|
148 </item> |
|
149 <item row="2" column="0"> |
|
150 <widget class="QLabel" name="label_3"> |
|
151 <property name="text"> |
|
152 <string>Included Messages:</string> |
|
153 </property> |
|
154 </widget> |
|
155 </item> |
|
156 <item row="2" column="1"> |
|
157 <widget class="E5ClearableLineEdit" name="includeMessagesEdit"> |
|
158 <property name="toolTip"> |
|
159 <string>Enter message codes or categories to be included separated by a comma</string> |
|
160 </property> |
|
161 </widget> |
|
162 </item> |
|
163 <item row="2" column="2"> |
|
164 <widget class="QToolButton" name="includeMessagesSelectButton"> |
|
165 <property name="toolTip"> |
|
166 <string>Press to select the message codes from a list</string> |
|
167 </property> |
|
168 <property name="text"> |
|
169 <string>...</string> |
|
170 </property> |
|
171 </widget> |
|
172 </item> |
|
173 <item row="3" column="0"> |
|
174 <widget class="QLabel" name="label_4"> |
|
175 <property name="text"> |
|
176 <string>Fix Issues:</string> |
|
177 </property> |
|
178 </widget> |
|
179 </item> |
|
180 <item row="3" column="1"> |
|
181 <widget class="E5ClearableLineEdit" name="fixIssuesEdit"> |
|
182 <property name="toolTip"> |
|
183 <string>Enter message codes of issues to be fixed automatically (leave empty to fix all)</string> |
|
184 </property> |
|
185 </widget> |
|
186 </item> |
|
187 <item row="3" column="2"> |
|
188 <widget class="QToolButton" name="fixIssuesSelectButton"> |
|
189 <property name="toolTip"> |
|
190 <string>Press to select the message codes from a list</string> |
|
191 </property> |
|
192 <property name="text"> |
|
193 <string>...</string> |
|
194 </property> |
|
195 </widget> |
|
196 </item> |
|
197 <item row="4" column="0"> |
|
198 <widget class="QLabel" name="label_6"> |
|
199 <property name="text"> |
|
200 <string>Don't Fix Issues:</string> |
|
201 </property> |
|
202 </widget> |
|
203 </item> |
|
204 <item row="4" column="1"> |
|
205 <widget class="E5ClearableLineEdit" name="noFixIssuesEdit"> |
|
206 <property name="toolTip"> |
|
207 <string>Enter message codes of issues not to be fixed automatically</string> |
|
208 </property> |
|
209 </widget> |
|
210 </item> |
|
211 <item row="4" column="2"> |
|
212 <widget class="QToolButton" name="noFixIssuesSelectButton"> |
|
213 <property name="toolTip"> |
|
214 <string>Press to select the message codes from a list</string> |
|
215 </property> |
|
216 <property name="text"> |
|
217 <string>...</string> |
|
218 </property> |
|
219 </widget> |
|
220 </item> |
|
221 <item row="5" column="0"> |
|
222 <widget class="QLabel" name="label_5"> |
|
223 <property name="text"> |
|
224 <string>Max. Line Length:</string> |
|
225 </property> |
|
226 </widget> |
|
227 </item> |
|
228 <item row="5" column="1" colspan="2"> |
|
229 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
230 <item> |
|
231 <widget class="QSpinBox" name="lineLengthSpinBox"> |
|
232 <property name="statusTip"> |
|
233 <string>Enter the maximum allowed line length (PEP-8: 79 characters)</string> |
|
234 </property> |
|
235 <property name="alignment"> |
|
236 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
237 </property> |
|
238 <property name="minimum"> |
|
239 <number>60</number> |
|
240 </property> |
|
241 <property name="maximum"> |
|
242 <number>119</number> |
|
243 </property> |
|
244 <property name="value"> |
|
245 <number>79</number> |
|
246 </property> |
|
247 </widget> |
|
248 </item> |
|
249 <item> |
|
250 <spacer name="horizontalSpacer_3"> |
|
251 <property name="orientation"> |
|
252 <enum>Qt::Horizontal</enum> |
|
253 </property> |
|
254 <property name="sizeHint" stdset="0"> |
|
255 <size> |
|
256 <width>40</width> |
|
257 <height>20</height> |
|
258 </size> |
|
259 </property> |
|
260 </spacer> |
|
261 </item> |
|
262 </layout> |
|
263 </item> |
|
264 <item row="6" column="0"> |
|
265 <widget class="QLabel" name="label_7"> |
|
266 <property name="text"> |
|
267 <string>Docstring Type:</string> |
|
268 </property> |
|
269 </widget> |
|
270 </item> |
|
271 <item row="6" column="1" colspan="2"> |
|
272 <layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
273 <item> |
|
274 <widget class="QComboBox" name="docTypeComboBox"> |
|
275 <property name="toolTip"> |
|
276 <string>Select the rule set for docstrings</string> |
|
277 </property> |
|
278 </widget> |
|
279 </item> |
|
280 <item> |
|
281 <spacer name="horizontalSpacer_4"> |
|
282 <property name="orientation"> |
|
283 <enum>Qt::Horizontal</enum> |
|
284 </property> |
|
285 <property name="sizeHint" stdset="0"> |
|
286 <size> |
|
287 <width>40</width> |
|
288 <height>20</height> |
|
289 </size> |
|
290 </property> |
|
291 </spacer> |
|
292 </item> |
|
293 </layout> |
|
294 </item> |
|
295 <item row="7" column="0" colspan="3"> |
|
296 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
297 <item> |
|
298 <widget class="QCheckBox" name="hangClosingCheckBox"> |
|
299 <property name="toolTip"> |
|
300 <string>Select to allow hanging closing brackets</string> |
|
301 </property> |
|
302 <property name="text"> |
|
303 <string>Allow hanging closing brackets</string> |
|
304 </property> |
|
305 </widget> |
|
306 </item> |
|
307 <item> |
|
308 <spacer name="horizontalSpacer_2"> |
|
309 <property name="orientation"> |
|
310 <enum>Qt::Horizontal</enum> |
|
311 </property> |
|
312 <property name="sizeHint" stdset="0"> |
|
313 <size> |
|
314 <width>40</width> |
|
315 <height>20</height> |
|
316 </size> |
|
317 </property> |
|
318 </spacer> |
|
319 </item> |
|
320 </layout> |
|
321 </item> |
|
322 <item row="8" column="0" colspan="3"> |
|
323 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
324 <item> |
|
325 <widget class="QCheckBox" name="repeatCheckBox"> |
|
326 <property name="toolTip"> |
|
327 <string>Select to repeat each message type</string> |
|
328 </property> |
|
329 <property name="text"> |
|
330 <string>Repeat messages</string> |
|
331 </property> |
|
332 </widget> |
|
333 </item> |
|
334 <item> |
|
335 <widget class="QCheckBox" name="fixIssuesCheckBox"> |
|
336 <property name="enabled"> |
|
337 <bool>false</bool> |
|
338 </property> |
|
339 <property name="toolTip"> |
|
340 <string>Select to fix some issues</string> |
|
341 </property> |
|
342 <property name="text"> |
|
343 <string>Fix issues automatically</string> |
|
344 </property> |
|
345 </widget> |
|
346 </item> |
|
347 <item> |
|
348 <spacer name="horizontalSpacer"> |
|
349 <property name="orientation"> |
|
350 <enum>Qt::Horizontal</enum> |
|
351 </property> |
|
352 <property name="sizeHint" stdset="0"> |
|
353 <size> |
|
354 <width>40</width> |
|
355 <height>20</height> |
|
356 </size> |
|
357 </property> |
|
358 </spacer> |
|
359 </item> |
|
360 </layout> |
|
361 </item> |
|
362 </layout> |
|
363 <zorder>label_2</zorder> |
|
364 <zorder>excludeFilesEdit</zorder> |
|
365 <zorder>line</zorder> |
|
366 <zorder>label</zorder> |
|
367 <zorder>excludeMessagesEdit</zorder> |
|
368 <zorder>excludeMessagesSelectButton</zorder> |
|
369 <zorder>label_3</zorder> |
|
370 <zorder>includeMessagesEdit</zorder> |
|
371 <zorder>includeMessagesSelectButton</zorder> |
|
372 <zorder>label_4</zorder> |
|
373 <zorder>fixIssuesEdit</zorder> |
|
374 <zorder>fixIssuesSelectButton</zorder> |
|
375 <zorder>label_6</zorder> |
|
376 <zorder>noFixIssuesEdit</zorder> |
|
377 <zorder>noFixIssuesSelectButton</zorder> |
|
378 <zorder>label_5</zorder> |
|
379 <zorder></zorder> |
|
380 <zorder>label_7</zorder> |
|
381 </widget> |
|
382 </item> |
|
383 <item> |
|
384 <widget class="QTreeWidget" name="resultList"> |
|
385 <property name="whatsThis"> |
|
386 <string><b>Result List</b> |
|
387 <p>This list shows the results of the code style check. Double clicking |
|
388 an entry will open this entry in an editor window and position the cursor at |
|
389 the respective line and position.</p></string> |
|
390 </property> |
|
391 <property name="alternatingRowColors"> |
|
392 <bool>true</bool> |
|
393 </property> |
|
394 <property name="selectionMode"> |
|
395 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
396 </property> |
|
397 <property name="sortingEnabled"> |
|
398 <bool>true</bool> |
|
399 </property> |
|
400 <column> |
|
401 <property name="text"> |
|
402 <string>File/Line</string> |
|
403 </property> |
|
404 </column> |
|
405 <column> |
|
406 <property name="text"> |
|
407 <string>Code</string> |
|
408 </property> |
|
409 </column> |
|
410 <column> |
|
411 <property name="text"> |
|
412 <string>Message</string> |
|
413 </property> |
|
414 </column> |
|
415 </widget> |
|
416 </item> |
|
417 <item> |
|
418 <widget class="E5SqueezeLabelPath" name="checkProgressLabel"> |
|
419 <property name="sizePolicy"> |
|
420 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
421 <horstretch>0</horstretch> |
|
422 <verstretch>0</verstretch> |
|
423 </sizepolicy> |
|
424 </property> |
|
425 <property name="text"> |
|
426 <string/> |
|
427 </property> |
|
428 </widget> |
|
429 </item> |
|
430 <item> |
|
431 <widget class="QProgressBar" name="checkProgress"> |
|
432 <property name="toolTip"> |
|
433 <string>Shows the progress of the style check check</string> |
|
434 </property> |
|
435 <property name="value"> |
|
436 <number>0</number> |
|
437 </property> |
|
438 <property name="orientation"> |
|
439 <enum>Qt::Horizontal</enum> |
|
440 </property> |
|
441 </widget> |
|
442 </item> |
|
443 <item> |
|
444 <widget class="QDialogButtonBox" name="buttonBox"> |
|
445 <property name="orientation"> |
|
446 <enum>Qt::Horizontal</enum> |
|
447 </property> |
|
448 <property name="standardButtons"> |
|
449 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Close</set> |
|
450 </property> |
|
451 </widget> |
|
452 </item> |
|
453 </layout> |
|
454 </widget> |
|
455 <layoutdefault spacing="6" margin="6"/> |
|
456 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
457 <customwidgets> |
|
458 <customwidget> |
|
459 <class>E5SqueezeLabelPath</class> |
|
460 <extends>QLabel</extends> |
|
461 <header>E5Gui/E5SqueezeLabels.h</header> |
|
462 </customwidget> |
|
463 <customwidget> |
|
464 <class>E5ClearableLineEdit</class> |
|
465 <extends>QLineEdit</extends> |
|
466 <header>E5Gui/E5LineEdit.h</header> |
|
467 </customwidget> |
|
468 </customwidgets> |
|
469 <tabstops> |
|
470 <tabstop>startButton</tabstop> |
|
471 <tabstop>loadDefaultButton</tabstop> |
|
472 <tabstop>excludeFilesEdit</tabstop> |
|
473 <tabstop>excludeMessagesEdit</tabstop> |
|
474 <tabstop>excludeMessagesSelectButton</tabstop> |
|
475 <tabstop>includeMessagesEdit</tabstop> |
|
476 <tabstop>includeMessagesSelectButton</tabstop> |
|
477 <tabstop>fixIssuesEdit</tabstop> |
|
478 <tabstop>fixIssuesSelectButton</tabstop> |
|
479 <tabstop>noFixIssuesEdit</tabstop> |
|
480 <tabstop>noFixIssuesSelectButton</tabstop> |
|
481 <tabstop>lineLengthSpinBox</tabstop> |
|
482 <tabstop>hangClosingCheckBox</tabstop> |
|
483 <tabstop>repeatCheckBox</tabstop> |
|
484 <tabstop>fixIssuesCheckBox</tabstop> |
|
485 <tabstop>storeDefaultButton</tabstop> |
|
486 <tabstop>resultList</tabstop> |
|
487 <tabstop>fixButton</tabstop> |
|
488 <tabstop>resetDefaultButton</tabstop> |
|
489 <tabstop>buttonBox</tabstop> |
|
490 </tabstops> |
|
491 <resources/> |
|
492 <connections> |
|
493 <connection> |
|
494 <sender>repeatCheckBox</sender> |
|
495 <signal>toggled(bool)</signal> |
|
496 <receiver>fixIssuesCheckBox</receiver> |
|
497 <slot>setEnabled(bool)</slot> |
|
498 <hints> |
|
499 <hint type="sourcelabel"> |
|
500 <x>121</x> |
|
501 <y>153</y> |
|
502 </hint> |
|
503 <hint type="destinationlabel"> |
|
504 <x>186</x> |
|
505 <y>160</y> |
|
506 </hint> |
|
507 </hints> |
|
508 </connection> |
|
509 </connections> |
|
510 </ui> |