QgsDataItemGuiProviderRegistry class
This class keeps a list of data item GUI providers that may affect how QgsDataItems behave within the application GUI.
Contents
QgsDataItemGuiProviderRegistry is not usually directly created, but rather accessed through QgsGui::
Constructors, destructors, conversion operators
- QgsDataItemGuiProviderRegistry(const QgsDataItemGuiProviderRegistry& rh) deleted
- QgsDataItemGuiProviderRegistry cannot be copied.
Public functions
- void addProvider(QgsDataItemGuiProvider* provider)
- Adds a provider implementation to the registry.
- auto operator=(const QgsDataItemGuiProviderRegistry& rh) -> QgsDataItemGuiProviderRegistry& deleted
- QgsDataItemGuiProviderRegistry cannot be copied.
- auto providers() const -> QList<QgsDataItemGuiProvider*>
- Returns the list of available providers.
- void removeProvider(QgsDataItemGuiProvider* provider)
- Removes a provider implementation from the registry.
Function documentation
void QgsDataItemGuiProviderRegistry:: addProvider(QgsDataItemGuiProvider* provider)
Adds a provider implementation to the registry.
Ownership of the provider is transferred to the registry.
void QgsDataItemGuiProviderRegistry:: removeProvider(QgsDataItemGuiProvider* provider)
Removes a provider implementation from the registry.
The provider object is automatically deleted.