PyLint/PyLintConfigDialog.ui

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

eric ide

mercurial