|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerUtilities</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerUtilities</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing utility functions for the code style checker dialogs. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 <tr><td>None</td></tr> |
|
23 </table> |
|
24 <h3>Functions</h3> |
|
25 |
|
26 <table> |
|
27 |
|
28 <tr> |
|
29 <td><a href="#setItemIcon">setItemIcon</a></td> |
|
30 <td>Function to set the icon of the passed message item.</td> |
|
31 </tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="setItemIcon" ID="setItemIcon"></a> |
|
36 <h2>setItemIcon</h2> |
|
37 <b>setItemIcon</b>(<i>itm, column, msgCode, severity=None</i>) |
|
38 |
|
39 <p> |
|
40 Function to set the icon of the passed message item. |
|
41 </p> |
|
42 <dl> |
|
43 |
|
44 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
|
45 <dd> |
|
46 reference to the message item |
|
47 </dd> |
|
48 <dt><i>column</i> (int)</dt> |
|
49 <dd> |
|
50 column for the icon |
|
51 </dd> |
|
52 <dt><i>msgCode</i> (str)</dt> |
|
53 <dd> |
|
54 message code |
|
55 </dd> |
|
56 <dt><i>severity</i> (str (optional))</dt> |
|
57 <dd> |
|
58 severity for message code 'S' (defaults to None) |
|
59 </dd> |
|
60 </dl> |
|
61 <div align="right"><a href="#top">Up</a></div> |
|
62 <hr /> |
|
63 </body></html> |