2019-06-04 15:52:50 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsproviderguimetadata.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsProviderGuiMetadata
|
|
|
|
{
|
|
|
|
%Docstring
|
|
|
|
Holds data for GUI part of the data providers
|
|
|
|
|
|
|
|
.. versionadded:: 3.10
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsproviderguimetadata.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
2019-06-21 17:00:08 +02:00
|
|
|
explicit QgsProviderGuiMetadata( const QString &key );
|
2019-06-04 15:52:50 +02:00
|
|
|
%Docstring
|
|
|
|
Constructor for provider gui metadata
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual ~QgsProviderGuiMetadata();
|
|
|
|
|
2019-06-25 15:38:07 +02:00
|
|
|
virtual void registerGui( QMainWindow *widget );
|
2019-06-04 15:52:50 +02:00
|
|
|
%Docstring
|
2019-06-25 15:38:07 +02:00
|
|
|
Called during GUI initialization - allows provider to do its internal initialization
|
|
|
|
of GUI components, possibly making use of the passed pointer to the QGIS main window.
|
2019-06-04 15:52:50 +02:00
|
|
|
%End
|
|
|
|
|
2019-06-25 15:38:07 +02:00
|
|
|
virtual QList<QgsDataItemGuiProvider *> dataItemGuiProviders() /Factory/;
|
2019-06-04 15:52:50 +02:00
|
|
|
%Docstring
|
2019-06-25 15:38:07 +02:00
|
|
|
Returns data item gui providers
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
Ownership of created data item gui providers is passed to the caller.
|
2019-06-04 15:52:50 +02:00
|
|
|
%End
|
|
|
|
|
2019-06-25 15:38:07 +02:00
|
|
|
virtual QList<QgsProjectStorageGuiProvider *> projectStorageGuiProviders() /Factory/;
|
2019-06-04 15:52:50 +02:00
|
|
|
%Docstring
|
|
|
|
Returns project storage gui providers
|
2019-06-25 15:38:07 +02:00
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
Ownership of created project storage gui providers is passed to the caller.
|
2019-06-04 15:52:50 +02:00
|
|
|
%End
|
|
|
|
|
2019-06-25 15:38:07 +02:00
|
|
|
virtual QList<QgsSourceSelectProvider *> sourceSelectProviders() /Factory/;
|
2019-06-04 15:52:50 +02:00
|
|
|
%Docstring
|
|
|
|
Returns source select providers
|
2019-06-25 15:38:07 +02:00
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
Ownership of created source select providers is passed to the caller.
|
2019-06-04 15:52:50 +02:00
|
|
|
%End
|
|
|
|
|
|
|
|
QString key() const;
|
|
|
|
%Docstring
|
|
|
|
Returns unique provider key
|
|
|
|
%End
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsproviderguimetadata.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|