53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#CodeMetricsDialog.__init__">CodeMetricsDialog</a></td> |
57 <td><a href="#CodeMetricsDialog.__init__">CodeMetricsDialog</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#CodeMetricsDialog.__createResultItem">__createResultItem</a></td> |
60 <td><a href="#CodeMetricsDialog.__createResultItem">__createResultItem</a></td> |
61 <td>Private slot to create a new item in the result list.</td> |
61 <td>Private slot to create a new item in the result list.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#CodeMetricsDialog.__createSummaryItem">__createSummaryItem</a></td> |
63 <td><a href="#CodeMetricsDialog.__createSummaryItem">__createSummaryItem</a></td> |
64 <td>Private slot to create a new item in the summary list.</td> |
64 <td>Private slot to create a new item in the summary list.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#CodeMetricsDialog.__finish">__finish</a></td> |
66 <td><a href="#CodeMetricsDialog.__finish">__finish</a></td> |
67 <td>Private slot called when the action finished or the user pressed the button.</td> |
67 <td>Private slot called when the action finished or the user pressed the button.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#CodeMetricsDialog.__getValues">__getValues</a></td> |
69 <td><a href="#CodeMetricsDialog.__getValues">__getValues</a></td> |
70 <td>Private method to extract the code metric values.</td> |
70 <td>Private method to extract the code metric values.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#CodeMetricsDialog.__resizeResultColumns">__resizeResultColumns</a></td> |
72 <td><a href="#CodeMetricsDialog.__resizeResultColumns">__resizeResultColumns</a></td> |
73 <td>Private method to resize the list columns.</td> |
73 <td>Private method to resize the list columns.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#CodeMetricsDialog.__resizeSummaryColumns">__resizeSummaryColumns</a></td> |
75 <td><a href="#CodeMetricsDialog.__resizeSummaryColumns">__resizeSummaryColumns</a></td> |
76 <td>Private method to resize the list columns.</td> |
76 <td>Private method to resize the list columns.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#CodeMetricsDialog.__resultCollapse">__resultCollapse</a></td> |
78 <td><a href="#CodeMetricsDialog.__resultCollapse">__resultCollapse</a></td> |
79 <td>Private slot to collapse all entries of the resultlist.</td> |
79 <td>Private slot to collapse all entries of the resultlist.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#CodeMetricsDialog.__resultExpand">__resultExpand</a></td> |
81 <td><a href="#CodeMetricsDialog.__resultExpand">__resultExpand</a></td> |
82 <td>Private slot to expand all entries of the resultlist.</td> |
82 <td>Private slot to expand all entries of the resultlist.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#CodeMetricsDialog.__showContextMenu">__showContextMenu</a></td> |
84 <td><a href="#CodeMetricsDialog.__showContextMenu">__showContextMenu</a></td> |
85 <td>Private slot to show the context menu of the listview.</td> |
85 <td>Private slot to show the context menu of the listview.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#CodeMetricsDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
87 <td><a href="#CodeMetricsDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
88 <td>Private slot called by a button of the button box clicked.</td> |
88 <td>Private slot called by a button of the button box clicked.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#CodeMetricsDialog.start">start</a></td> |
90 <td><a href="#CodeMetricsDialog.start">start</a></td> |
91 <td>Public slot to start the code metrics determination.</td> |
91 <td>Public slot to start the code metrics determination.</td> |
92 </tr> |
92 </tr> |
93 </table> |
93 </table> |
94 <a NAME="CodeMetricsDialog.__init__" ID="CodeMetricsDialog.__init__"></a> |
94 <a NAME="CodeMetricsDialog.__init__" ID="CodeMetricsDialog.__init__"></a> |
95 <h4>CodeMetricsDialog (Constructor)</h4> |
95 <h4>CodeMetricsDialog (Constructor)</h4> |
96 <b>CodeMetricsDialog</b>(<i>parent = None</i>) |
96 <b>CodeMetricsDialog</b>(<i>parent = None</i>) |
97 <p> |
97 <p> |
98 Constructor |
98 Constructor |
99 </p><dl> |
99 </p><dl> |
100 <dt><i>parent</i></dt> |
100 <dt><i>parent</i></dt> |
101 <dd> |
101 <dd> |
102 parent widget (QWidget) |
102 parent widget (QWidget) |
103 </dd> |
103 </dd> |
104 </dl><a NAME="CodeMetricsDialog.__createResultItem" ID="CodeMetricsDialog.__createResultItem"></a> |
104 </dl><a NAME="CodeMetricsDialog.__createResultItem" ID="CodeMetricsDialog.__createResultItem"></a> |
105 <h4>CodeMetricsDialog.__createResultItem</h4> |
105 <h4>CodeMetricsDialog.__createResultItem</h4> |
106 <b>__createResultItem</b>(<i>parent, strings</i>) |
106 <b>__createResultItem</b>(<i>parent, strings</i>) |
107 <p> |
107 <p> |
108 Private slot to create a new item in the result list. |
108 Private slot to create a new item in the result list. |
109 </p><dl> |
109 </p><dl> |
110 <dt><i>parent</i></dt> |
110 <dt><i>parent</i></dt> |
111 <dd> |
111 <dd> |
112 parent of the new item (QTreeWidget or QTreeWidgetItem) |
112 parent of the new item (QTreeWidget or QTreeWidgetItem) |
113 </dd><dt><i>strings</i></dt> |
113 </dd><dt><i>strings</i></dt> |
114 <dd> |
114 <dd> |
115 strings to be displayed (list of strings) |
115 strings to be displayed (list of strings) |
116 </dd> |
116 </dd> |
117 </dl><dl> |
117 </dl><dl> |
118 <dt>Returns:</dt> |
118 <dt>Returns:</dt> |
119 <dd> |
119 <dd> |
120 the generated item |
120 the generated item |
121 </dd> |
121 </dd> |
122 </dl><a NAME="CodeMetricsDialog.__createSummaryItem" ID="CodeMetricsDialog.__createSummaryItem"></a> |
122 </dl><a NAME="CodeMetricsDialog.__createSummaryItem" ID="CodeMetricsDialog.__createSummaryItem"></a> |
123 <h4>CodeMetricsDialog.__createSummaryItem</h4> |
123 <h4>CodeMetricsDialog.__createSummaryItem</h4> |
124 <b>__createSummaryItem</b>(<i>col0, col1</i>) |
124 <b>__createSummaryItem</b>(<i>col0, col1</i>) |
125 <p> |
125 <p> |
126 Private slot to create a new item in the summary list. |
126 Private slot to create a new item in the summary list. |
127 </p><dl> |
127 </p><dl> |
128 <dt><i>col0</i></dt> |
128 <dt><i>col0</i></dt> |
129 <dd> |
129 <dd> |
130 string for column 0 (string) |
130 string for column 0 (string) |
131 </dd><dt><i>col1</i></dt> |
131 </dd><dt><i>col1</i></dt> |
132 <dd> |
132 <dd> |
133 string for column 1 (string) |
133 string for column 1 (string) |
134 </dd> |
134 </dd> |
135 </dl><a NAME="CodeMetricsDialog.__finish" ID="CodeMetricsDialog.__finish"></a> |
135 </dl><a NAME="CodeMetricsDialog.__finish" ID="CodeMetricsDialog.__finish"></a> |
136 <h4>CodeMetricsDialog.__finish</h4> |
136 <h4>CodeMetricsDialog.__finish</h4> |
137 <b>__finish</b>(<i></i>) |
137 <b>__finish</b>(<i></i>) |
138 <p> |
138 <p> |
139 Private slot called when the action finished or the user pressed the button. |
139 Private slot called when the action finished or the user pressed the button. |
140 </p><a NAME="CodeMetricsDialog.__getValues" ID="CodeMetricsDialog.__getValues"></a> |
140 </p><a NAME="CodeMetricsDialog.__getValues" ID="CodeMetricsDialog.__getValues"></a> |
141 <h4>CodeMetricsDialog.__getValues</h4> |
141 <h4>CodeMetricsDialog.__getValues</h4> |
142 <b>__getValues</b>(<i>loc, stats, identifier</i>) |
142 <b>__getValues</b>(<i>loc, stats, identifier</i>) |
143 <p> |
143 <p> |
144 Private method to extract the code metric values. |
144 Private method to extract the code metric values. |
145 </p><dl> |
145 </p><dl> |
146 <dt><i>loc</i></dt> |
146 <dt><i>loc</i></dt> |
147 <dd> |
147 <dd> |
148 reference to the locale object (QLocale) |
148 reference to the locale object (QLocale) |
149 </dd><dt><i>stats</i></dt> |
149 </dd><dt><i>stats</i></dt> |
150 <dd> |
150 <dd> |
151 reference to the code metric statistics object |
151 reference to the code metric statistics object |
152 </dd><dt><i>identifier</i></dt> |
152 </dd><dt><i>identifier</i></dt> |
153 <dd> |
153 <dd> |
154 identifier to get values for |
154 identifier to get values for |
155 </dd> |
155 </dd> |
156 </dl><dl> |
156 </dl><dl> |
157 <dt>Returns:</dt> |
157 <dt>Returns:</dt> |
158 <dd> |
158 <dd> |
159 list of values suitable for display (list of strings) |
159 list of values suitable for display (list of strings) |
160 </dd> |
160 </dd> |
161 </dl><a NAME="CodeMetricsDialog.__resizeResultColumns" ID="CodeMetricsDialog.__resizeResultColumns"></a> |
161 </dl><a NAME="CodeMetricsDialog.__resizeResultColumns" ID="CodeMetricsDialog.__resizeResultColumns"></a> |
162 <h4>CodeMetricsDialog.__resizeResultColumns</h4> |
162 <h4>CodeMetricsDialog.__resizeResultColumns</h4> |
163 <b>__resizeResultColumns</b>(<i></i>) |
163 <b>__resizeResultColumns</b>(<i></i>) |
164 <p> |
164 <p> |
165 Private method to resize the list columns. |
165 Private method to resize the list columns. |
166 </p><a NAME="CodeMetricsDialog.__resizeSummaryColumns" ID="CodeMetricsDialog.__resizeSummaryColumns"></a> |
166 </p><a NAME="CodeMetricsDialog.__resizeSummaryColumns" ID="CodeMetricsDialog.__resizeSummaryColumns"></a> |
167 <h4>CodeMetricsDialog.__resizeSummaryColumns</h4> |
167 <h4>CodeMetricsDialog.__resizeSummaryColumns</h4> |
168 <b>__resizeSummaryColumns</b>(<i></i>) |
168 <b>__resizeSummaryColumns</b>(<i></i>) |
169 <p> |
169 <p> |
170 Private method to resize the list columns. |
170 Private method to resize the list columns. |
171 </p><a NAME="CodeMetricsDialog.__resultCollapse" ID="CodeMetricsDialog.__resultCollapse"></a> |
171 </p><a NAME="CodeMetricsDialog.__resultCollapse" ID="CodeMetricsDialog.__resultCollapse"></a> |
172 <h4>CodeMetricsDialog.__resultCollapse</h4> |
172 <h4>CodeMetricsDialog.__resultCollapse</h4> |
173 <b>__resultCollapse</b>(<i></i>) |
173 <b>__resultCollapse</b>(<i></i>) |
174 <p> |
174 <p> |
175 Private slot to collapse all entries of the resultlist. |
175 Private slot to collapse all entries of the resultlist. |
176 </p><a NAME="CodeMetricsDialog.__resultExpand" ID="CodeMetricsDialog.__resultExpand"></a> |
176 </p><a NAME="CodeMetricsDialog.__resultExpand" ID="CodeMetricsDialog.__resultExpand"></a> |
177 <h4>CodeMetricsDialog.__resultExpand</h4> |
177 <h4>CodeMetricsDialog.__resultExpand</h4> |
178 <b>__resultExpand</b>(<i></i>) |
178 <b>__resultExpand</b>(<i></i>) |
179 <p> |
179 <p> |
180 Private slot to expand all entries of the resultlist. |
180 Private slot to expand all entries of the resultlist. |
181 </p><a NAME="CodeMetricsDialog.__showContextMenu" ID="CodeMetricsDialog.__showContextMenu"></a> |
181 </p><a NAME="CodeMetricsDialog.__showContextMenu" ID="CodeMetricsDialog.__showContextMenu"></a> |
182 <h4>CodeMetricsDialog.__showContextMenu</h4> |
182 <h4>CodeMetricsDialog.__showContextMenu</h4> |
183 <b>__showContextMenu</b>(<i>coord</i>) |
183 <b>__showContextMenu</b>(<i>coord</i>) |
184 <p> |
184 <p> |
185 Private slot to show the context menu of the listview. |
185 Private slot to show the context menu of the listview. |
186 </p><dl> |
186 </p><dl> |
187 <dt><i>coord</i></dt> |
187 <dt><i>coord</i></dt> |
188 <dd> |
188 <dd> |
189 the position of the mouse pointer (QPoint) |
189 the position of the mouse pointer (QPoint) |
190 </dd> |
190 </dd> |
191 </dl><a NAME="CodeMetricsDialog.on_buttonBox_clicked" ID="CodeMetricsDialog.on_buttonBox_clicked"></a> |
191 </dl><a NAME="CodeMetricsDialog.on_buttonBox_clicked" ID="CodeMetricsDialog.on_buttonBox_clicked"></a> |
192 <h4>CodeMetricsDialog.on_buttonBox_clicked</h4> |
192 <h4>CodeMetricsDialog.on_buttonBox_clicked</h4> |
193 <b>on_buttonBox_clicked</b>(<i>button</i>) |
193 <b>on_buttonBox_clicked</b>(<i>button</i>) |
194 <p> |
194 <p> |
195 Private slot called by a button of the button box clicked. |
195 Private slot called by a button of the button box clicked. |
196 </p><dl> |
196 </p><dl> |
197 <dt><i>button</i></dt> |
197 <dt><i>button</i></dt> |
198 <dd> |
198 <dd> |
199 button that was clicked (QAbstractButton) |
199 button that was clicked (QAbstractButton) |
200 </dd> |
200 </dd> |
201 </dl><a NAME="CodeMetricsDialog.start" ID="CodeMetricsDialog.start"></a> |
201 </dl><a NAME="CodeMetricsDialog.start" ID="CodeMetricsDialog.start"></a> |
202 <h4>CodeMetricsDialog.start</h4> |
202 <h4>CodeMetricsDialog.start</h4> |
203 <b>start</b>(<i>fn</i>) |
203 <b>start</b>(<i>fn</i>) |
204 <p> |
204 <p> |
205 Public slot to start the code metrics determination. |
205 Public slot to start the code metrics determination. |
206 </p><dl> |
206 </p><dl> |
207 <dt><i>fn</i></dt> |
207 <dt><i>fn</i></dt> |
208 <dd> |
208 <dd> |
209 file or list of files or directory to be show |
209 file or list of files or directory to be show |
210 the code metrics for (string or list of strings) |
210 the code metrics for (string or list of strings) |
211 </dd> |
211 </dd> |
212 </dl> |
212 </dl> |
213 <div align="right"><a href="#top">Up</a></div> |
213 <div align="right"><a href="#top">Up</a></div> |
214 <hr /> |
214 <hr /> |
215 </body></html> |
215 </body></html> |