A registry / canonical manager of GUI parts of data providers.
More...
#include <qgsproviderguiregistry.h>
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.
- Since
- QGIS 3.10
Definition at line 53 of file qgsproviderguiregistry.h.
◆ GuiProviders
◆ QgsProviderGuiRegistry()
QgsProviderGuiRegistry::QgsProviderGuiRegistry |
( |
const QString & |
pluginPath | ) |
|
◆ ~QgsProviderGuiRegistry()
QgsProviderGuiRegistry::~QgsProviderGuiRegistry |
( |
| ) |
|
|
virtual |
◆ dataItemGuiProviders()
const QList< QgsDataItemGuiProvider * > QgsProviderGuiRegistry::dataItemGuiProviders |
( |
const QString & |
providerKey | ) |
|
|
virtual |
Returns all data item gui providers registered in provider with providerKey.
- Note
- Ownership of created data item providers is passed to the caller.
Definition at line 230 of file qgsproviderguiregistry.cpp.
◆ mapLayerConfigWidgetFactories()
Returns all map layer config widget factories associated with the registered providers.
The optional layer argument can be used to only return factories which support the specified layer.
- Since
- QGIS 3.20
Definition at line 270 of file qgsproviderguiregistry.cpp.
◆ projectStorageGuiProviders()
Returns all project storage gui providers registered in provider with providerKey.
- Note
- Ownership of created project storage gui providers is passed to the caller.
Definition at line 246 of file qgsproviderguiregistry.cpp.
◆ providerList()
QStringList QgsProviderGuiRegistry::providerList |
( |
| ) |
const |
◆ providerMetadata()
◆ registerGuis()
void QgsProviderGuiRegistry::registerGuis |
( |
QMainWindow * |
widget | ) |
|
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.
Definition at line 220 of file qgsproviderguiregistry.cpp.
◆ sourceSelectProviders()
Returns all source select providers registered in provider with providerKey.
- Note
- Ownership of created source select providers is passed to the caller.
Definition at line 238 of file qgsproviderguiregistry.cpp.
◆ sourceWidgetProviders()
Returns all source widget providers registered in provider with providerKey.
- Note
- Ownership of providers is passed to the caller.
- Since
- QGIS 3.18
Definition at line 262 of file qgsproviderguiregistry.cpp.
◆ subsetStringEditorProviders()
Returns all subset string editor providers registered in provider with providerKey.
- Note
- Ownership of providers is passed to the caller.
- Since
- QGIS 3.18
Definition at line 254 of file qgsproviderguiregistry.cpp.
The documentation for this class was generated from the following files: