QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
qgsproviderguimetadata.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsproviderguimetadata.h
3  -------------------
4  begin : June 4th 2019
5  copyright : (C) 2019 by Peter Petrik
6  email : zilolv at gmail dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QGSPROVIDERGUIMETADATA_H
19 #define QGSPROVIDERGUIMETADATA_H
20 
21 #include <QList>
22 #include <QMainWindow>
23 
24 #include "qgis_gui.h"
25 #include "qgis_sip.h"
26 
33 
40 class GUI_EXPORT QgsProviderGuiMetadata
41 {
42  public:
43 
47  explicit QgsProviderGuiMetadata( const QString &key );
48 
49  virtual ~QgsProviderGuiMetadata();
50 
55  virtual void registerGui( QMainWindow *widget );
56 
61  virtual QList<QgsDataItemGuiProvider *> dataItemGuiProviders() SIP_FACTORY;
62 
67  virtual QList<QgsProjectStorageGuiProvider *> projectStorageGuiProviders() SIP_FACTORY;
68 
73  virtual QList<QgsSourceSelectProvider *> sourceSelectProviders() SIP_FACTORY;
74 
80  virtual QList<QgsSubsetStringEditorProvider *> subsetStringEditorProviders() SIP_FACTORY;
81 
87  virtual QList<QgsProviderSourceWidgetProvider *> sourceWidgetProviders() SIP_FACTORY;
88 
95  virtual QList<const QgsMapLayerConfigWidgetFactory *> mapLayerConfigWidgetFactories();
96 
98  QString key() const;
99 
100  private:
102  QString mKey;
103 };
104 
105 #endif //QGSPROVIDERGUIMETADATA_H
106 
QgsDataItemGuiProvider
Abstract base class for providers which affect how QgsDataItem items behave within the application GU...
Definition: qgsdataitemguiprovider.h:85
QgsSourceSelectProvider
This is the interface for those who want to add entries to the QgsDataSourceManagerDialog.
Definition: qgssourceselectprovider.h:35
QgsProviderGuiMetadata
Holds data for GUI part of the data providers.
Definition: qgsproviderguimetadata.h:40
QgsProviderSourceWidgetProvider
An interface for providers of widgets designed to configure a data provider's source.
Definition: qgsprovidersourcewidgetprovider.h:37
SIP_FACTORY
#define SIP_FACTORY
Definition: qgis_sip.h:76
qgis_sip.h
QgsProjectStorageGuiProvider
Abstract interface for project storage GUI - to be implemented by various backends and registered in ...
Definition: qgsprojectstorageguiprovider.h:31
QgsSubsetStringEditorProvider
This is the interface for those who want to provide a dialog to edit a subset string.
Definition: qgssubsetstringeditorprovider.h:37
QgsMapLayerConfigWidgetFactory
Factory class for creating custom map layer property pages.
Definition: qgsmaplayerconfigwidgetfactory.h:34