Subgroup: Image

Class: QgsImageFetcher

class qgis.core.QgsImageFetcher

Bases: PyQt5.QtCore.QObject

Handles asynchronous download of images

New in version 2.8: Methods

blockSignals
childEvent
children
connectNotify
customEvent
deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
event
eventFilter
findChild findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
findChildren findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
inherits
installEventFilter
isSignalConnected
isWidgetType
isWindowType
killTimer
metaObject
moveToThread
objectName
parent
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
receivers
removeEventFilter
sender
senderSignalIndex
setObjectName
setParent
setProperty
signalsBlocked
start Starts the image download
startTimer
thread
timerEvent
tr

Attributes

destroyed destroyed(self, QObject = None) [signal]
error Emitted when an error occurs [signal]
finish Emitted when the download completes
objectNameChanged objectNameChanged(self, str) [signal]
progress Emitted to report progress [signal]
staticMetaObject
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()