Class: QgsProviderGuiRegistry

class qgis.gui.QgsProviderGuiRegistry(pluginPath: str)

Bases: sip.wrapper

Creates registry and loads static provider plugins

QgsProviderGuiRegistry(QgsProviderGuiRegistry)

A registry / canonical manager of GUI parts of data providers.

QgsProviderGuiRegistry is not usually directly created, but rather accessed through QgsGui.providerGuiRegistry()

setPluginPath() should be called (once) to load dynamic providers. Static providers are loaded in constructor.

New in version 3.10: Enums

Methods

dataItemGuiProviders

Returns all data item gui providers registered in provider with providerKey

projectStorageGuiProviders

Returns all project storage gui providers registered in provider with providerKey

providerList

Returns list of available providers by their keys

providerMetadata

Returns metadata of the provider or None if not found

registerGuis

Called during GUI initialization - allows providers to do its internal initialization of GUI components, possibly making use of the passed pointer to the QGIS main window.

sourceSelectProviders

Returns all source select providers registered in provider with providerKey

Signals

Attributes

dataItemGuiProviders(self, providerKey: str) → List[QgsDataItemGuiProvider]

Returns all data item gui providers registered in provider with providerKey

Note

Ownership of created data item providers is passed to the caller.

projectStorageGuiProviders(self, providerKey: str) → List[QgsProjectStorageGuiProvider]

Returns all project storage gui providers registered in provider with providerKey

Note

Ownership of created project storage gui providers is passed to the caller.

providerList(self) → List[str]

Returns list of available providers by their keys

providerMetadata(self, providerKey: str) → QgsProviderGuiMetadata

Returns metadata of the provider or None if not found

registerGuis(self, widget: QMainWindow)

Called during GUI initialization - allows providers to do its internal initialization of GUI components, possibly making use of the passed pointer to the QGIS main window.

sourceSelectProviders(self, providerKey: str) → List[QgsSourceSelectProvider]

Returns all source select providers registered in provider with providerKey

Note

Ownership of created source select providers is passed to the caller.