261 <b>__closeAndInstall</b>(<i></i>) |
261 <b>__closeAndInstall</b>(<i></i>) |
262 <p> |
262 <p> |
263 Private method to close the dialog and invoke the install dialog. |
263 Private method to close the dialog and invoke the install dialog. |
264 </p><a NAME="PluginRepositoryWidget.__downloadCancel" ID="PluginRepositoryWidget.__downloadCancel"></a> |
264 </p><a NAME="PluginRepositoryWidget.__downloadCancel" ID="PluginRepositoryWidget.__downloadCancel"></a> |
265 <h4>PluginRepositoryWidget.__downloadCancel</h4> |
265 <h4>PluginRepositoryWidget.__downloadCancel</h4> |
266 <b>__downloadCancel</b>(<i></i>) |
266 <b>__downloadCancel</b>(<i>reply=None</i>) |
267 <p> |
267 <p> |
268 Private slot to cancel the current download. |
268 Private slot to cancel the current download. |
269 </p><a NAME="PluginRepositoryWidget.__downloadFile" ID="PluginRepositoryWidget.__downloadFile"></a> |
269 </p><dl> |
|
270 <dt><i>reply</i> (QNetworkReply)</dt> |
|
271 <dd> |
|
272 reference to the network reply |
|
273 </dd> |
|
274 </dl><a NAME="PluginRepositoryWidget.__downloadFile" ID="PluginRepositoryWidget.__downloadFile"></a> |
270 <h4>PluginRepositoryWidget.__downloadFile</h4> |
275 <h4>PluginRepositoryWidget.__downloadFile</h4> |
271 <b>__downloadFile</b>(<i>url, filename, doneMethod=None</i>) |
276 <b>__downloadFile</b>(<i>url, filename, doneMethod=None</i>) |
272 <p> |
277 <p> |
273 Private slot to download the given file. |
278 Private slot to download the given file. |
274 </p><dl> |
279 </p><dl> |
282 <dd> |
287 <dd> |
283 method to be called when done |
288 method to be called when done |
284 </dd> |
289 </dd> |
285 </dl><a NAME="PluginRepositoryWidget.__downloadFileDone" ID="PluginRepositoryWidget.__downloadFileDone"></a> |
290 </dl><a NAME="PluginRepositoryWidget.__downloadFileDone" ID="PluginRepositoryWidget.__downloadFileDone"></a> |
286 <h4>PluginRepositoryWidget.__downloadFileDone</h4> |
291 <h4>PluginRepositoryWidget.__downloadFileDone</h4> |
287 <b>__downloadFileDone</b>(<i>reply</i>) |
292 <b>__downloadFileDone</b>(<i>reply, fileName, doneMethod</i>) |
288 <p> |
293 <p> |
289 Private method called, after the file has been downloaded |
294 Private method called, after the file has been downloaded |
290 from the Internet. |
295 from the Internet. |
291 </p><dl> |
296 </p><dl> |
292 <dt><i>reply</i> (QNetworkReply)</dt> |
297 <dt><i>reply</i> (QNetworkReply)</dt> |
293 <dd> |
298 <dd> |
294 reference to the reply object of the download |
299 reference to the reply object of the download |
|
300 </dd><dt><i>fileName</i> (str)</dt> |
|
301 <dd> |
|
302 local name of the file |
|
303 </dd><dt><i>doneMethod</i> (func)</dt> |
|
304 <dd> |
|
305 method to be called when done |
295 </dd> |
306 </dd> |
296 </dl><a NAME="PluginRepositoryWidget.__downloadPlugin" ID="PluginRepositoryWidget.__downloadPlugin"></a> |
307 </dl><a NAME="PluginRepositoryWidget.__downloadPlugin" ID="PluginRepositoryWidget.__downloadPlugin"></a> |
297 <h4>PluginRepositoryWidget.__downloadPlugin</h4> |
308 <h4>PluginRepositoryWidget.__downloadPlugin</h4> |
298 <b>__downloadPlugin</b>(<i></i>) |
309 <b>__downloadPlugin</b>(<i></i>) |
299 <p> |
310 <p> |