128 <p> |
128 <p> |
129 Constructor |
129 Constructor |
130 </p> |
130 </p> |
131 <dl> |
131 <dl> |
132 |
132 |
133 <dt><i>parent</i></dt> |
133 <dt><i>parent</i> (QWidget)</dt> |
134 <dd> |
134 <dd> |
135 parent widget (QWidget) |
135 parent widget |
136 </dd> |
136 </dd> |
137 </dl> |
137 </dl> |
138 <a NAME="CodeMetricsDialog.__createResultItem" ID="CodeMetricsDialog.__createResultItem"></a> |
138 <a NAME="CodeMetricsDialog.__createResultItem" ID="CodeMetricsDialog.__createResultItem"></a> |
139 <h4>CodeMetricsDialog.__createResultItem</h4> |
139 <h4>CodeMetricsDialog.__createResultItem</h4> |
140 <b>__createResultItem</b>(<i>parent, values</i>) |
140 <b>__createResultItem</b>(<i>parent, values</i>) |
142 <p> |
142 <p> |
143 Private slot to create a new item in the result list. |
143 Private slot to create a new item in the result list. |
144 </p> |
144 </p> |
145 <dl> |
145 <dl> |
146 |
146 |
147 <dt><i>parent</i></dt> |
147 <dt><i>parent</i> (QTreeWidget or QTreeWidgetItem)</dt> |
148 <dd> |
148 <dd> |
149 parent of the new item (QTreeWidget or QTreeWidgetItem) |
149 parent of the new item |
150 </dd> |
150 </dd> |
151 <dt><i>values</i></dt> |
151 <dt><i>values</i> (list of int)</dt> |
152 <dd> |
152 <dd> |
153 values to be displayed (list) |
153 values to be displayed |
154 </dd> |
154 </dd> |
155 </dl> |
155 </dl> |
156 <dl> |
156 <dl> |
157 <dt>Return:</dt> |
157 <dt>Return:</dt> |
158 <dd> |
158 <dd> |
159 the generated item |
159 the generated item |
|
160 </dd> |
|
161 </dl> |
|
162 <dl> |
|
163 <dt>Return Type:</dt> |
|
164 <dd> |
|
165 QTreeWidgetItem |
160 </dd> |
166 </dd> |
161 </dl> |
167 </dl> |
162 <a NAME="CodeMetricsDialog.__createSummaryItem" ID="CodeMetricsDialog.__createSummaryItem"></a> |
168 <a NAME="CodeMetricsDialog.__createSummaryItem" ID="CodeMetricsDialog.__createSummaryItem"></a> |
163 <h4>CodeMetricsDialog.__createSummaryItem</h4> |
169 <h4>CodeMetricsDialog.__createSummaryItem</h4> |
164 <b>__createSummaryItem</b>(<i>col0, col1</i>) |
170 <b>__createSummaryItem</b>(<i>col0, col1</i>) |
166 <p> |
172 <p> |
167 Private slot to create a new item in the summary list. |
173 Private slot to create a new item in the summary list. |
168 </p> |
174 </p> |
169 <dl> |
175 <dl> |
170 |
176 |
171 <dt><i>col0</i></dt> |
177 <dt><i>col0</i> (str)</dt> |
172 <dd> |
178 <dd> |
173 string for column 0 (string) |
179 string for column 0 |
174 </dd> |
180 </dd> |
175 <dt><i>col1</i></dt> |
181 <dt><i>col1</i> (str)</dt> |
176 <dd> |
182 <dd> |
177 string for column 1 (string) |
183 string for column 1 |
178 </dd> |
184 </dd> |
179 </dl> |
185 </dl> |
180 <a NAME="CodeMetricsDialog.__finish" ID="CodeMetricsDialog.__finish"></a> |
186 <a NAME="CodeMetricsDialog.__finish" ID="CodeMetricsDialog.__finish"></a> |
181 <h4>CodeMetricsDialog.__finish</h4> |
187 <h4>CodeMetricsDialog.__finish</h4> |
182 <b>__finish</b>(<i></i>) |
188 <b>__finish</b>(<i></i>) |
192 <p> |
198 <p> |
193 Private method to extract the code metric values. |
199 Private method to extract the code metric values. |
194 </p> |
200 </p> |
195 <dl> |
201 <dl> |
196 |
202 |
197 <dt><i>loc</i></dt> |
203 <dt><i>loc</i> (QLocale)</dt> |
198 <dd> |
204 <dd> |
199 reference to the locale object (QLocale) |
205 reference to the locale object |
200 </dd> |
206 </dd> |
201 <dt><i>stats</i></dt> |
207 <dt><i>stats</i> (SourceStat)</dt> |
202 <dd> |
208 <dd> |
203 reference to the code metric statistics object |
209 reference to the code metric statistics object |
204 </dd> |
210 </dd> |
205 <dt><i>identifier</i></dt> |
211 <dt><i>identifier</i> (str)</dt> |
206 <dd> |
212 <dd> |
207 identifier to get values for |
213 identifier to get values for |
208 </dd> |
214 </dd> |
209 </dl> |
215 </dl> |
210 <dl> |
216 <dl> |
211 <dt>Return:</dt> |
217 <dt>Return:</dt> |
212 <dd> |
218 <dd> |
213 list of values suitable for display (list of strings) |
219 list of values suitable for display |
|
220 </dd> |
|
221 </dl> |
|
222 <dl> |
|
223 <dt>Return Type:</dt> |
|
224 <dd> |
|
225 list of str |
214 </dd> |
226 </dd> |
215 </dl> |
227 </dl> |
216 <a NAME="CodeMetricsDialog.__resizeResultColumns" ID="CodeMetricsDialog.__resizeResultColumns"></a> |
228 <a NAME="CodeMetricsDialog.__resizeResultColumns" ID="CodeMetricsDialog.__resizeResultColumns"></a> |
217 <h4>CodeMetricsDialog.__resizeResultColumns</h4> |
229 <h4>CodeMetricsDialog.__resizeResultColumns</h4> |
218 <b>__resizeResultColumns</b>(<i></i>) |
230 <b>__resizeResultColumns</b>(<i></i>) |
248 <p> |
260 <p> |
249 Private slot to show the context menu of the listview. |
261 Private slot to show the context menu of the listview. |
250 </p> |
262 </p> |
251 <dl> |
263 <dl> |
252 |
264 |
253 <dt><i>coord</i></dt> |
265 <dt><i>coord</i> (QPoint)</dt> |
254 <dd> |
266 <dd> |
255 the position of the mouse pointer (QPoint) |
267 the position of the mouse pointer |
256 </dd> |
268 </dd> |
257 </dl> |
269 </dl> |
258 <a NAME="CodeMetricsDialog.closeEvent" ID="CodeMetricsDialog.closeEvent"></a> |
270 <a NAME="CodeMetricsDialog.closeEvent" ID="CodeMetricsDialog.closeEvent"></a> |
259 <h4>CodeMetricsDialog.closeEvent</h4> |
271 <h4>CodeMetricsDialog.closeEvent</h4> |
260 <b>closeEvent</b>(<i>evt</i>) |
272 <b>closeEvent</b>(<i>evt</i>) |
276 <p> |
288 <p> |
277 Private slot called by a button of the button box clicked. |
289 Private slot called by a button of the button box clicked. |
278 </p> |
290 </p> |
279 <dl> |
291 <dl> |
280 |
292 |
281 <dt><i>button</i></dt> |
293 <dt><i>button</i> (QAbstractButton)</dt> |
282 <dd> |
294 <dd> |
283 button that was clicked (QAbstractButton) |
295 button that was clicked |
284 </dd> |
296 </dd> |
285 </dl> |
297 </dl> |
286 <a NAME="CodeMetricsDialog.on_startButton_clicked" ID="CodeMetricsDialog.on_startButton_clicked"></a> |
298 <a NAME="CodeMetricsDialog.on_startButton_clicked" ID="CodeMetricsDialog.on_startButton_clicked"></a> |
287 <h4>CodeMetricsDialog.on_startButton_clicked</h4> |
299 <h4>CodeMetricsDialog.on_startButton_clicked</h4> |
288 <b>on_startButton_clicked</b>(<i></i>) |
300 <b>on_startButton_clicked</b>(<i></i>) |