Class: QgsExternalStorageFetchedContent¶
- class qgis.core.QgsExternalStorageFetchedContent¶
Bases:
QgsExternalStorageContent
Class for
QgsExternalStorage
fetched contentNew in version 3.22:
Methods
Starts fetching
Returns fetched resource file path
Update content according to given
errorMsg
error message Inherited classes should call this method whenever they meet an error.Sets the external storage
status
Signals
pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
- childEvent(self, QChildEvent)¶
- connectNotify(self, QMetaMethod)¶
- customEvent(self, QEvent)¶
- disconnectNotify(self, QMetaMethod)¶
- fetch(self)¶
Starts fetching
- fetched¶
pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Parameters:
name (str = ...) –
revision (int = ...) –
arguments (Sequence = ...) –
- Return type:
PYQT_SIGNAL
- filePath(self) str ¶
Returns fetched resource file path
- Return type:
str
- isSignalConnected(self, QMetaMethod) bool ¶
- receivers(self, PYQT_SIGNAL) int ¶
- reportError(self, errorMsg: str)¶
Update content according to given
errorMsg
error message Inherited classes should call this method whenever they meet an error.
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setStatus(self, status: Qgis.ContentStatus)¶
Sets the external storage
status
- timerEvent(self, QTimerEvent)¶