mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
84 lines
2.7 KiB
Plaintext
84 lines
2.7 KiB
Plaintext
|
/************************************************************************
|
||
|
* This file has been generated automatically from *
|
||
|
* *
|
||
|
* src/gui/qgsproviderguiregistry.h *
|
||
|
* *
|
||
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
||
|
************************************************************************/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
class QgsProviderGuiRegistry
|
||
|
{
|
||
|
%Docstring
|
||
|
A registry / canonical manager of GUI parts of data providers.
|
||
|
|
||
|
QgsProviderGuiRegistry is not usually directly created, but rather accessed through
|
||
|
:py:func:`QgsGui.providerGuiRegistry()`
|
||
|
|
||
|
setPluginPath() should be called (once) to load dynamic providers. Static providers are
|
||
|
loaded in constructopr
|
||
|
|
||
|
.. versionadded:: 3.10
|
||
|
%End
|
||
|
|
||
|
%TypeHeaderCode
|
||
|
#include "qgsproviderguiregistry.h"
|
||
|
%End
|
||
|
public:
|
||
|
|
||
|
QgsProviderGuiRegistry( const QString &pluginPath );
|
||
|
%Docstring
|
||
|
Creates registry and loads static provider plugins
|
||
|
%End
|
||
|
|
||
|
virtual ~QgsProviderGuiRegistry();
|
||
|
|
||
|
QStringList providerList() const;
|
||
|
%Docstring
|
||
|
Returns list of available providers by their keys
|
||
|
%End
|
||
|
|
||
|
const QgsProviderGuiMetadata *providerMetadata( const QString &providerKey ) const;
|
||
|
%Docstring
|
||
|
Returns metadata of the provider or ``None`` if not found
|
||
|
%End
|
||
|
|
||
|
void registerGuis( QMainWindow *widget );
|
||
|
%Docstring
|
||
|
Calls registerGui function of all providers
|
||
|
%End
|
||
|
|
||
|
virtual const QList<QgsDataItemGuiProvider *> dataItemGuiProviders( const QString &providerKey );
|
||
|
%Docstring
|
||
|
Returns all data item gui providers registered in provider with ``providerKey``
|
||
|
Caller receiver ownership of created data item providers
|
||
|
%End
|
||
|
|
||
|
virtual QList<QgsSourceSelectProvider *> sourceSelectProviders( const QString &providerKey );
|
||
|
%Docstring
|
||
|
Returns all source select providers registered in provider with ``providerKey``
|
||
|
Caller receiver ownership of created data item providers
|
||
|
%End
|
||
|
|
||
|
virtual QList<QgsProjectStorageGuiProvider *> projectStorageGuiProviders( const QString &providerKey );
|
||
|
%Docstring
|
||
|
Returns all project storage gui providers registered in provider with ``providerKey``
|
||
|
Caller receiver ownership of created data item providers
|
||
|
%End
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
/************************************************************************
|
||
|
* This file has been generated automatically from *
|
||
|
* *
|
||
|
* src/gui/qgsproviderguiregistry.h *
|
||
|
* *
|
||
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
||
|
************************************************************************/
|