Class: QgsDataItemGuiProviderRegistry

class qgis.gui.QgsDataItemGuiProviderRegistry

Bases: sip.wrapper

This class keeps a list of data item GUI providers that may affect how QgsDataItems behave within the application GUI.

QgsDataItemGuiProviderRegistry is not usually directly created, but rather accessed through QgsGui.instance()->dataItemGuiProviderRegistry().

New in version 3.6: Enums

Methods

addProvider Adds a provider implementation to the registry.
providers Returns the list of available providers.
removeProvider Removes a provider implementation from the registry.

Signals

Attributes

addProvider(self, provider: QgsDataItemGuiProvider)

Adds a provider implementation to the registry. Ownership of the provider is transferred to the registry.

providers(self) → object

Returns the list of available providers.

removeProvider(self, provider: QgsDataItemGuiProvider)

Removes a provider implementation from the registry. The provider object is automatically deleted.