Class: QgsImageFetcher¶
Handles asynchronous download of images.
Note
This is an abstract class, with methods which must be implemented by a subclass.
The following methods must be implemented: start()
Class Hierarchy¶
Base classes¶
Abstract Methods
Starts the image download |
Signals
Emitted when an error occurs |
|
Emitted when the download completes |
|
Emitted to report progress |
- class qgis.core.QgsImageFetcher[source]¶
Bases:
QObject
- __init__(parent: QObject | None = None)
Constructor
- Parameters:
parent (Optional[QObject] = None)
- signal finish(legend: QImage)[source]¶
Emitted when the download completes
- Parameters:
legend (QImage) – The downloaded legend image