|
QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
This class keeps a list of data item GUI providers that may affect how QgsDataItems behave within the application GUI. More...
#include <qgsdataitemguiproviderregistry.h>
Public Member Functions | |
| QgsDataItemGuiProviderRegistry () | |
| QgsDataItemGuiProviderRegistry (const QgsDataItemGuiProviderRegistry &rh)=delete | |
| QgsDataItemGuiProviderRegistry cannot be copied. More... | |
| ~QgsDataItemGuiProviderRegistry () | |
| void | addProvider (QgsDataItemGuiProvider *provider) |
| Adds a provider implementation to the registry. More... | |
| QgsDataItemGuiProviderRegistry & | operator= (const QgsDataItemGuiProviderRegistry &rh)=delete |
| QgsDataItemGuiProviderRegistry cannot be copied. More... | |
| QList< QgsDataItemGuiProvider * > | providers () const |
| Returns the list of available providers. More... | |
| void | removeProvider (QgsDataItemGuiProvider *provider) |
| Removes a provider implementation from the registry. More... | |
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().
Definition at line 36 of file qgsdataitemguiproviderregistry.h.
| QgsDataItemGuiProviderRegistry::QgsDataItemGuiProviderRegistry | ( | ) |
Definition at line 22 of file qgsdataitemguiproviderregistry.cpp.
| QgsDataItemGuiProviderRegistry::~QgsDataItemGuiProviderRegistry | ( | ) |
Definition at line 42 of file qgsdataitemguiproviderregistry.cpp.
|
delete |
QgsDataItemGuiProviderRegistry cannot be copied.
| void QgsDataItemGuiProviderRegistry::addProvider | ( | QgsDataItemGuiProvider * | provider | ) |
Adds a provider implementation to the registry.
Ownership of the provider is transferred to the registry.
Definition at line 47 of file qgsdataitemguiproviderregistry.cpp.
|
delete |
QgsDataItemGuiProviderRegistry cannot be copied.
|
inline |
Returns the list of available providers.
Definition at line 52 of file qgsdataitemguiproviderregistry.h.
| void QgsDataItemGuiProviderRegistry::removeProvider | ( | QgsDataItemGuiProvider * | provider | ) |
Removes a provider implementation from the registry.
The provider object is automatically deleted.
Definition at line 52 of file qgsdataitemguiproviderregistry.cpp.
1.8.13