Documentation/Source/eric5.DataViews.PyProfileDialog.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.PyProfileDialog</h1> 23 <h1>eric5.DataViews.PyProfileDialog</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; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#100;&#105;&#115;&#112;&#108;&#97;y &#112;&#114;&#111;&#102;&#105;&#108;&#101; &#100;&#97;&#116;&#97;. 25 Module implementing a dialog to display profile data.
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="#ProfileTreeWidgetItem">ProfileTreeWidgetItem</a></td> 34 <td><a href="#ProfileTreeWidgetItem">ProfileTreeWidgetItem</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#99;&#117;&#115;&#116;&#111;&#109; &#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109; &#116;&#111; &#97;&#108;&#108;&#111;w &#115;&#111;&#114;&#116;&#105;&#110;&#103; &#111;&#110; &#110;&#117;&#109;&#101;&#114;&#105;&#99; v&#97;&#108;&#117;&#101;&#115;.</td> 35 <td>Class implementing a custom QTreeWidgetItem to allow sorting on numeric values.</td>
36 </tr><tr> 36 </tr><tr>
37 <td><a href="#PyProfileDialog">PyProfileDialog</a></td> 37 <td><a href="#PyProfileDialog">PyProfileDialog</a></td>
38 <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; &#114;&#101;&#115;&#117;&#108;&#116;&#115; &#111;&#102; &#97; &#115;y&#110;&#116;&#97;x &#99;&#104;&#101;&#99;&#107; &#114;&#117;&#110;.</td> 38 <td>Class implementing a dialog to display the results of a syntax check run.</td>
39 </tr> 39 </tr>
40 </table> 40 </table>
41 <h3>Functions</h3> 41 <h3>Functions</h3>
42 <table> 42 <table>
43 <tr><td>None</td></tr> 43 <tr><td>None</td></tr>
44 </table> 44 </table>
45 <hr /><hr /> 45 <hr /><hr />
46 <a NAME="ProfileTreeWidgetItem" ID="ProfileTreeWidgetItem"></a> 46 <a NAME="ProfileTreeWidgetItem" ID="ProfileTreeWidgetItem"></a>
47 <h2>ProfileTreeWidgetItem</h2> 47 <h2>ProfileTreeWidgetItem</h2>
48 <p> 48 <p>
49 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#99;&#117;&#115;&#116;&#111;&#109; &#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109; &#116;&#111; &#97;&#108;&#108;&#111;w &#115;&#111;&#114;&#116;&#105;&#110;&#103; &#111;&#110; &#110;&#117;&#109;&#101;&#114;&#105;&#99; v&#97;&#108;&#117;&#101;&#115;. 49 Class implementing a custom QTreeWidgetItem to allow sorting on numeric values.
50 </p> 50 </p>
51 <h3>Derived from</h3> 51 <h3>Derived from</h3>
52 QTreeWidgetItem 52 QTreeWidgetItem
53 <h3>Class Attributes</h3> 53 <h3>Class Attributes</h3>
54 <table> 54 <table>
56 </table> 56 </table>
57 <h3>Methods</h3> 57 <h3>Methods</h3>
58 <table> 58 <table>
59 <tr> 59 <tr>
60 <td><a href="#ProfileTreeWidgetItem.__getNC">__getNC</a></td> 60 <td><a href="#ProfileTreeWidgetItem.__getNC">__getNC</a></td>
61 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; v&#97;&#108;&#117;&#101; &#116;&#111; &#99;&#111;&#109;&#112;&#97;&#114;&#101; &#111;&#110; &#102;&#111;&#114; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110;.</td> 61 <td>Private method to get the value to compare on for the first column.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#ProfileTreeWidgetItem.__lt__">__lt__</a></td> 63 <td><a href="#ProfileTreeWidgetItem.__lt__">__lt__</a></td>
64 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#105;&#115; &#108;&#101;&#115;&#115; &#116;&#104;&#97;&#110; &#116;&#104;&#101; &#111;&#116;&#104;&#101;&#114; &#111;&#110;&#101;.</td> 64 <td>Public method to check, if the item is less than the other one.</td>
65 </tr> 65 </tr>
66 </table> 66 </table>
67 <a NAME="ProfileTreeWidgetItem.__getNC" ID="ProfileTreeWidgetItem.__getNC"></a> 67 <a NAME="ProfileTreeWidgetItem.__getNC" ID="ProfileTreeWidgetItem.__getNC"></a>
68 <h4>ProfileTreeWidgetItem.__getNC</h4> 68 <h4>ProfileTreeWidgetItem.__getNC</h4>
69 <b>__getNC</b>(<i>itm</i>) 69 <b>__getNC</b>(<i>itm</i>)
70 <p> 70 <p>
71 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; v&#97;&#108;&#117;&#101; &#116;&#111; &#99;&#111;&#109;&#112;&#97;&#114;&#101; &#111;&#110; &#102;&#111;&#114; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110;. 71 Private method to get the value to compare on for the first column.
72 </p><dl> 72 </p><dl>
73 <dt><i>itm</i></dt> 73 <dt><i>itm</i></dt>
74 <dd> 74 <dd>
75 &#105;&#116;&#101;&#109; &#116;&#111; &#111;&#112;&#101;&#114;&#97;&#116;&#101; &#111;&#110; (&#80;&#114;&#111;&#102;&#105;&#108;&#101;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;) 75 item to operate on (ProfileTreeWidgetItem)
76 </dd> 76 </dd>
77 </dl><a NAME="ProfileTreeWidgetItem.__lt__" ID="ProfileTreeWidgetItem.__lt__"></a> 77 </dl><a NAME="ProfileTreeWidgetItem.__lt__" ID="ProfileTreeWidgetItem.__lt__"></a>
78 <h4>ProfileTreeWidgetItem.__lt__</h4> 78 <h4>ProfileTreeWidgetItem.__lt__</h4>
79 <b>__lt__</b>(<i>other</i>) 79 <b>__lt__</b>(<i>other</i>)
80 <p> 80 <p>
81 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#105;&#115; &#108;&#101;&#115;&#115; &#116;&#104;&#97;&#110; &#116;&#104;&#101; &#111;&#116;&#104;&#101;&#114; &#111;&#110;&#101;. 81 Public method to check, if the item is less than the other one.
82 </p><dl> 82 </p><dl>
83 <dt><i>other</i></dt> 83 <dt><i>other</i></dt>
84 <dd> 84 <dd>
85 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#105;&#116;&#101;&#109; &#116;&#111; &#99;&#111;&#109;&#112;&#97;&#114;&#101; &#97;&#103;&#97;&#105;&#110;&#115;&#116; (&#80;&#114;&#111;&#102;&#105;&#108;&#101;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;) 85 reference to item to compare against (ProfileTreeWidgetItem)
86 </dd> 86 </dd>
87 </dl><dl> 87 </dl><dl>
88 <dt>Returns:</dt> 88 <dt>Returns:</dt>
89 <dd> 89 <dd>
90 &#116;&#114;&#117;&#101;, &#105;&#102; &#116;&#104;&#105;&#115; &#105;&#116;&#101;&#109; &#105;&#115; &#108;&#101;&#115;&#115; &#116;&#104;&#97;&#110; &#111;&#116;&#104;&#101;&#114; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 90 true, if this item is less than other (boolean)
91 </dd> 91 </dd>
92 </dl> 92 </dl>
93 <div align="right"><a href="#top">Up</a></div> 93 <div align="right"><a href="#top">Up</a></div>
94 <hr /><hr /> 94 <hr /><hr />
95 <a NAME="PyProfileDialog" ID="PyProfileDialog"></a> 95 <a NAME="PyProfileDialog" ID="PyProfileDialog"></a>
96 <h2>PyProfileDialog</h2> 96 <h2>PyProfileDialog</h2>
97 <p> 97 <p>
98 &#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; &#114;&#101;&#115;&#117;&#108;&#116;&#115; &#111;&#102; &#97; &#115;y&#110;&#116;&#97;x &#99;&#104;&#101;&#99;&#107; &#114;&#117;&#110;. 98 Class implementing a dialog to display the results of a syntax check run.
99 </p> 99 </p>
100 <h3>Derived from</h3> 100 <h3>Derived from</h3>
101 QDialog, Ui_PyProfileDialog 101 QDialog, Ui_PyProfileDialog
102 <h3>Class Attributes</h3> 102 <h3>Class Attributes</h3>
103 <table> 103 <table>
105 </table> 105 </table>
106 <h3>Methods</h3> 106 <h3>Methods</h3>
107 <table> 107 <table>
108 <tr> 108 <tr>
109 <td><a href="#PyProfileDialog.__init__">PyProfileDialog</a></td> 109 <td><a href="#PyProfileDialog.__init__">PyProfileDialog</a></td>
110 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 110 <td>Constructor</td>
111 </tr><tr> 111 </tr><tr>
112 <td><a href="#PyProfileDialog.__createResultItem">__createResultItem</a></td> 112 <td><a href="#PyProfileDialog.__createResultItem">__createResultItem</a></td>
113 <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> 113 <td>Private method to create an entry in the result list.</td>
114 </tr><tr> 114 </tr><tr>
115 <td><a href="#PyProfileDialog.__createSummaryItem">__createSummaryItem</a></td> 115 <td><a href="#PyProfileDialog.__createSummaryItem">__createSummaryItem</a></td>
116 <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; &#115;&#117;&#109;&#109;&#97;&#114;y &#108;&#105;&#115;&#116;.</td> 116 <td>Private method to create an entry in the summary list.</td>
117 </tr><tr> 117 </tr><tr>
118 <td><a href="#PyProfileDialog.__eraseAll">__eraseAll</a></td> 118 <td><a href="#PyProfileDialog.__eraseAll">__eraseAll</a></td>
119 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;&#114;&#97;&#115;&#101; &#65;&#108;&#108; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 119 <td>Private slot to handle the Erase All context menu action.</td>
120 </tr><tr> 120 </tr><tr>
121 <td><a href="#PyProfileDialog.__eraseProfile">__eraseProfile</a></td> 121 <td><a href="#PyProfileDialog.__eraseProfile">__eraseProfile</a></td>
122 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;&#114;&#97;&#115;&#101; &#80;&#114;&#111;&#102;&#105;&#108;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 122 <td>Private slot to handle the Erase Profile context menu action.</td>
123 </tr><tr> 123 </tr><tr>
124 <td><a href="#PyProfileDialog.__eraseTiming">__eraseTiming</a></td> 124 <td><a href="#PyProfileDialog.__eraseTiming">__eraseTiming</a></td>
125 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;&#114;&#97;&#115;&#101; &#84;&#105;&#109;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 125 <td>Private slot to handle the Erase Timing context menu action.</td>
126 </tr><tr> 126 </tr><tr>
127 <td><a href="#PyProfileDialog.__filter">__filter</a></td> 127 <td><a href="#PyProfileDialog.__filter">__filter</a></td>
128 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;x&#99;&#108;&#117;&#100;&#101;/&#73;&#110;&#99;&#108;&#117;&#100;&#101; &#80;y&#116;&#104;&#111;&#110; &#76;&#105;&#98;&#114;&#97;&#114;y &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 128 <td>Private slot to handle the Exclude/Include Python Library context menu action.</td>
129 </tr><tr> 129 </tr><tr>
130 <td><a href="#PyProfileDialog.__finish">__finish</a></td> 130 <td><a href="#PyProfileDialog.__finish">__finish</a></td>
131 <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> 131 <td>Private slot called when the action finished or the user pressed the button.</td>
132 </tr><tr> 132 </tr><tr>
133 <td><a href="#PyProfileDialog.__populateLists">__populateLists</a></td> 133 <td><a href="#PyProfileDialog.__populateLists">__populateLists</a></td>
134 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#108;&#105;&#115;&#116;v&#105;&#101;w&#115;.</td> 134 <td>Private method used to populate the listviews.</td>
135 </tr><tr> 135 </tr><tr>
136 <td><a href="#PyProfileDialog.__resortResultList">__resortResultList</a></td> 136 <td><a href="#PyProfileDialog.__resortResultList">__resortResultList</a></td>
137 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#114;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;.</td> 137 <td>Private method to resort the tree.</td>
138 </tr><tr> 138 </tr><tr>
139 <td><a href="#PyProfileDialog.__showContextMenu">__showContextMenu</a></td> 139 <td><a href="#PyProfileDialog.__showContextMenu">__showContextMenu</a></td>
140 <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> 140 <td>Private slot to show the context menu of the listview.</td>
141 </tr><tr> 141 </tr><tr>
142 <td><a href="#PyProfileDialog.__unfinish">__unfinish</a></td> 142 <td><a href="#PyProfileDialog.__unfinish">__unfinish</a></td>
143 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#114;&#101;v&#101;&#114;&#116; &#116;&#104;&#101; &#101;&#102;&#102;&#101;&#99;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#95;&#95;&#102;&#105;&#110;&#105;&#115;&#104; &#115;&#108;&#111;&#116;.</td> 143 <td>Private slot called to revert the effects of the __finish slot.</td>
144 </tr><tr> 144 </tr><tr>
145 <td><a href="#PyProfileDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 145 <td><a href="#PyProfileDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
146 <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> 146 <td>Private slot called by a button of the button box clicked.</td>
147 </tr><tr> 147 </tr><tr>
148 <td><a href="#PyProfileDialog.start">start</a></td> 148 <td><a href="#PyProfileDialog.start">start</a></td>
149 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#102;&#105;&#108;&#101; &#100;&#97;&#116;&#97;.</td> 149 <td>Public slot to start the calculation of the profile data.</td>
150 </tr> 150 </tr>
151 </table> 151 </table>
152 <a NAME="PyProfileDialog.__init__" ID="PyProfileDialog.__init__"></a> 152 <a NAME="PyProfileDialog.__init__" ID="PyProfileDialog.__init__"></a>
153 <h4>PyProfileDialog (Constructor)</h4> 153 <h4>PyProfileDialog (Constructor)</h4>
154 <b>PyProfileDialog</b>(<i>parent = None</i>) 154 <b>PyProfileDialog</b>(<i>parent = None</i>)
155 <p> 155 <p>
156 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 156 Constructor
157 </p><dl> 157 </p><dl>
158 <dt><i>parent</i></dt> 158 <dt><i>parent</i></dt>
159 <dd> 159 <dd>
160 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 160 parent widget (QWidget)
161 </dd> 161 </dd>
162 </dl><a NAME="PyProfileDialog.__createResultItem" ID="PyProfileDialog.__createResultItem"></a> 162 </dl><a NAME="PyProfileDialog.__createResultItem" ID="PyProfileDialog.__createResultItem"></a>
163 <h4>PyProfileDialog.__createResultItem</h4> 163 <h4>PyProfileDialog.__createResultItem</h4>
164 <b>__createResultItem</b>(<i>calls, totalTime, totalTimePerCall, cumulativeTime, cumulativeTimePerCall, file, line, functionName</i>) 164 <b>__createResultItem</b>(<i>calls, totalTime, totalTimePerCall, cumulativeTime, cumulativeTimePerCall, file, line, functionName</i>)
165 <p> 165 <p>
166 &#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;. 166 Private method to create an entry in the result list.
167 </p><dl> 167 </p><dl>
168 <dt><i>calls</i></dt> 168 <dt><i>calls</i></dt>
169 <dd> 169 <dd>
170 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#97;&#108;&#108;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 170 number of calls (integer)
171 </dd><dt><i>totalTime</i></dt> 171 </dd><dt><i>totalTime</i></dt>
172 <dd> 172 <dd>
173 &#116;&#111;&#116;&#97;&#108; &#116;&#105;&#109;&#101; (&#100;&#111;&#117;&#98;&#108;&#101;) 173 total time (double)
174 </dd><dt><i>totalTimePerCall</i></dt> 174 </dd><dt><i>totalTimePerCall</i></dt>
175 <dd> 175 <dd>
176 &#116;&#111;&#116;&#97;&#108; &#116;&#105;&#109;&#101; &#112;&#101;&#114; &#99;&#97;&#108;&#108; (&#100;&#111;&#117;&#98;&#108;&#101;) 176 total time per call (double)
177 </dd><dt><i>cumulativeTime</i></dt> 177 </dd><dt><i>cumulativeTime</i></dt>
178 <dd> 178 <dd>
179 &#99;&#117;&#109;&#117;&#108;&#97;&#116;&#105;v&#101; &#116;&#105;&#109;&#101; (&#100;&#111;&#117;&#98;&#108;&#101;) 179 cumulative time (double)
180 </dd><dt><i>cumulativeTimePerCall</i></dt> 180 </dd><dt><i>cumulativeTimePerCall</i></dt>
181 <dd> 181 <dd>
182 &#99;&#117;&#109;&#117;&#108;&#97;&#116;&#105;v&#101; &#116;&#105;&#109;&#101; &#112;&#101;&#114; &#99;&#97;&#108;&#108; (&#100;&#111;&#117;&#98;&#108;&#101;) 182 cumulative time per call (double)
183 </dd><dt><i>file</i></dt> 183 </dd><dt><i>file</i></dt>
184 <dd> 184 <dd>
185 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#111;&#102; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 185 filename of file (string)
186 </dd><dt><i>line</i></dt> 186 </dd><dt><i>line</i></dt>
187 <dd> 187 <dd>
188 &#108;&#105;&#110;&#101;&#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 188 linenumber (integer)
189 </dd><dt><i>functionName</i></dt> 189 </dd><dt><i>functionName</i></dt>
190 <dd> 190 <dd>
191 &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#110;&#97;&#109;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 191 function name (string)
192 </dd> 192 </dd>
193 </dl><a NAME="PyProfileDialog.__createSummaryItem" ID="PyProfileDialog.__createSummaryItem"></a> 193 </dl><a NAME="PyProfileDialog.__createSummaryItem" ID="PyProfileDialog.__createSummaryItem"></a>
194 <h4>PyProfileDialog.__createSummaryItem</h4> 194 <h4>PyProfileDialog.__createSummaryItem</h4>
195 <b>__createSummaryItem</b>(<i>label, contents</i>) 195 <b>__createSummaryItem</b>(<i>label, contents</i>)
196 <p> 196 <p>
197 &#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; &#115;&#117;&#109;&#109;&#97;&#114;y &#108;&#105;&#115;&#116;. 197 Private method to create an entry in the summary list.
198 </p><dl> 198 </p><dl>
199 <dt><i>label</i></dt> 199 <dt><i>label</i></dt>
200 <dd> 200 <dd>
201 &#116;&#101;x&#116; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 201 text of the first column (string)
202 </dd><dt><i>contents</i></dt> 202 </dd><dt><i>contents</i></dt>
203 <dd> 203 <dd>
204 &#116;&#101;x&#116; &#111;&#102; &#116;&#104;&#101; &#115;&#101;&#99;&#111;&#110;&#100; &#99;&#111;&#108;&#117;&#109;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 204 text of the second column (string)
205 </dd> 205 </dd>
206 </dl><a NAME="PyProfileDialog.__eraseAll" ID="PyProfileDialog.__eraseAll"></a> 206 </dl><a NAME="PyProfileDialog.__eraseAll" ID="PyProfileDialog.__eraseAll"></a>
207 <h4>PyProfileDialog.__eraseAll</h4> 207 <h4>PyProfileDialog.__eraseAll</h4>
208 <b>__eraseAll</b>(<i></i>) 208 <b>__eraseAll</b>(<i></i>)
209 <p> 209 <p>
210 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;&#114;&#97;&#115;&#101; &#65;&#108;&#108; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 210 Private slot to handle the Erase All context menu action.
211 </p><a NAME="PyProfileDialog.__eraseProfile" ID="PyProfileDialog.__eraseProfile"></a> 211 </p><a NAME="PyProfileDialog.__eraseProfile" ID="PyProfileDialog.__eraseProfile"></a>
212 <h4>PyProfileDialog.__eraseProfile</h4> 212 <h4>PyProfileDialog.__eraseProfile</h4>
213 <b>__eraseProfile</b>(<i></i>) 213 <b>__eraseProfile</b>(<i></i>)
214 <p> 214 <p>
215 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;&#114;&#97;&#115;&#101; &#80;&#114;&#111;&#102;&#105;&#108;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 215 Private slot to handle the Erase Profile context menu action.
216 </p><a NAME="PyProfileDialog.__eraseTiming" ID="PyProfileDialog.__eraseTiming"></a> 216 </p><a NAME="PyProfileDialog.__eraseTiming" ID="PyProfileDialog.__eraseTiming"></a>
217 <h4>PyProfileDialog.__eraseTiming</h4> 217 <h4>PyProfileDialog.__eraseTiming</h4>
218 <b>__eraseTiming</b>(<i></i>) 218 <b>__eraseTiming</b>(<i></i>)
219 <p> 219 <p>
220 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;&#114;&#97;&#115;&#101; &#84;&#105;&#109;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 220 Private slot to handle the Erase Timing context menu action.
221 </p><a NAME="PyProfileDialog.__filter" ID="PyProfileDialog.__filter"></a> 221 </p><a NAME="PyProfileDialog.__filter" ID="PyProfileDialog.__filter"></a>
222 <h4>PyProfileDialog.__filter</h4> 222 <h4>PyProfileDialog.__filter</h4>
223 <b>__filter</b>(<i></i>) 223 <b>__filter</b>(<i></i>)
224 <p> 224 <p>
225 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#69;x&#99;&#108;&#117;&#100;&#101;/&#73;&#110;&#99;&#108;&#117;&#100;&#101; &#80;y&#116;&#104;&#111;&#110; &#76;&#105;&#98;&#114;&#97;&#114;y &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 225 Private slot to handle the Exclude/Include Python Library context menu action.
226 </p><a NAME="PyProfileDialog.__finish" ID="PyProfileDialog.__finish"></a> 226 </p><a NAME="PyProfileDialog.__finish" ID="PyProfileDialog.__finish"></a>
227 <h4>PyProfileDialog.__finish</h4> 227 <h4>PyProfileDialog.__finish</h4>
228 <b>__finish</b>(<i></i>) 228 <b>__finish</b>(<i></i>)
229 <p> 229 <p>
230 &#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;. 230 Private slot called when the action finished or the user pressed the button.
231 </p><a NAME="PyProfileDialog.__populateLists" ID="PyProfileDialog.__populateLists"></a> 231 </p><a NAME="PyProfileDialog.__populateLists" ID="PyProfileDialog.__populateLists"></a>
232 <h4>PyProfileDialog.__populateLists</h4> 232 <h4>PyProfileDialog.__populateLists</h4>
233 <b>__populateLists</b>(<i>exclude = False</i>) 233 <b>__populateLists</b>(<i>exclude = False</i>)
234 <p> 234 <p>
235 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#108;&#105;&#115;&#116;v&#105;&#101;w&#115;. 235 Private method used to populate the listviews.
236 </p><dl> 236 </p><dl>
237 <dt><i>exclude</i></dt> 237 <dt><i>exclude</i></dt>
238 <dd> 238 <dd>
239 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; w&#104;&#101;&#116;&#104;&#101;&#114; &#102;&#105;&#108;&#101;&#115; &#114;&#101;&#115;&#105;&#100;&#105;&#110;&#103; &#105;&#110; &#116;&#104;&#101; 239 flag indicating whether files residing in the
240 &#80;y&#116;&#104;&#111;&#110; &#108;&#105;&#98;&#114;&#97;&#114;y &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101; &#101;x&#99;&#108;&#117;&#100;&#101;&#100; 240 Python library should be excluded
241 </dd> 241 </dd>
242 </dl><a NAME="PyProfileDialog.__resortResultList" ID="PyProfileDialog.__resortResultList"></a> 242 </dl><a NAME="PyProfileDialog.__resortResultList" ID="PyProfileDialog.__resortResultList"></a>
243 <h4>PyProfileDialog.__resortResultList</h4> 243 <h4>PyProfileDialog.__resortResultList</h4>
244 <b>__resortResultList</b>(<i></i>) 244 <b>__resortResultList</b>(<i></i>)
245 <p> 245 <p>
246 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#114;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;. 246 Private method to resort the tree.
247 </p><a NAME="PyProfileDialog.__showContextMenu" ID="PyProfileDialog.__showContextMenu"></a> 247 </p><a NAME="PyProfileDialog.__showContextMenu" ID="PyProfileDialog.__showContextMenu"></a>
248 <h4>PyProfileDialog.__showContextMenu</h4> 248 <h4>PyProfileDialog.__showContextMenu</h4>
249 <b>__showContextMenu</b>(<i>coord</i>) 249 <b>__showContextMenu</b>(<i>coord</i>)
250 <p> 250 <p>
251 &#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. 251 Private slot to show the context menu of the listview.
252 </p><dl> 252 </p><dl>
253 <dt><i>coord</i></dt> 253 <dt><i>coord</i></dt>
254 <dd> 254 <dd>
255 &#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;) 255 the position of the mouse pointer (QPoint)
256 </dd> 256 </dd>
257 </dl><a NAME="PyProfileDialog.__unfinish" ID="PyProfileDialog.__unfinish"></a> 257 </dl><a NAME="PyProfileDialog.__unfinish" ID="PyProfileDialog.__unfinish"></a>
258 <h4>PyProfileDialog.__unfinish</h4> 258 <h4>PyProfileDialog.__unfinish</h4>
259 <b>__unfinish</b>(<i></i>) 259 <b>__unfinish</b>(<i></i>)
260 <p> 260 <p>
261 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#114;&#101;v&#101;&#114;&#116; &#116;&#104;&#101; &#101;&#102;&#102;&#101;&#99;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#95;&#95;&#102;&#105;&#110;&#105;&#115;&#104; &#115;&#108;&#111;&#116;. 261 Private slot called to revert the effects of the __finish slot.
262 </p><a NAME="PyProfileDialog.on_buttonBox_clicked" ID="PyProfileDialog.on_buttonBox_clicked"></a> 262 </p><a NAME="PyProfileDialog.on_buttonBox_clicked" ID="PyProfileDialog.on_buttonBox_clicked"></a>
263 <h4>PyProfileDialog.on_buttonBox_clicked</h4> 263 <h4>PyProfileDialog.on_buttonBox_clicked</h4>
264 <b>on_buttonBox_clicked</b>(<i>button</i>) 264 <b>on_buttonBox_clicked</b>(<i>button</i>)
265 <p> 265 <p>
266 &#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;. 266 Private slot called by a button of the button box clicked.
267 </p><dl> 267 </p><dl>
268 <dt><i>button</i></dt> 268 <dt><i>button</i></dt>
269 <dd> 269 <dd>
270 &#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;) 270 button that was clicked (QAbstractButton)
271 </dd> 271 </dd>
272 </dl><a NAME="PyProfileDialog.start" ID="PyProfileDialog.start"></a> 272 </dl><a NAME="PyProfileDialog.start" ID="PyProfileDialog.start"></a>
273 <h4>PyProfileDialog.start</h4> 273 <h4>PyProfileDialog.start</h4>
274 <b>start</b>(<i>pfn, fn=None</i>) 274 <b>start</b>(<i>pfn, fn=None</i>)
275 <p> 275 <p>
276 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#102;&#105;&#108;&#101; &#100;&#97;&#116;&#97;. 276 Public slot to start the calculation of the profile data.
277 </p><dl> 277 </p><dl>
278 <dt><i>pfn</i></dt> 278 <dt><i>pfn</i></dt>
279 <dd> 279 <dd>
280 &#98;&#97;&#115;&#101;&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#102;&#105;&#108;&#105;&#110;&#103; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 280 basename of the profiling file (string)
281 </dd><dt><i>fn</i></dt> 281 </dd><dt><i>fn</i></dt>
282 <dd> 282 <dd>
283 &#102;&#105;&#108;&#101; &#116;&#111; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#104;&#101; &#112;&#114;&#111;&#102;&#105;&#108;&#105;&#110;&#103; &#100;&#97;&#116;&#97; &#102;&#111;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 283 file to display the profiling data for (string)
284 </dd> 284 </dd>
285 </dl> 285 </dl>
286 <div align="right"><a href="#top">Up</a></div> 286 <div align="right"><a href="#top">Up</a></div>
287 <hr /> 287 <hr />
288 </body></html> 288 </body></html>

eric ide

mercurial