|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Plugins.CheckerPlugins.Tabnanny.TabnannyDialog</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Plugins.CheckerPlugins.Tabnanny.TabnannyDialog</h1> |
|
12 <p> |
|
13 Module implementing a dialog to show the output of the tabnanny command process. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#TabnannyDialog">TabnannyDialog</a></td> |
|
23 <td>Class implementing a dialog to show the results of the tabnanny check run.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="TabnannyDialog" ID="TabnannyDialog"></a> |
|
32 <h2>TabnannyDialog</h2> |
|
33 <p> |
|
34 Class implementing a dialog to show the results of the tabnanny check run. |
|
35 </p> |
|
36 <h3>Derived from</h3> |
|
37 QDialog, Ui_TabnannyDialog |
|
38 <h3>Class Attributes</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <h3>Methods</h3> |
|
43 <table> |
|
44 <tr> |
|
45 <td><a href="#TabnannyDialog.__init__">TabnannyDialog</a></td> |
|
46 <td>Constructor</td> |
|
47 </tr><tr> |
|
48 <td><a href="#TabnannyDialog.__createResultItem">__createResultItem</a></td> |
|
49 <td>Private method to create an entry in the result list.</td> |
|
50 </tr><tr> |
|
51 <td><a href="#TabnannyDialog.__finish">__finish</a></td> |
|
52 <td>Private slot called when the action or the user pressed the button.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#TabnannyDialog.__resort">__resort</a></td> |
|
55 <td>Private method to resort the tree.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#TabnannyDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
58 <td>Private slot called by a button of the button box clicked.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#TabnannyDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td> |
|
61 <td>Private slot to handle the activation of an item.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#TabnannyDialog.start">start</a></td> |
|
64 <td>Public slot to start the tabnanny check.</td> |
|
65 </tr> |
|
66 </table> |
|
67 <a NAME="TabnannyDialog.__init__" ID="TabnannyDialog.__init__"></a> |
|
68 <h4>TabnannyDialog (Constructor)</h4> |
|
69 <b>TabnannyDialog</b>(<i>parent = None</i>) |
|
70 <p> |
|
71 Constructor |
|
72 </p><dl> |
|
73 <dt><i>parent</i></dt> |
|
74 <dd> |
|
75 The parent widget (QWidget). |
|
76 </dd> |
|
77 </dl><a NAME="TabnannyDialog.__createResultItem" ID="TabnannyDialog.__createResultItem"></a> |
|
78 <h4>TabnannyDialog.__createResultItem</h4> |
|
79 <b>__createResultItem</b>(<i>file, line, sourcecode</i>) |
|
80 <p> |
|
81 Private method to create an entry in the result list. |
|
82 </p><dl> |
|
83 <dt><i>file</i></dt> |
|
84 <dd> |
|
85 filename of file (string) |
|
86 </dd><dt><i>line</i></dt> |
|
87 <dd> |
|
88 linenumber of faulty source (integer or string) |
|
89 </dd><dt><i>sourcecode</i></dt> |
|
90 <dd> |
|
91 faulty line of code (string) |
|
92 </dd> |
|
93 </dl><a NAME="TabnannyDialog.__finish" ID="TabnannyDialog.__finish"></a> |
|
94 <h4>TabnannyDialog.__finish</h4> |
|
95 <b>__finish</b>(<i></i>) |
|
96 <p> |
|
97 Private slot called when the action or the user pressed the button. |
|
98 </p><a NAME="TabnannyDialog.__resort" ID="TabnannyDialog.__resort"></a> |
|
99 <h4>TabnannyDialog.__resort</h4> |
|
100 <b>__resort</b>(<i></i>) |
|
101 <p> |
|
102 Private method to resort the tree. |
|
103 </p><a NAME="TabnannyDialog.on_buttonBox_clicked" ID="TabnannyDialog.on_buttonBox_clicked"></a> |
|
104 <h4>TabnannyDialog.on_buttonBox_clicked</h4> |
|
105 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
106 <p> |
|
107 Private slot called by a button of the button box clicked. |
|
108 </p><dl> |
|
109 <dt><i>button</i></dt> |
|
110 <dd> |
|
111 button that was clicked (QAbstractButton) |
|
112 </dd> |
|
113 </dl><a NAME="TabnannyDialog.on_resultList_itemActivated" ID="TabnannyDialog.on_resultList_itemActivated"></a> |
|
114 <h4>TabnannyDialog.on_resultList_itemActivated</h4> |
|
115 <b>on_resultList_itemActivated</b>(<i>itm, col</i>) |
|
116 <p> |
|
117 Private slot to handle the activation of an item. |
|
118 </p><dl> |
|
119 <dt><i>itm</i></dt> |
|
120 <dd> |
|
121 reference to the activated item (QTreeWidgetItem) |
|
122 </dd><dt><i>col</i></dt> |
|
123 <dd> |
|
124 column the item was activated in (integer) |
|
125 </dd> |
|
126 </dl><a NAME="TabnannyDialog.start" ID="TabnannyDialog.start"></a> |
|
127 <h4>TabnannyDialog.start</h4> |
|
128 <b>start</b>(<i>fn</i>) |
|
129 <p> |
|
130 Public slot to start the tabnanny check. |
|
131 </p><dl> |
|
132 <dt><i>fn</i></dt> |
|
133 <dd> |
|
134 File or list of files or directory to be checked |
|
135 (string or list of strings) |
|
136 </dd> |
|
137 </dl> |
|
138 <div align="right"><a href="#top">Up</a></div> |
|
139 <hr /> |
|
140 </body></html> |