65 <td>Private method to create an entry in the result list.</td> |
65 <td>Private method to create an entry in the result list.</td> |
66 </tr><tr> |
66 </tr><tr> |
67 <td><a href="#TabnannyDialog.__finish">__finish</a></td> |
67 <td><a href="#TabnannyDialog.__finish">__finish</a></td> |
68 <td>Private slot called when the action or the user pressed the button.</td> |
68 <td>Private slot called when the action or the user pressed the button.</td> |
69 </tr><tr> |
69 </tr><tr> |
|
70 <td><a href="#TabnannyDialog.__processResult">__processResult</a></td> |
|
71 <td>Privat slot called after perfoming a style check on one file.</td> |
|
72 </tr><tr> |
70 <td><a href="#TabnannyDialog.__resort">__resort</a></td> |
73 <td><a href="#TabnannyDialog.__resort">__resort</a></td> |
71 <td>Private method to resort the tree.</td> |
74 <td>Private method to resort the tree.</td> |
|
75 </tr><tr> |
|
76 <td><a href="#TabnannyDialog.check">check</a></td> |
|
77 <td>Start a style check for one file.</td> |
72 </tr><tr> |
78 </tr><tr> |
73 <td><a href="#TabnannyDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
79 <td><a href="#TabnannyDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
74 <td>Private slot called by a button of the button box clicked.</td> |
80 <td>Private slot called by a button of the button box clicked.</td> |
75 </tr><tr> |
81 </tr><tr> |
76 <td><a href="#TabnannyDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td> |
82 <td><a href="#TabnannyDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td> |
90 <table> |
96 <table> |
91 <tr><td>None</td></tr> |
97 <tr><td>None</td></tr> |
92 </table> |
98 </table> |
93 <a NAME="TabnannyDialog.__init__" ID="TabnannyDialog.__init__"></a> |
99 <a NAME="TabnannyDialog.__init__" ID="TabnannyDialog.__init__"></a> |
94 <h4>TabnannyDialog (Constructor)</h4> |
100 <h4>TabnannyDialog (Constructor)</h4> |
95 <b>TabnannyDialog</b>(<i>parent=None</i>) |
101 <b>TabnannyDialog</b>(<i>indentCheckService, parent=None</i>) |
96 <p> |
102 <p> |
97 Constructor |
103 Constructor |
98 </p><dl> |
104 </p><dl> |
99 <dt><i>parent</i></dt> |
105 <dt><i>indentCheckService</i></dt> |
|
106 <dd> |
|
107 reference to the service (IndentCheckService) |
|
108 </dd><dt><i>parent</i></dt> |
100 <dd> |
109 <dd> |
101 The parent widget (QWidget). |
110 The parent widget (QWidget). |
102 </dd> |
111 </dd> |
103 </dl><a NAME="TabnannyDialog.__createResultItem" ID="TabnannyDialog.__createResultItem"></a> |
112 </dl><a NAME="TabnannyDialog.__createResultItem" ID="TabnannyDialog.__createResultItem"></a> |
104 <h4>TabnannyDialog.__createResultItem</h4> |
113 <h4>TabnannyDialog.__createResultItem</h4> |
119 </dl><a NAME="TabnannyDialog.__finish" ID="TabnannyDialog.__finish"></a> |
128 </dl><a NAME="TabnannyDialog.__finish" ID="TabnannyDialog.__finish"></a> |
120 <h4>TabnannyDialog.__finish</h4> |
129 <h4>TabnannyDialog.__finish</h4> |
121 <b>__finish</b>(<i></i>) |
130 <b>__finish</b>(<i></i>) |
122 <p> |
131 <p> |
123 Private slot called when the action or the user pressed the button. |
132 Private slot called when the action or the user pressed the button. |
124 </p><a NAME="TabnannyDialog.__resort" ID="TabnannyDialog.__resort"></a> |
133 </p><a NAME="TabnannyDialog.__processResult" ID="TabnannyDialog.__processResult"></a> |
|
134 <h4>TabnannyDialog.__processResult</h4> |
|
135 <b>__processResult</b>(<i>fn, nok, line, error</i>) |
|
136 <p> |
|
137 Privat slot called after perfoming a style check on one file. |
|
138 </p><dl> |
|
139 <dt><i>fn</i></dt> |
|
140 <dd> |
|
141 filename of the just checked file (str) |
|
142 </dd><dt><i>nok</i></dt> |
|
143 <dd> |
|
144 flag if a problem was found (bool) |
|
145 </dd><dt><i>line</i></dt> |
|
146 <dd> |
|
147 line number (str) |
|
148 </dd><dt><i>error</i></dt> |
|
149 <dd> |
|
150 text of the problem (str) |
|
151 </dd> |
|
152 </dl><a NAME="TabnannyDialog.__resort" ID="TabnannyDialog.__resort"></a> |
125 <h4>TabnannyDialog.__resort</h4> |
153 <h4>TabnannyDialog.__resort</h4> |
126 <b>__resort</b>(<i></i>) |
154 <b>__resort</b>(<i></i>) |
127 <p> |
155 <p> |
128 Private method to resort the tree. |
156 Private method to resort the tree. |
129 </p><a NAME="TabnannyDialog.on_buttonBox_clicked" ID="TabnannyDialog.on_buttonBox_clicked"></a> |
157 </p><a NAME="TabnannyDialog.check" ID="TabnannyDialog.check"></a> |
|
158 <h4>TabnannyDialog.check</h4> |
|
159 <b>check</b>(<i>codestring=''</i>) |
|
160 <p> |
|
161 Start a style check for one file. |
|
162 </p><p> |
|
163 The results are reported to the __processResult slot. |
|
164 </p><dl> |
|
165 <dt><i>codestring=</i></dt> |
|
166 <dd> |
|
167 optional sourcestring (str) |
|
168 </dd> |
|
169 </dl><a NAME="TabnannyDialog.on_buttonBox_clicked" ID="TabnannyDialog.on_buttonBox_clicked"></a> |
130 <h4>TabnannyDialog.on_buttonBox_clicked</h4> |
170 <h4>TabnannyDialog.on_buttonBox_clicked</h4> |
131 <b>on_buttonBox_clicked</b>(<i>button</i>) |
171 <b>on_buttonBox_clicked</b>(<i>button</i>) |
132 <p> |
172 <p> |
133 Private slot called by a button of the button box clicked. |
173 Private slot called by a button of the button box clicked. |
134 </p><dl> |
174 </p><dl> |