Documentation/Source/eric5.DataViews.CodeMetricsDialog.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.DataViews.CodeMetricsDialog</h1> 23 <h1>eric5.DataViews.CodeMetricsDialog</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#99;&#111;&#100;&#101; &#109;&#101;&#116;&#114;&#105;&#99;&#115; &#100;&#105;&#97;&#108;&#111;&#103;. 25 Module implementing a code metrics dialog.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#CodeMetricsDialog">CodeMetricsDialog</a></td> 34 <td><a href="#CodeMetricsDialog">CodeMetricsDialog</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#104;&#101; &#99;&#111;&#100;&#101; &#109;&#101;&#116;&#114;&#105;&#99;&#115;.</td> 35 <td>Class implementing a dialog to display the code metrics.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="CodeMetricsDialog" ID="CodeMetricsDialog"></a> 43 <a NAME="CodeMetricsDialog" ID="CodeMetricsDialog"></a>
44 <h2>CodeMetricsDialog</h2> 44 <h2>CodeMetricsDialog</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#104;&#101; &#99;&#111;&#100;&#101; &#109;&#101;&#116;&#114;&#105;&#99;&#115;. 46 Class implementing a dialog to display the code metrics.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 QDialog, Ui_CodeMetricsDialog 49 QDialog, Ui_CodeMetricsDialog
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
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>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#110;&#101;w &#105;&#116;&#101;&#109; &#105;&#110; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116; &#108;&#105;&#115;&#116;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#110;&#101;w &#105;&#116;&#101;&#109; &#105;&#110; &#116;&#104;&#101; &#115;&#117;&#109;&#109;&#97;&#114;y &#108;&#105;&#115;&#116;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#116;&#104;&#101; &#97;&#99;&#116;&#105;&#111;&#110; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100; &#111;&#114; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#112;&#114;&#101;&#115;&#115;&#101;&#100; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;x&#116;&#114;&#97;&#99;&#116; &#116;&#104;&#101; &#99;&#111;&#100;&#101; &#109;&#101;&#116;&#114;&#105;&#99; v&#97;&#108;&#117;&#101;&#115;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#105;z&#101; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110;&#115;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#105;z&#101; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110;&#115;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#108;&#108;&#97;&#112;&#115;&#101; &#97;&#108;&#108; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116;&#108;&#105;&#115;&#116;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#97;&#108;&#108; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116;&#108;&#105;&#115;&#116;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#115;&#116;v&#105;&#101;w.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;.</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>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#99;&#111;&#100;&#101; &#109;&#101;&#116;&#114;&#105;&#99;&#115; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#97;&#116;&#105;&#111;&#110;.</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 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 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 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#110;&#101;w &#105;&#116;&#101;&#109; &#105;&#110; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116; &#108;&#105;&#115;&#116;. 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 &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#102; &#116;&#104;&#101; &#110;&#101;w &#105;&#116;&#101;&#109; (&#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116; &#111;&#114; &#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;) 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 &#115;&#116;&#114;&#105;&#110;&#103;&#115; &#116;&#111; &#98;&#101; &#100;&#105;&#115;&#112;&#108;&#97;y&#101;&#100; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 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 &#116;&#104;&#101; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101;&#100; &#105;&#116;&#101;&#109; 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#110;&#101;w &#105;&#116;&#101;&#109; &#105;&#110; &#116;&#104;&#101; &#115;&#117;&#109;&#109;&#97;&#114;y &#108;&#105;&#115;&#116;. 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 &#115;&#116;&#114;&#105;&#110;&#103; &#102;&#111;&#114; &#99;&#111;&#108;&#117;&#109;&#110; &#48; (&#115;&#116;&#114;&#105;&#110;&#103;) 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 &#115;&#116;&#114;&#105;&#110;&#103; &#102;&#111;&#114; &#99;&#111;&#108;&#117;&#109;&#110; &#49; (&#115;&#116;&#114;&#105;&#110;&#103;) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#116;&#104;&#101; &#97;&#99;&#116;&#105;&#111;&#110; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100; &#111;&#114; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#112;&#114;&#101;&#115;&#115;&#101;&#100; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;x&#116;&#114;&#97;&#99;&#116; &#116;&#104;&#101; &#99;&#111;&#100;&#101; &#109;&#101;&#116;&#114;&#105;&#99; v&#97;&#108;&#117;&#101;&#115;. 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#108;&#111;&#99;&#97;&#108;&#101; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#76;&#111;&#99;&#97;&#108;&#101;) 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#99;&#111;&#100;&#101; &#109;&#101;&#116;&#114;&#105;&#99; &#115;&#116;&#97;&#116;&#105;&#115;&#116;&#105;&#99;&#115; &#111;&#98;&#106;&#101;&#99;&#116; 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 &#105;&#100;&#101;&#110;&#116;&#105;&#102;&#105;&#101;&#114; &#116;&#111; &#103;&#101;&#116; v&#97;&#108;&#117;&#101;&#115; &#102;&#111;&#114; 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 &#108;&#105;&#115;&#116; &#111;&#102; v&#97;&#108;&#117;&#101;&#115; &#115;&#117;&#105;&#116;&#97;&#98;&#108;&#101; &#102;&#111;&#114; &#100;&#105;&#115;&#112;&#108;&#97;y (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#105;z&#101; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110;&#115;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#105;z&#101; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110;&#115;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#108;&#108;&#97;&#112;&#115;&#101; &#97;&#108;&#108; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116;&#108;&#105;&#115;&#116;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#97;&#108;&#108; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116;&#108;&#105;&#115;&#116;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#115;&#116;v&#105;&#101;w. 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 &#116;&#104;&#101; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#117;&#115;&#101; &#112;&#111;&#105;&#110;&#116;&#101;&#114; (&#81;&#80;&#111;&#105;&#110;&#116;) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;. 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 &#98;&#117;&#116;&#116;&#111;&#110; &#116;&#104;&#97;&#116; w&#97;&#115; &#99;&#108;&#105;&#99;&#107;&#101;&#100; (&#81;&#65;&#98;&#115;&#116;&#114;&#97;&#99;&#116;&#66;&#117;&#116;&#116;&#111;&#110;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#99;&#111;&#100;&#101; &#109;&#101;&#116;&#114;&#105;&#99;&#115; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#97;&#116;&#105;&#111;&#110;. 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 &#102;&#105;&#108;&#101; &#111;&#114; &#108;&#105;&#115;&#116; &#111;&#102; &#102;&#105;&#108;&#101;&#115; &#111;&#114; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#116;&#111; &#98;&#101; &#115;&#104;&#111;w 209 file or list of files or directory to be show
210 &#116;&#104;&#101; &#99;&#111;&#100;&#101; &#109;&#101;&#116;&#114;&#105;&#99;&#115; &#102;&#111;&#114; (&#115;&#116;&#114;&#105;&#110;&#103; &#111;&#114; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 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>

eric ide

mercurial