|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>PyLintConfigDialog</class> |
|
4 <widget class="QDialog" name="PyLintConfigDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>528</width> |
|
10 <height>351</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>PyLint Configuration</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout_4"> |
|
20 <item> |
|
21 <widget class="QTabWidget" name="tabWidget"> |
|
22 <property name="currentIndex"> |
|
23 <number>1</number> |
|
24 </property> |
|
25 <widget class="QWidget" name="General"> |
|
26 <attribute name="title"> |
|
27 <string>General</string> |
|
28 </attribute> |
|
29 <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
30 <item> |
|
31 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
32 <item> |
|
33 <widget class="QLabel" name="textLabel1"> |
|
34 <property name="text"> |
|
35 <string>Configuration &File:</string> |
|
36 </property> |
|
37 <property name="buddy"> |
|
38 <cstring>configfilePicker</cstring> |
|
39 </property> |
|
40 </widget> |
|
41 </item> |
|
42 <item> |
|
43 <widget class="EricPathPicker" name="configfilePicker" native="true"> |
|
44 <property name="sizePolicy"> |
|
45 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
46 <horstretch>0</horstretch> |
|
47 <verstretch>0</verstretch> |
|
48 </sizepolicy> |
|
49 </property> |
|
50 <property name="focusPolicy"> |
|
51 <enum>Qt::StrongFocus</enum> |
|
52 </property> |
|
53 <property name="toolTip"> |
|
54 <string>Enter the name of the configuration file</string> |
|
55 </property> |
|
56 </widget> |
|
57 </item> |
|
58 </layout> |
|
59 </item> |
|
60 <item> |
|
61 <widget class="QGroupBox" name="groupBox"> |
|
62 <property name="title"> |
|
63 <string>Output</string> |
|
64 </property> |
|
65 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
66 <item> |
|
67 <widget class="QRadioButton" name="txtOutputButton"> |
|
68 <property name="toolTip"> |
|
69 <string>Select to generate a plain text report</string> |
|
70 </property> |
|
71 <property name="text"> |
|
72 <string>Generate &Textreport</string> |
|
73 </property> |
|
74 <property name="shortcut"> |
|
75 <string>Alt+T</string> |
|
76 </property> |
|
77 </widget> |
|
78 </item> |
|
79 <item> |
|
80 <widget class="QRadioButton" name="htmlOutputButton"> |
|
81 <property name="toolTip"> |
|
82 <string>Select to generate a HTML report</string> |
|
83 </property> |
|
84 <property name="text"> |
|
85 <string>Generate &HTML Report</string> |
|
86 </property> |
|
87 <property name="shortcut"> |
|
88 <string>Alt+H</string> |
|
89 </property> |
|
90 </widget> |
|
91 </item> |
|
92 <item> |
|
93 <widget class="QRadioButton" name="dialogOutputButton"> |
|
94 <property name="toolTip"> |
|
95 <string>Show the pylint result in a dialog</string> |
|
96 </property> |
|
97 <property name="text"> |
|
98 <string>Show Result &Dialog</string> |
|
99 </property> |
|
100 <property name="shortcut"> |
|
101 <string>Alt+D</string> |
|
102 </property> |
|
103 </widget> |
|
104 </item> |
|
105 <item> |
|
106 <widget class="QGroupBox" name="groupBox_2"> |
|
107 <property name="title"> |
|
108 <string>Report File</string> |
|
109 </property> |
|
110 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
111 <item> |
|
112 <widget class="EricPathPicker" name="reportfilePicker" native="true"> |
|
113 <property name="sizePolicy"> |
|
114 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
115 <horstretch>0</horstretch> |
|
116 <verstretch>0</verstretch> |
|
117 </sizepolicy> |
|
118 </property> |
|
119 <property name="focusPolicy"> |
|
120 <enum>Qt::StrongFocus</enum> |
|
121 </property> |
|
122 <property name="toolTip"> |
|
123 <string>Enter the name of the report file</string> |
|
124 </property> |
|
125 </widget> |
|
126 </item> |
|
127 </layout> |
|
128 </widget> |
|
129 </item> |
|
130 </layout> |
|
131 </widget> |
|
132 </item> |
|
133 <item> |
|
134 <widget class="Line" name="line1"> |
|
135 <property name="frameShape"> |
|
136 <enum>QFrame::HLine</enum> |
|
137 </property> |
|
138 <property name="frameShadow"> |
|
139 <enum>QFrame::Sunken</enum> |
|
140 </property> |
|
141 <property name="orientation"> |
|
142 <enum>Qt::Horizontal</enum> |
|
143 </property> |
|
144 </widget> |
|
145 </item> |
|
146 <item> |
|
147 <layout class="QHBoxLayout"> |
|
148 <property name="spacing"> |
|
149 <number>6</number> |
|
150 </property> |
|
151 <property name="leftMargin"> |
|
152 <number>0</number> |
|
153 </property> |
|
154 <property name="topMargin"> |
|
155 <number>0</number> |
|
156 </property> |
|
157 <property name="rightMargin"> |
|
158 <number>0</number> |
|
159 </property> |
|
160 <property name="bottomMargin"> |
|
161 <number>0</number> |
|
162 </property> |
|
163 <item> |
|
164 <spacer> |
|
165 <property name="orientation"> |
|
166 <enum>Qt::Horizontal</enum> |
|
167 </property> |
|
168 <property name="sizeType"> |
|
169 <enum>QSizePolicy::Expanding</enum> |
|
170 </property> |
|
171 <property name="sizeHint" stdset="0"> |
|
172 <size> |
|
173 <width>40</width> |
|
174 <height>20</height> |
|
175 </size> |
|
176 </property> |
|
177 </spacer> |
|
178 </item> |
|
179 <item> |
|
180 <widget class="QPushButton" name="configButton"> |
|
181 <property name="toolTip"> |
|
182 <string>Press to generate a sample configuration</string> |
|
183 </property> |
|
184 <property name="whatsThis"> |
|
185 <string><b>Generate Configuration Template</b> |
|
186 <p>This generates a sample configuration. The data is shown in a new editor window.</p></string> |
|
187 </property> |
|
188 <property name="text"> |
|
189 <string>&Generate Configuration Template</string> |
|
190 </property> |
|
191 <property name="shortcut"> |
|
192 <string>Alt+G</string> |
|
193 </property> |
|
194 </widget> |
|
195 </item> |
|
196 <item> |
|
197 <spacer> |
|
198 <property name="orientation"> |
|
199 <enum>Qt::Horizontal</enum> |
|
200 </property> |
|
201 <property name="sizeType"> |
|
202 <enum>QSizePolicy::Expanding</enum> |
|
203 </property> |
|
204 <property name="sizeHint" stdset="0"> |
|
205 <size> |
|
206 <width>40</width> |
|
207 <height>20</height> |
|
208 </size> |
|
209 </property> |
|
210 </spacer> |
|
211 </item> |
|
212 </layout> |
|
213 </item> |
|
214 </layout> |
|
215 </widget> |
|
216 <widget class="QWidget" name="Checkers"> |
|
217 <attribute name="title"> |
|
218 <string>Checkers</string> |
|
219 </attribute> |
|
220 <layout class="QVBoxLayout" name="verticalLayout"> |
|
221 <item> |
|
222 <layout class="QGridLayout" name="gridLayout_3"> |
|
223 <item row="0" column="0"> |
|
224 <widget class="QCheckBox" name="basicCheckBox"> |
|
225 <property name="toolTip"> |
|
226 <string>Select to enable the basic checker</string> |
|
227 </property> |
|
228 <property name="text"> |
|
229 <string>Basic</string> |
|
230 </property> |
|
231 </widget> |
|
232 </item> |
|
233 <item row="0" column="1"> |
|
234 <widget class="QCheckBox" name="importsCheckBox"> |
|
235 <property name="toolTip"> |
|
236 <string>Select to enable the imports checker</string> |
|
237 </property> |
|
238 <property name="text"> |
|
239 <string>Imports</string> |
|
240 </property> |
|
241 </widget> |
|
242 </item> |
|
243 <item row="0" column="2"> |
|
244 <widget class="QCheckBox" name="similaritiesCheckBox"> |
|
245 <property name="toolTip"> |
|
246 <string>Select to enable the similarities checker</string> |
|
247 </property> |
|
248 <property name="text"> |
|
249 <string>Similarities</string> |
|
250 </property> |
|
251 </widget> |
|
252 </item> |
|
253 <item row="1" column="0"> |
|
254 <widget class="QCheckBox" name="classesCheckBox"> |
|
255 <property name="toolTip"> |
|
256 <string>Select to enable the classes checker</string> |
|
257 </property> |
|
258 <property name="text"> |
|
259 <string>Classes</string> |
|
260 </property> |
|
261 </widget> |
|
262 </item> |
|
263 <item row="1" column="1"> |
|
264 <widget class="QCheckBox" name="loggingCheckBox"> |
|
265 <property name="toolTip"> |
|
266 <string>Select to enable the logging checker</string> |
|
267 </property> |
|
268 <property name="text"> |
|
269 <string>Logging</string> |
|
270 </property> |
|
271 </widget> |
|
272 </item> |
|
273 <item row="1" column="2"> |
|
274 <widget class="QCheckBox" name="stringFormatCheckBox"> |
|
275 <property name="toolTip"> |
|
276 <string>Select to enable the string format checker</string> |
|
277 </property> |
|
278 <property name="text"> |
|
279 <string>String Format</string> |
|
280 </property> |
|
281 </widget> |
|
282 </item> |
|
283 <item row="2" column="0"> |
|
284 <widget class="QCheckBox" name="designCheckBox"> |
|
285 <property name="toolTip"> |
|
286 <string>Select to enable the design checker</string> |
|
287 </property> |
|
288 <property name="text"> |
|
289 <string>Design</string> |
|
290 </property> |
|
291 </widget> |
|
292 </item> |
|
293 <item row="2" column="1"> |
|
294 <widget class="QCheckBox" name="metricsCheckBox"> |
|
295 <property name="toolTip"> |
|
296 <string>Select to enable the metrics checker</string> |
|
297 </property> |
|
298 <property name="text"> |
|
299 <string>Metrics</string> |
|
300 </property> |
|
301 </widget> |
|
302 </item> |
|
303 <item row="2" column="2"> |
|
304 <widget class="QCheckBox" name="typecheckCheckBox"> |
|
305 <property name="toolTip"> |
|
306 <string>Select to enable the typecheck checker</string> |
|
307 </property> |
|
308 <property name="text"> |
|
309 <string>Typecheck</string> |
|
310 </property> |
|
311 </widget> |
|
312 </item> |
|
313 <item row="3" column="0"> |
|
314 <widget class="QCheckBox" name="exceptionsCheckBox"> |
|
315 <property name="toolTip"> |
|
316 <string>Select to enable the exceptions checker</string> |
|
317 </property> |
|
318 <property name="text"> |
|
319 <string>Exceptions</string> |
|
320 </property> |
|
321 </widget> |
|
322 </item> |
|
323 <item row="3" column="1"> |
|
324 <widget class="QCheckBox" name="miscellaneousCheckBox"> |
|
325 <property name="toolTip"> |
|
326 <string>Select to enable the miscellaneous checker</string> |
|
327 </property> |
|
328 <property name="text"> |
|
329 <string>Miscellaneous</string> |
|
330 </property> |
|
331 </widget> |
|
332 </item> |
|
333 <item row="3" column="2"> |
|
334 <widget class="QCheckBox" name="variablesCheckBox"> |
|
335 <property name="toolTip"> |
|
336 <string>Select to enable the variables checker</string> |
|
337 </property> |
|
338 <property name="text"> |
|
339 <string>Variables</string> |
|
340 </property> |
|
341 </widget> |
|
342 </item> |
|
343 <item row="4" column="0"> |
|
344 <widget class="QCheckBox" name="formatCheckBox"> |
|
345 <property name="toolTip"> |
|
346 <string>Select to enable the format checker</string> |
|
347 </property> |
|
348 <property name="text"> |
|
349 <string>Format</string> |
|
350 </property> |
|
351 </widget> |
|
352 </item> |
|
353 <item row="4" column="1"> |
|
354 <widget class="QCheckBox" name="newstyleCheckBox"> |
|
355 <property name="toolTip"> |
|
356 <string>Select to enable the newstyle checker</string> |
|
357 </property> |
|
358 <property name="text"> |
|
359 <string>Newstyle</string> |
|
360 </property> |
|
361 </widget> |
|
362 </item> |
|
363 </layout> |
|
364 </item> |
|
365 <item> |
|
366 <spacer> |
|
367 <property name="orientation"> |
|
368 <enum>Qt::Vertical</enum> |
|
369 </property> |
|
370 <property name="sizeType"> |
|
371 <enum>QSizePolicy::Expanding</enum> |
|
372 </property> |
|
373 <property name="sizeHint" stdset="0"> |
|
374 <size> |
|
375 <width>20</width> |
|
376 <height>40</height> |
|
377 </size> |
|
378 </property> |
|
379 </spacer> |
|
380 </item> |
|
381 </layout> |
|
382 </widget> |
|
383 <widget class="QWidget" name="Messages"> |
|
384 <attribute name="title"> |
|
385 <string>Messages</string> |
|
386 </attribute> |
|
387 <layout class="QGridLayout" name="gridLayout"> |
|
388 <item row="0" column="0"> |
|
389 <widget class="QLabel" name="label"> |
|
390 <property name="text"> |
|
391 <string>Enabled Messages:</string> |
|
392 </property> |
|
393 </widget> |
|
394 </item> |
|
395 <item row="0" column="1"> |
|
396 <widget class="QLineEdit" name="enabledMessagesEdit"> |
|
397 <property name="toolTip"> |
|
398 <string>Enter the list of enabled messages separated by comma</string> |
|
399 </property> |
|
400 <property name="clearButtonEnabled"> |
|
401 <bool>true</bool> |
|
402 </property> |
|
403 </widget> |
|
404 </item> |
|
405 <item row="1" column="0"> |
|
406 <widget class="QLabel" name="label_2"> |
|
407 <property name="text"> |
|
408 <string>Disabled Messages:</string> |
|
409 </property> |
|
410 </widget> |
|
411 </item> |
|
412 <item row="1" column="1"> |
|
413 <widget class="QLineEdit" name="disabledMessagesEdit"> |
|
414 <property name="toolTip"> |
|
415 <string>Enter the list of disabled messages separated by comma</string> |
|
416 </property> |
|
417 <property name="clearButtonEnabled"> |
|
418 <bool>true</bool> |
|
419 </property> |
|
420 </widget> |
|
421 </item> |
|
422 <item row="2" column="1"> |
|
423 <spacer name="verticalSpacer"> |
|
424 <property name="orientation"> |
|
425 <enum>Qt::Vertical</enum> |
|
426 </property> |
|
427 <property name="sizeHint" stdset="0"> |
|
428 <size> |
|
429 <width>20</width> |
|
430 <height>192</height> |
|
431 </size> |
|
432 </property> |
|
433 </spacer> |
|
434 </item> |
|
435 </layout> |
|
436 </widget> |
|
437 </widget> |
|
438 </item> |
|
439 <item> |
|
440 <widget class="QDialogButtonBox" name="buttonBox"> |
|
441 <property name="orientation"> |
|
442 <enum>Qt::Horizontal</enum> |
|
443 </property> |
|
444 <property name="standardButtons"> |
|
445 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
446 </property> |
|
447 </widget> |
|
448 </item> |
|
449 </layout> |
|
450 </widget> |
|
451 <layoutdefault spacing="6" margin="6"/> |
|
452 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
453 <customwidgets> |
|
454 <customwidget> |
|
455 <class>EricPathPicker</class> |
|
456 <extends>QWidget</extends> |
|
457 <header>EricWidgets/EricPathPicker.h</header> |
|
458 <container>1</container> |
|
459 </customwidget> |
|
460 </customwidgets> |
|
461 <tabstops> |
|
462 <tabstop>tabWidget</tabstop> |
|
463 <tabstop>configfilePicker</tabstop> |
|
464 <tabstop>txtOutputButton</tabstop> |
|
465 <tabstop>htmlOutputButton</tabstop> |
|
466 <tabstop>dialogOutputButton</tabstop> |
|
467 <tabstop>reportfilePicker</tabstop> |
|
468 <tabstop>configButton</tabstop> |
|
469 <tabstop>basicCheckBox</tabstop> |
|
470 <tabstop>classesCheckBox</tabstop> |
|
471 <tabstop>designCheckBox</tabstop> |
|
472 <tabstop>exceptionsCheckBox</tabstop> |
|
473 <tabstop>formatCheckBox</tabstop> |
|
474 <tabstop>importsCheckBox</tabstop> |
|
475 <tabstop>loggingCheckBox</tabstop> |
|
476 <tabstop>metricsCheckBox</tabstop> |
|
477 <tabstop>miscellaneousCheckBox</tabstop> |
|
478 <tabstop>newstyleCheckBox</tabstop> |
|
479 <tabstop>similaritiesCheckBox</tabstop> |
|
480 <tabstop>stringFormatCheckBox</tabstop> |
|
481 <tabstop>typecheckCheckBox</tabstop> |
|
482 <tabstop>variablesCheckBox</tabstop> |
|
483 <tabstop>enabledMessagesEdit</tabstop> |
|
484 <tabstop>disabledMessagesEdit</tabstop> |
|
485 </tabstops> |
|
486 <resources/> |
|
487 <connections> |
|
488 <connection> |
|
489 <sender>dialogOutputButton</sender> |
|
490 <signal>toggled(bool)</signal> |
|
491 <receiver>groupBox_2</receiver> |
|
492 <slot>setDisabled(bool)</slot> |
|
493 <hints> |
|
494 <hint type="sourcelabel"> |
|
495 <x>78</x> |
|
496 <y>163</y> |
|
497 </hint> |
|
498 <hint type="destinationlabel"> |
|
499 <x>62</x> |
|
500 <y>188</y> |
|
501 </hint> |
|
502 </hints> |
|
503 </connection> |
|
504 <connection> |
|
505 <sender>buttonBox</sender> |
|
506 <signal>accepted()</signal> |
|
507 <receiver>PyLintConfigDialog</receiver> |
|
508 <slot>accept()</slot> |
|
509 <hints> |
|
510 <hint type="sourcelabel"> |
|
511 <x>35</x> |
|
512 <y>321</y> |
|
513 </hint> |
|
514 <hint type="destinationlabel"> |
|
515 <x>34</x> |
|
516 <y>333</y> |
|
517 </hint> |
|
518 </hints> |
|
519 </connection> |
|
520 <connection> |
|
521 <sender>buttonBox</sender> |
|
522 <signal>rejected()</signal> |
|
523 <receiver>PyLintConfigDialog</receiver> |
|
524 <slot>reject()</slot> |
|
525 <hints> |
|
526 <hint type="sourcelabel"> |
|
527 <x>91</x> |
|
528 <y>309</y> |
|
529 </hint> |
|
530 <hint type="destinationlabel"> |
|
531 <x>100</x> |
|
532 <y>332</y> |
|
533 </hint> |
|
534 </hints> |
|
535 </connection> |
|
536 </connections> |
|
537 </ui> |