Class: QgsDataItemProviderRegistry

class qgis.core.QgsDataItemProviderRegistry

Bases: sip.wrapper

This class keeps a list of data item providers that may add items to the browser tree. When created, it automatically adds providers from provider plugins (e.g. PostGIS, WMS, …)

QgsDataItemProviderRegistry is not usually directly created, but rather accessed through QgsApplication.dataItemProviderRegistry()

New in version 2.10: Enums

Methods

addProvider

Add a provider implementation.

providers

Gets list of available providers

removeProvider

Remove provider implementation from the list (provider object is deleted)

Signals

Attributes

addProvider(self, provider: QgsDataItemProvider)

Add a provider implementation. Takes ownership of the object.

providers(self) → object

Gets list of available providers

removeProvider(self, provider: QgsDataItemProvider)

Remove provider implementation from the list (provider object is deleted)