Class: QgsImageFetcher¶
-
class
qgis.core.
QgsImageFetcher
(parent: QObject = None)¶ Bases:
PyQt5.QtCore.QObject
Constructor
Handles asynchronous download of images
New in version 2.8: Enums
Methods
Starts the image download
Signals
Emitted when an error occurs [signal]
Emitted when the download completes
Emitted to report progress [signal]
Attributes
-
childEvent
()¶
-
connectNotify
()¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
error
¶ Emitted when an error occurs [signal]
-
finish
¶ Emitted when the download completes
- Parameters
legend – The downloaded legend image * [signal]
-
isSignalConnected
()¶
-
progress
¶ Emitted to report progress [signal]
-
receivers
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
start
(self)¶ Starts the image download
Note
Make sure to connect to “finish” and “error” before starting *
-
timerEvent
()¶
-