Class: QgsFileDownloaderDialog¶
QgsFileDownloaderDialog
is a QProgressDialog subclass which
handles file downloads and user feedback.
Internally, it uses QgsFileDownloader
to handle the
download, while showing progress via a progress dialog and supporting
cancellation.
Note
Until QGIS 3.0 this functionality was available via QgsFileDownloader
.
Class Hierarchy¶
Base classes¶
Signals
Emitted when the download was canceled by the user |
|
Emitted when the download has completed successfully |
|
Emitted when an error makes the download fail |
|
Emitted always when the downloader exits |
|
Emitted when data are ready to be processed |
- class qgis.gui.QgsFileDownloaderDialog[source]¶
Bases:
QProgressDialog
- __init__(url: QUrl, outputFileName: str | None, authcfg: str | None = '')
-
- Parameters:
url (QUrl) – the download url
outputFileName (Optional[str]) – file name where the downloaded content will be stored
authcfg (Optional[str] = '') – optionally apply this authentication configuration