QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
qgsproviderguimetadata.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgsproviderguimetadata.cpp
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 #include "qgsproviderguimetadata.h"
19 #include "qgsdataitemguiprovider.h"
22 
24  : mKey( key )
25 {
26 }
27 
29 
30 QList<QgsDataItemGuiProvider *> QgsProviderGuiMetadata::dataItemGuiProviders()
31 {
32  return QList<QgsDataItemGuiProvider *>();
33 }
34 
35 QList<QgsProjectStorageGuiProvider *> QgsProviderGuiMetadata::projectStorageGuiProviders()
36 {
37  return QList<QgsProjectStorageGuiProvider *>();
38 }
39 
40 QList<QgsSourceSelectProvider *> QgsProviderGuiMetadata::sourceSelectProviders()
41 {
42  return QList<QgsSourceSelectProvider *>();
43 }
44 
45 QList<QgsSubsetStringEditorProvider *> QgsProviderGuiMetadata::subsetStringEditorProviders()
46 {
47  return QList<QgsSubsetStringEditorProvider *>();
48 }
49 
50 QList<QgsProviderSourceWidgetProvider *> QgsProviderGuiMetadata::sourceWidgetProviders()
51 {
52  return QList<QgsProviderSourceWidgetProvider *>();
53 }
54 
55 QList< const QgsMapLayerConfigWidgetFactory *> QgsProviderGuiMetadata::mapLayerConfigWidgetFactories()
56 {
57  return QList<const QgsMapLayerConfigWidgetFactory *>();
58 }
59 
61 {
62  return mKey;
63 }
64 
66 {
67 }
68 
virtual QList< const QgsMapLayerConfigWidgetFactory * > mapLayerConfigWidgetFactories()
Returns map layer config widget factories associated with the provider.
QgsProviderGuiMetadata(const QString &key)
Constructor for provider gui metadata.
virtual QList< QgsSubsetStringEditorProvider * > subsetStringEditorProviders()
Returns subset string editor providers.
virtual void registerGui(QMainWindow *widget)
Called during GUI initialization - allows provider to do its internal initialization of GUI component...
virtual QList< QgsDataItemGuiProvider * > dataItemGuiProviders()
Returns data item gui providers.
virtual QList< QgsProjectStorageGuiProvider * > projectStorageGuiProviders()
Returns project storage gui providers.
QString key() const
Returns unique provider key.
virtual QList< QgsProviderSourceWidgetProvider * > sourceWidgetProviders()
Returns source widget providers.
virtual QList< QgsSourceSelectProvider * > sourceSelectProviders()
Returns source select providers.
virtual ~QgsProviderGuiMetadata()