Documentation/Source/eric6.Plugins.UiExtensionPlugins.PipInterface.PipSearchDialog.html

changeset 6343
86cea8abd0f7
parent 6333
3d4e7155d48f
equal deleted inserted replaced
6342:c79ecba9cde7 6343:86cea8abd0f7
116 <table> 116 <table>
117 <tr><td>None</td></tr> 117 <tr><td>None</td></tr>
118 </table> 118 </table>
119 <a NAME="PipSearchDialog.__init__" ID="PipSearchDialog.__init__"></a> 119 <a NAME="PipSearchDialog.__init__" ID="PipSearchDialog.__init__"></a>
120 <h4>PipSearchDialog (Constructor)</h4> 120 <h4>PipSearchDialog (Constructor)</h4>
121 <b>PipSearchDialog</b>(<i>pip, plugin, parent=None</i>) 121 <b>PipSearchDialog</b>(<i>pip, indexUrl, parent=None</i>)
122 <p> 122 <p>
123 Constructor 123 Constructor
124 </p><dl> 124 </p><dl>
125 <dt><i>pip</i></dt> 125 <dt><i>pip</i> (Pip)</dt>
126 <dd> 126 <dd>
127 reference to the master object (Pip) 127 reference to the master object
128 </dd><dt><i>plugin</i></dt> 128 </dd><dt><i>indexUrl</i> (str)</dt>
129 <dd> 129 <dd>
130 reference to the plugin object (ToolPipPlugin) 130 URL of XML RPC interface to the pypi index
131 </dd><dt><i>parent</i></dt> 131 </dd><dt><i>parent</i> (QWidget)</dt>
132 <dd> 132 <dd>
133 reference to the parent widget (QWidget) 133 reference to the parent widget
134 </dd> 134 </dd>
135 </dl><a NAME="PipSearchDialog.__detailsError" ID="PipSearchDialog.__detailsError"></a> 135 </dl><a NAME="PipSearchDialog.__detailsError" ID="PipSearchDialog.__detailsError"></a>
136 <h4>PipSearchDialog.__detailsError</h4> 136 <h4>PipSearchDialog.__detailsError</h4>
137 <b>__detailsError</b>(<i>errorCode, errorString</i>) 137 <b>__detailsError</b>(<i>errorCode, errorString</i>)
138 <p> 138 <p>
139 Private method handling a details error. 139 Private method handling a details error.
140 </p><dl> 140 </p><dl>
141 <dt><i>errorCode</i></dt> 141 <dt><i>errorCode</i> (int)</dt>
142 <dd> 142 <dd>
143 code of the error (integer) 143 code of the error
144 </dd><dt><i>errorString</i></dt> 144 </dd><dt><i>errorString</i> (str)</dt>
145 <dd> 145 <dd>
146 error message (string) 146 error message
147 </dd> 147 </dd>
148 </dl><a NAME="PipSearchDialog.__displayPackageDetails" ID="PipSearchDialog.__displayPackageDetails"></a> 148 </dl><a NAME="PipSearchDialog.__displayPackageDetails" ID="PipSearchDialog.__displayPackageDetails"></a>
149 <h4>PipSearchDialog.__displayPackageDetails</h4> 149 <h4>PipSearchDialog.__displayPackageDetails</h4>
150 <b>__displayPackageDetails</b>(<i>data</i>) 150 <b>__displayPackageDetails</b>(<i>data</i>)
151 <p> 151 <p>
152 Private method to display the returned package details. 152 Private method to display the returned package details.
153 </p><dl> 153 </p><dl>
154 <dt><i>data</i></dt> 154 <dt><i>data</i> (tuple)</dt>
155 <dd> 155 <dd>
156 result data (tuple) with downloads information in the first 156 result data with downloads information in the first element
157 element
158 </dd> 157 </dd>
159 </dl><a NAME="PipSearchDialog.__finish" ID="PipSearchDialog.__finish"></a> 158 </dl><a NAME="PipSearchDialog.__finish" ID="PipSearchDialog.__finish"></a>
160 <h4>PipSearchDialog.__finish</h4> 159 <h4>PipSearchDialog.__finish</h4>
161 <b>__finish</b>(<i></i>) 160 <b>__finish</b>(<i></i>)
162 <p> 161 <p>
190 <h4>PipSearchDialog.__processSearchResult</h4> 189 <h4>PipSearchDialog.__processSearchResult</h4>
191 <b>__processSearchResult</b>(<i>data</i>) 190 <b>__processSearchResult</b>(<i>data</i>)
192 <p> 191 <p>
193 Private method to process the search result data from PyPI. 192 Private method to process the search result data from PyPI.
194 </p><dl> 193 </p><dl>
195 <dt><i>data</i></dt> 194 <dt><i>data</i> (tuple)</dt>
196 <dd> 195 <dd>
197 result data (tuple) with hits in the first element 196 result data with hits in the first element
198 </dd> 197 </dd>
199 </dl><a NAME="PipSearchDialog.__score" ID="PipSearchDialog.__score"></a> 198 </dl><a NAME="PipSearchDialog.__score" ID="PipSearchDialog.__score"></a>
200 <h4>PipSearchDialog.__score</h4> 199 <h4>PipSearchDialog.__score</h4>
201 <b>__score</b>(<i>name, summary</i>) 200 <b>__score</b>(<i>name, summary</i>)
202 <p> 201 <p>
228 <h4>PipSearchDialog.__searchError</h4> 227 <h4>PipSearchDialog.__searchError</h4>
229 <b>__searchError</b>(<i>errorCode, errorString</i>) 228 <b>__searchError</b>(<i>errorCode, errorString</i>)
230 <p> 229 <p>
231 Private method handling a search error. 230 Private method handling a search error.
232 </p><dl> 231 </p><dl>
233 <dt><i>errorCode</i></dt> 232 <dt><i>errorCode</i> (int)</dt>
234 <dd> 233 <dd>
235 code of the error (integer) 234 code of the error
236 </dd><dt><i>errorString</i></dt> 235 </dd><dt><i>errorString</i> (str)</dt>
237 <dd> 236 <dd>
238 error message (string) 237 error message
239 </dd> 238 </dd>
240 </dl><a NAME="PipSearchDialog.__showDetails" ID="PipSearchDialog.__showDetails"></a> 239 </dl><a NAME="PipSearchDialog.__showDetails" ID="PipSearchDialog.__showDetails"></a>
241 <h4>PipSearchDialog.__showDetails</h4> 240 <h4>PipSearchDialog.__showDetails</h4>
242 <b>__showDetails</b>(<i></i>) 241 <b>__showDetails</b>(<i></i>)
243 <p> 242 <p>
247 <b>__transformHits</b>(<i>hits</i>) 246 <b>__transformHits</b>(<i>hits</i>)
248 <p> 247 <p>
249 Private method to convert the list returned from pypi into a 248 Private method to convert the list returned from pypi into a
250 packages list. 249 packages list.
251 </p><dl> 250 </p><dl>
252 <dt><i>hits</i></dt> 251 <dt><i>hits</i> (list of dict)</dt>
253 <dd> 252 <dd>
254 list returned from pypi (list of dict) 253 list returned from pypi
255 </dd> 254 </dd>
256 </dl><dl> 255 </dl><dl>
257 <dt>Returns:</dt> 256 <dt>Returns:</dt>
258 <dd> 257 <dd>
259 list of packages (list of dict) 258 list of packages
259 </dd>
260 </dl><dl>
261 <dt>Return Type:</dt>
262 <dd>
263 list of dict
260 </dd> 264 </dd>
261 </dl><a NAME="PipSearchDialog.closeEvent" ID="PipSearchDialog.closeEvent"></a> 265 </dl><a NAME="PipSearchDialog.closeEvent" ID="PipSearchDialog.closeEvent"></a>
262 <h4>PipSearchDialog.closeEvent</h4> 266 <h4>PipSearchDialog.closeEvent</h4>
263 <b>closeEvent</b>(<i>e</i>) 267 <b>closeEvent</b>(<i>e</i>)
264 <p> 268 <p>
265 Protected slot implementing a close event handler. 269 Protected slot implementing a close event handler.
266 </p><dl> 270 </p><dl>
267 <dt><i>e</i></dt> 271 <dt><i>e</i> (QCloseEvent)</dt>
268 <dd> 272 <dd>
269 close event (QCloseEvent) 273 close event
270 </dd> 274 </dd>
271 </dl><a NAME="PipSearchDialog.on_buttonBox_clicked" ID="PipSearchDialog.on_buttonBox_clicked"></a> 275 </dl><a NAME="PipSearchDialog.on_buttonBox_clicked" ID="PipSearchDialog.on_buttonBox_clicked"></a>
272 <h4>PipSearchDialog.on_buttonBox_clicked</h4> 276 <h4>PipSearchDialog.on_buttonBox_clicked</h4>
273 <b>on_buttonBox_clicked</b>(<i>button</i>) 277 <b>on_buttonBox_clicked</b>(<i>button</i>)
274 <p> 278 <p>
275 Private slot called by a button of the button box clicked. 279 Private slot called by a button of the button box clicked.
276 </p><dl> 280 </p><dl>
277 <dt><i>button</i></dt> 281 <dt><i>button</i> (QAbstractButton)</dt>
278 <dd> 282 <dd>
279 button that was clicked (QAbstractButton) 283 button that was clicked
280 </dd> 284 </dd>
281 </dl><a NAME="PipSearchDialog.on_resultList_itemActivated" ID="PipSearchDialog.on_resultList_itemActivated"></a> 285 </dl><a NAME="PipSearchDialog.on_resultList_itemActivated" ID="PipSearchDialog.on_resultList_itemActivated"></a>
282 <h4>PipSearchDialog.on_resultList_itemActivated</h4> 286 <h4>PipSearchDialog.on_resultList_itemActivated</h4>
283 <b>on_resultList_itemActivated</b>(<i>item, column</i>) 287 <b>on_resultList_itemActivated</b>(<i>item, column</i>)
284 <p> 288 <p>
285 Private slot reacting on an item activation. 289 Private slot reacting on an item activation.
286 </p><dl> 290 </p><dl>
287 <dt><i>item</i></dt> 291 <dt><i>item</i> (QTreeWidgetItem)</dt>
288 <dd> 292 <dd>
289 reference to the activated item (QTreeWidgetItem) 293 reference to the activated item
290 </dd><dt><i>column</i></dt> 294 </dd><dt><i>column</i> (int)</dt>
291 <dd> 295 <dd>
292 activated column (integer) 296 activated column
293 </dd> 297 </dd>
294 </dl><a NAME="PipSearchDialog.on_resultList_itemSelectionChanged" ID="PipSearchDialog.on_resultList_itemSelectionChanged"></a> 298 </dl><a NAME="PipSearchDialog.on_resultList_itemSelectionChanged" ID="PipSearchDialog.on_resultList_itemSelectionChanged"></a>
295 <h4>PipSearchDialog.on_resultList_itemSelectionChanged</h4> 299 <h4>PipSearchDialog.on_resultList_itemSelectionChanged</h4>
296 <b>on_resultList_itemSelectionChanged</b>(<i></i>) 300 <b>on_resultList_itemSelectionChanged</b>(<i></i>)
297 <p> 301 <p>
305 <h4>PipSearchDialog.on_searchEdit_textChanged</h4> 309 <h4>PipSearchDialog.on_searchEdit_textChanged</h4>
306 <b>on_searchEdit_textChanged</b>(<i>txt</i>) 310 <b>on_searchEdit_textChanged</b>(<i>txt</i>)
307 <p> 311 <p>
308 Private slot handling a change of the search term. 312 Private slot handling a change of the search term.
309 </p><dl> 313 </p><dl>
310 <dt><i>txt</i></dt> 314 <dt><i>txt</i> (str)</dt>
311 <dd> 315 <dd>
312 search term (string) 316 search term
313 </dd> 317 </dd>
314 </dl> 318 </dl>
315 <div align="right"><a href="#top">Up</a></div> 319 <div align="right"><a href="#top">Up</a></div>
316 <hr /> 320 <hr />
317 </body></html> 321 </body></html>

eric ide

mercurial