Documentation/Source/eric5.DataViews.PyCoverageDialog.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.PyCoverageDialog</h1> 23 <h1>eric5.DataViews.PyCoverageDialog</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; &#80;y&#116;&#104;&#111;&#110; &#99;&#111;&#100;&#101; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#100;&#105;&#97;&#108;&#111;&#103;. 25 Module implementing a Python code coverage 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="#PyCoverageDialog">PyCoverageDialog</a></td> 34 <td><a href="#PyCoverageDialog">PyCoverageDialog</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;&#108;&#108;&#101;&#99;&#116;&#101;&#100; &#99;&#111;&#100;&#101; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#100;&#97;&#116;&#97;.</td> 35 <td>Class implementing a dialog to display the collected code coverage data.</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="PyCoverageDialog" ID="PyCoverageDialog"></a> 43 <a NAME="PyCoverageDialog" ID="PyCoverageDialog"></a>
44 <h2>PyCoverageDialog</h2> 44 <h2>PyCoverageDialog</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;&#108;&#108;&#101;&#99;&#116;&#101;&#100; &#99;&#111;&#100;&#101; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#100;&#97;&#116;&#97;. 46 Class implementing a dialog to display the collected code coverage data.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 QDialog, Ui_PyCoverageDialog 49 QDialog, Ui_PyCoverageDialog
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="#PyCoverageDialog.__init__">PyCoverageDialog</a></td> 57 <td><a href="#PyCoverageDialog.__init__">PyCoverageDialog</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="#PyCoverageDialog.__annotate">__annotate</a></td> 60 <td><a href="#PyCoverageDialog.__annotate">__annotate</a></td>
61 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#110;&#110;&#111;&#116;&#97;&#116;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 61 <td>Private slot to handle the annotate context menu action.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#PyCoverageDialog.__annotateAll">__annotateAll</a></td> 63 <td><a href="#PyCoverageDialog.__annotateAll">__annotateAll</a></td>
64 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#110;&#110;&#111;&#116;&#97;&#116;&#101; &#97;&#108;&#108; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 64 <td>Private slot to handle the annotate all context menu action.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#PyCoverageDialog.__createResultItem">__createResultItem</a></td> 66 <td><a href="#PyCoverageDialog.__createResultItem">__createResultItem</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97;&#110; &#101;&#110;&#116;&#114;y &#105;&#110; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116; &#108;&#105;&#115;&#116;.</td> 67 <td>Private method to create an entry in the result list.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#PyCoverageDialog.__deleteAnnotated">__deleteAnnotated</a></td> 69 <td><a href="#PyCoverageDialog.__deleteAnnotated">__deleteAnnotated</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#100;&#101;&#108;&#101;&#116;&#101; &#97;&#110;&#110;&#111;&#116;&#97;&#116;&#101;&#100; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 70 <td>Private slot to handle the delete annotated context menu action.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#PyCoverageDialog.__erase">__erase</a></td> 72 <td><a href="#PyCoverageDialog.__erase">__erase</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#101;&#114;&#97;&#115;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 73 <td>Private slot to handle the erase context menu action.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#PyCoverageDialog.__finish">__finish</a></td> 75 <td><a href="#PyCoverageDialog.__finish">__finish</a></td>
76 <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> 76 <td>Private slot called when the action finished or the user pressed the button.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#PyCoverageDialog.__format_lines">__format_lines</a></td> 78 <td><a href="#PyCoverageDialog.__format_lines">__format_lines</a></td>
79 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#111;&#114;&#109;&#97;&#116; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#105;&#110;&#116;&#101;&#103;&#101;&#114;&#115; &#105;&#110;&#116;&#111; &#115;&#116;&#114;&#105;&#110;&#103; &#98;y &#99;&#111;&#97;&#108;&#101;&#115;&#99;&#105;&#110;&#103; &#103;&#114;&#111;&#117;&#112;&#115;.</td> 79 <td>Private method to format a list of integers into string by coalescing groups.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#PyCoverageDialog.__showContextMenu">__showContextMenu</a></td> 81 <td><a href="#PyCoverageDialog.__showContextMenu">__showContextMenu</a></td>
82 <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> 82 <td>Private slot to show the context menu of the listview.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#PyCoverageDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 84 <td><a href="#PyCoverageDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
85 <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> 85 <td>Private slot called by a button of the button box clicked.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#PyCoverageDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td> 87 <td><a href="#PyCoverageDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td>
88 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#108;&#111;&#97;&#100; &#116;&#104;&#101; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#105;&#110;&#102;&#111;.</td> 88 <td>Private slot to reload the coverage info.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#PyCoverageDialog.start">start</a></td> 90 <td><a href="#PyCoverageDialog.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;v&#101;&#114;&#97;&#103;&#101; &#100;&#97;&#116;&#97; &#101;v&#97;&#108;&#117;&#97;&#116;&#105;&#111;&#110;.</td> 91 <td>Public slot to start the coverage data evaluation.</td>
92 </tr><tr> 92 </tr><tr>
93 <td><a href="#PyCoverageDialog.stringify">stringify</a></td> 93 <td><a href="#PyCoverageDialog.stringify">stringify</a></td>
94 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#104;&#101;&#108;&#112;&#101;&#114; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#112;&#97;&#105;&#114;</td> 94 <td>Private helper function to generate a string representation of a pair</td>
95 </tr> 95 </tr>
96 </table> 96 </table>
97 <a NAME="PyCoverageDialog.__init__" ID="PyCoverageDialog.__init__"></a> 97 <a NAME="PyCoverageDialog.__init__" ID="PyCoverageDialog.__init__"></a>
98 <h4>PyCoverageDialog (Constructor)</h4> 98 <h4>PyCoverageDialog (Constructor)</h4>
99 <b>PyCoverageDialog</b>(<i>parent = None</i>) 99 <b>PyCoverageDialog</b>(<i>parent = None</i>)
100 <p> 100 <p>
101 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 101 Constructor
102 </p><dl> 102 </p><dl>
103 <dt><i>parent</i></dt> 103 <dt><i>parent</i></dt>
104 <dd> 104 <dd>
105 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 105 parent widget (QWidget)
106 </dd> 106 </dd>
107 </dl><a NAME="PyCoverageDialog.__annotate" ID="PyCoverageDialog.__annotate"></a> 107 </dl><a NAME="PyCoverageDialog.__annotate" ID="PyCoverageDialog.__annotate"></a>
108 <h4>PyCoverageDialog.__annotate</h4> 108 <h4>PyCoverageDialog.__annotate</h4>
109 <b>__annotate</b>(<i></i>) 109 <b>__annotate</b>(<i></i>)
110 <p> 110 <p>
111 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#110;&#110;&#111;&#116;&#97;&#116;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 111 Private slot to handle the annotate context menu action.
112 </p><p> 112 </p><p>
113 &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#112;&#114;&#111;&#100;&#117;&#99;&#101; &#97;&#110; &#97;&#110;&#110;&#111;&#116;&#97;&#116;&#101;&#100; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#102;&#105;&#108;&#101; &#111;&#102; &#116;&#104;&#101; 113 This method produce an annotated coverage file of the
114 &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#102;&#105;&#108;&#101;. 114 selected file.
115 </p><a NAME="PyCoverageDialog.__annotateAll" ID="PyCoverageDialog.__annotateAll"></a> 115 </p><a NAME="PyCoverageDialog.__annotateAll" ID="PyCoverageDialog.__annotateAll"></a>
116 <h4>PyCoverageDialog.__annotateAll</h4> 116 <h4>PyCoverageDialog.__annotateAll</h4>
117 <b>__annotateAll</b>(<i></i>) 117 <b>__annotateAll</b>(<i></i>)
118 <p> 118 <p>
119 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#110;&#110;&#111;&#116;&#97;&#116;&#101; &#97;&#108;&#108; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 119 Private slot to handle the annotate all context menu action.
120 </p><p> 120 </p><p>
121 &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#112;&#114;&#111;&#100;&#117;&#99;&#101; &#97;&#110; &#97;&#110;&#110;&#111;&#116;&#97;&#116;&#101;&#100; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#102;&#105;&#108;&#101; &#111;&#102; &#101;v&#101;&#114;y 121 This method produce an annotated coverage file of every
122 &#102;&#105;&#108;&#101; &#108;&#105;&#115;&#116;&#101;&#100; &#105;&#110; &#116;&#104;&#101; &#108;&#105;&#115;&#116;v&#105;&#101;w. 122 file listed in the listview.
123 </p><a NAME="PyCoverageDialog.__createResultItem" ID="PyCoverageDialog.__createResultItem"></a> 123 </p><a NAME="PyCoverageDialog.__createResultItem" ID="PyCoverageDialog.__createResultItem"></a>
124 <h4>PyCoverageDialog.__createResultItem</h4> 124 <h4>PyCoverageDialog.__createResultItem</h4>
125 <b>__createResultItem</b>(<i>file, statements, executed, coverage, excluded, missing</i>) 125 <b>__createResultItem</b>(<i>file, statements, executed, coverage, excluded, missing</i>)
126 <p> 126 <p>
127 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97;&#110; &#101;&#110;&#116;&#114;y &#105;&#110; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116; &#108;&#105;&#115;&#116;. 127 Private method to create an entry in the result list.
128 </p><dl> 128 </p><dl>
129 <dt><i>file</i></dt> 129 <dt><i>file</i></dt>
130 <dd> 130 <dd>
131 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#111;&#102; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 131 filename of file (string)
132 </dd><dt><i>statements</i></dt> 132 </dd><dt><i>statements</i></dt>
133 <dd> 133 <dd>
134 &#97;&#109;&#111;&#117;&#110;&#116; &#111;&#102; &#115;&#116;&#97;&#116;&#101;&#109;&#101;&#110;&#116;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 134 amount of statements (integer)
135 </dd><dt><i>executed</i></dt> 135 </dd><dt><i>executed</i></dt>
136 <dd> 136 <dd>
137 &#97;&#109;&#111;&#117;&#110;&#116; &#111;&#102; &#101;x&#101;&#99;&#117;&#116;&#101;&#100; &#115;&#116;&#97;&#116;&#101;&#109;&#101;&#110;&#116;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 137 amount of executed statements (integer)
138 </dd><dt><i>coverage</i></dt> 138 </dd><dt><i>coverage</i></dt>
139 <dd> 139 <dd>
140 &#112;&#101;&#114;&#99;&#101;&#110;&#116; &#111;&#102; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 140 percent of coverage (integer)
141 </dd><dt><i>excluded</i></dt> 141 </dd><dt><i>excluded</i></dt>
142 <dd> 142 <dd>
143 &#108;&#105;&#115;&#116; &#111;&#102; &#101;x&#99;&#108;&#117;&#100;&#101;&#100; &#108;&#105;&#110;&#101;&#115; (&#115;&#116;&#114;&#105;&#110;&#103;) 143 list of excluded lines (string)
144 </dd><dt><i>missing</i></dt> 144 </dd><dt><i>missing</i></dt>
145 <dd> 145 <dd>
146 &#108;&#105;&#115;&#116; &#111;&#102; &#108;&#105;&#110;&#101;&#115; w&#105;&#116;&#104;&#111;&#117;&#116; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 146 list of lines without coverage (string)
147 </dd> 147 </dd>
148 </dl><a NAME="PyCoverageDialog.__deleteAnnotated" ID="PyCoverageDialog.__deleteAnnotated"></a> 148 </dl><a NAME="PyCoverageDialog.__deleteAnnotated" ID="PyCoverageDialog.__deleteAnnotated"></a>
149 <h4>PyCoverageDialog.__deleteAnnotated</h4> 149 <h4>PyCoverageDialog.__deleteAnnotated</h4>
150 <b>__deleteAnnotated</b>(<i></i>) 150 <b>__deleteAnnotated</b>(<i></i>)
151 <p> 151 <p>
152 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#100;&#101;&#108;&#101;&#116;&#101; &#97;&#110;&#110;&#111;&#116;&#97;&#116;&#101;&#100; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 152 Private slot to handle the delete annotated context menu action.
153 </p><p> 153 </p><p>
154 &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#100;&#101;&#108;&#101;&#116;&#101;&#115; &#97;&#108;&#108; &#97;&#110;&#110;&#111;&#116;&#97;&#116;&#101;&#100; &#102;&#105;&#108;&#101;&#115;. &#84;&#104;&#101;&#115;&#101; &#97;&#114;&#101; &#102;&#105;&#108;&#101;&#115; 154 This method deletes all annotated files. These are files
155 &#101;&#110;&#100;&#105;&#110;&#103; w&#105;&#116;&#104; ',&#99;&#111;v&#101;&#114;'. 155 ending with ',cover'.
156 </p><a NAME="PyCoverageDialog.__erase" ID="PyCoverageDialog.__erase"></a> 156 </p><a NAME="PyCoverageDialog.__erase" ID="PyCoverageDialog.__erase"></a>
157 <h4>PyCoverageDialog.__erase</h4> 157 <h4>PyCoverageDialog.__erase</h4>
158 <b>__erase</b>(<i></i>) 158 <b>__erase</b>(<i></i>)
159 <p> 159 <p>
160 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#101;&#114;&#97;&#115;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 160 Private slot to handle the erase context menu action.
161 </p><p> 161 </p><p>
162 &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#101;&#114;&#97;&#115;&#101;&#115; &#116;&#104;&#101; &#99;&#111;&#108;&#108;&#101;&#99;&#116;&#101;&#100; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#100;&#97;&#116;&#97; &#116;&#104;&#97;&#116; &#105;&#115; 162 This method erases the collected coverage data that is
163 &#115;&#116;&#111;&#114;&#101;&#100; &#105;&#110; &#116;&#104;&#101; .&#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#102;&#105;&#108;&#101;. 163 stored in the .coverage file.
164 </p><a NAME="PyCoverageDialog.__finish" ID="PyCoverageDialog.__finish"></a> 164 </p><a NAME="PyCoverageDialog.__finish" ID="PyCoverageDialog.__finish"></a>
165 <h4>PyCoverageDialog.__finish</h4> 165 <h4>PyCoverageDialog.__finish</h4>
166 <b>__finish</b>(<i></i>) 166 <b>__finish</b>(<i></i>)
167 <p> 167 <p>
168 &#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;. 168 Private slot called when the action finished or the user pressed the button.
169 </p><a NAME="PyCoverageDialog.__format_lines" ID="PyCoverageDialog.__format_lines"></a> 169 </p><a NAME="PyCoverageDialog.__format_lines" ID="PyCoverageDialog.__format_lines"></a>
170 <h4>PyCoverageDialog.__format_lines</h4> 170 <h4>PyCoverageDialog.__format_lines</h4>
171 <b>__format_lines</b>(<i>lines</i>) 171 <b>__format_lines</b>(<i>lines</i>)
172 <p> 172 <p>
173 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#111;&#114;&#109;&#97;&#116; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#105;&#110;&#116;&#101;&#103;&#101;&#114;&#115; &#105;&#110;&#116;&#111; &#115;&#116;&#114;&#105;&#110;&#103; &#98;y &#99;&#111;&#97;&#108;&#101;&#115;&#99;&#105;&#110;&#103; &#103;&#114;&#111;&#117;&#112;&#115;. 173 Private method to format a list of integers into string by coalescing groups.
174 </p><dl> 174 </p><dl>
175 <dt><i>lines</i></dt> 175 <dt><i>lines</i></dt>
176 <dd> 176 <dd>
177 &#108;&#105;&#115;&#116; &#111;&#102; &#105;&#110;&#116;&#101;&#103;&#101;&#114;&#115; 177 list of integers
178 </dd> 178 </dd>
179 </dl><dl> 179 </dl><dl>
180 <dt>Returns:</dt> 180 <dt>Returns:</dt>
181 <dd> 181 <dd>
182 &#115;&#116;&#114;&#105;&#110;&#103; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#108;&#105;&#115;&#116; 182 string representing the list
183 </dd> 183 </dd>
184 </dl><a NAME="PyCoverageDialog.__showContextMenu" ID="PyCoverageDialog.__showContextMenu"></a> 184 </dl><a NAME="PyCoverageDialog.__showContextMenu" ID="PyCoverageDialog.__showContextMenu"></a>
185 <h4>PyCoverageDialog.__showContextMenu</h4> 185 <h4>PyCoverageDialog.__showContextMenu</h4>
186 <b>__showContextMenu</b>(<i>coord</i>) 186 <b>__showContextMenu</b>(<i>coord</i>)
187 <p> 187 <p>
188 &#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. 188 Private slot to show the context menu of the listview.
189 </p><dl> 189 </p><dl>
190 <dt><i>coord</i></dt> 190 <dt><i>coord</i></dt>
191 <dd> 191 <dd>
192 &#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;) 192 the position of the mouse pointer (QPoint)
193 </dd> 193 </dd>
194 </dl><a NAME="PyCoverageDialog.on_buttonBox_clicked" ID="PyCoverageDialog.on_buttonBox_clicked"></a> 194 </dl><a NAME="PyCoverageDialog.on_buttonBox_clicked" ID="PyCoverageDialog.on_buttonBox_clicked"></a>
195 <h4>PyCoverageDialog.on_buttonBox_clicked</h4> 195 <h4>PyCoverageDialog.on_buttonBox_clicked</h4>
196 <b>on_buttonBox_clicked</b>(<i>button</i>) 196 <b>on_buttonBox_clicked</b>(<i>button</i>)
197 <p> 197 <p>
198 &#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;. 198 Private slot called by a button of the button box clicked.
199 </p><dl> 199 </p><dl>
200 <dt><i>button</i></dt> 200 <dt><i>button</i></dt>
201 <dd> 201 <dd>
202 &#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;) 202 button that was clicked (QAbstractButton)
203 </dd> 203 </dd>
204 </dl><a NAME="PyCoverageDialog.on_reloadButton_clicked" ID="PyCoverageDialog.on_reloadButton_clicked"></a> 204 </dl><a NAME="PyCoverageDialog.on_reloadButton_clicked" ID="PyCoverageDialog.on_reloadButton_clicked"></a>
205 <h4>PyCoverageDialog.on_reloadButton_clicked</h4> 205 <h4>PyCoverageDialog.on_reloadButton_clicked</h4>
206 <b>on_reloadButton_clicked</b>(<i></i>) 206 <b>on_reloadButton_clicked</b>(<i></i>)
207 <p> 207 <p>
208 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#108;&#111;&#97;&#100; &#116;&#104;&#101; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#105;&#110;&#102;&#111;. 208 Private slot to reload the coverage info.
209 </p><a NAME="PyCoverageDialog.start" ID="PyCoverageDialog.start"></a> 209 </p><a NAME="PyCoverageDialog.start" ID="PyCoverageDialog.start"></a>
210 <h4>PyCoverageDialog.start</h4> 210 <h4>PyCoverageDialog.start</h4>
211 <b>start</b>(<i>cfn, fn</i>) 211 <b>start</b>(<i>cfn, fn</i>)
212 <p> 212 <p>
213 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#100;&#97;&#116;&#97; &#101;v&#97;&#108;&#117;&#97;&#116;&#105;&#111;&#110;. 213 Public slot to start the coverage data evaluation.
214 </p><dl> 214 </p><dl>
215 <dt><i>cfn</i></dt> 215 <dt><i>cfn</i></dt>
216 <dd> 216 <dd>
217 &#98;&#97;&#115;&#101;&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#111;v&#101;&#114;&#97;&#103;&#101; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 217 basename of the coverage file (string)
218 </dd><dt><i>fn</i></dt> 218 </dd><dt><i>fn</i></dt>
219 <dd> 219 <dd>
220 &#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; &#99;&#104;&#101;&#99;&#107;&#101;&#100; 220 file or list of files or directory to be checked
221 (&#115;&#116;&#114;&#105;&#110;&#103; &#111;&#114; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 221 (string or list of strings)
222 </dd> 222 </dd>
223 </dl><a NAME="PyCoverageDialog.stringify" ID="PyCoverageDialog.stringify"></a> 223 </dl><a NAME="PyCoverageDialog.stringify" ID="PyCoverageDialog.stringify"></a>
224 <h4>PyCoverageDialog.stringify</h4> 224 <h4>PyCoverageDialog.stringify</h4>
225 <b>stringify</b>(<i></i>) 225 <b>stringify</b>(<i></i>)
226 <p> 226 <p>
227 &#80;&#114;&#105;v&#97;&#116;&#101; &#104;&#101;&#108;&#112;&#101;&#114; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#112;&#97;&#105;&#114; 227 Private helper function to generate a string representation of a pair
228 </p><dl> 228 </p><dl>
229 <dt><i>pair</i></dt> 229 <dt><i>pair</i></dt>
230 <dd> 230 <dd>
231 &#112;&#97;&#105;&#114; &#111;&#102; &#105;&#110;&#116;&#101;&#103;&#101;&#114;&#115; 231 pair of integers
232 </dd> 232 </dd>
233 </dl> 233 </dl>
234 <div align="right"><a href="#top">Up</a></div> 234 <div align="right"><a href="#top">Up</a></div>
235 <hr /> 235 <hr />
236 </body></html> 236 </body></html>

eric ide

mercurial