Class: QgsFileDownloaderDialog¶
-
class
qgis.gui.
QgsFileDownloaderDialog
(url: QUrl, outputFileName: str, authcfg: str = '')¶ Bases:
PyQt5.QtWidgets.QProgressDialog
- Parameters
url – the download url
outputFileName – file name where the downloaded content will be stored
authcfg – optionally apply this authentication configuration
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.
New in version 3.0: Enums
Methods
Signals
Emitted when the download was canceled by the user [signal]
Emitted when the download has completed successfully [signal]
Emitted when an error makes the download fail [signal]
Emitted always when the downloader exits [signal]
Emitted when data are ready to be processed [signal]
Attributes
-
actionEvent
()¶
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
customEvent
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
downloadCanceled
¶ Emitted when the download was canceled by the user [signal]
-
downloadCompleted
¶ Emitted when the download has completed successfully [signal]
-
downloadError
¶ Emitted when an error makes the download fail [signal]
-
downloadExited
¶ Emitted always when the downloader exits [signal]
-
downloadProgress
¶ Emitted when data are ready to be processed [signal]
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
event
()¶
-
eventFilter
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
forceShow
()¶
-
hideEvent
()¶
-
initPainter
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
paintEvent
()¶
-
receivers
()¶
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶