Class: QgsProviderGuiMetadata¶
- class qgis.gui.QgsProviderGuiMetadata(key: str)¶
Bases:
sip.wrapper
Constructor for provider gui metadata
QgsProviderGuiMetadata(
QgsProviderGuiMetadata
)Holds data for GUI part of the data providers
New in version 3.10:
Methods
Returns data item gui providers
Returns unique provider key
Returns project storage gui providers
Called during GUI initialization - allows provider to do its internal initialization of GUI components, possibly making use of the passed pointer to the QGIS main window.
Returns source select providers
- dataItemGuiProviders(self) List[QgsDataItemGuiProvider] ¶
Returns data item gui providers
Note
Ownership of created data item gui providers is passed to the caller.
- Return type
List[QgsDataItemGuiProvider]
- key(self) str ¶
Returns unique provider key
- Return type
str
- projectStorageGuiProviders(self) List[QgsProjectStorageGuiProvider] ¶
Returns project storage gui providers
Note
Ownership of created project storage gui providers is passed to the caller.
- Return type
- registerGui(self, widget: QMainWindow)¶
Called during GUI initialization - allows provider to do its internal initialization of GUI components, possibly making use of the passed pointer to the QGIS main window.
- Parameters
widget (QMainWindow) –
- sourceSelectProviders(self) List[QgsSourceSelectProvider] ¶
Returns source select providers
Note
Ownership of created source select providers is passed to the caller.
- Return type
List[QgsSourceSelectProvider]