QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
src
gui
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
"
20
#include "
qgsprojectstorageguiprovider.h
"
21
#include "
qgssourceselectprovider.h
"
22
23
QgsProviderGuiMetadata::QgsProviderGuiMetadata
(
const
QString &key )
24
: mKey( key )
25
{
26
}
27
28
QgsProviderGuiMetadata::~QgsProviderGuiMetadata
() =
default
;
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
QString
QgsProviderGuiMetadata::key
()
const
46
{
47
return
mKey;
48
}
49
50
void
QgsProviderGuiMetadata::registerGui
( QMainWindow * )
51
{
52
}
53
qgsproviderguimetadata.h
qgssourceselectprovider.h
QgsProviderGuiMetadata::registerGui
virtual void registerGui(QMainWindow *widget)
Called during GUI initialization - allows provider to do its internal initialization of GUI component...
Definition:
qgsproviderguimetadata.cpp:50
qgsdataitemguiprovider.h
QgsProviderGuiMetadata::projectStorageGuiProviders
virtual QList< QgsProjectStorageGuiProvider * > projectStorageGuiProviders()
Returns project storage gui providers.
Definition:
qgsproviderguimetadata.cpp:35
QgsProviderGuiMetadata::dataItemGuiProviders
virtual QList< QgsDataItemGuiProvider * > dataItemGuiProviders()
Returns data item gui providers.
Definition:
qgsproviderguimetadata.cpp:30
qgsprojectstorageguiprovider.h
QgsProviderGuiMetadata::key
QString key() const
Returns unique provider key.
Definition:
qgsproviderguimetadata.cpp:45
QgsProviderGuiMetadata::QgsProviderGuiMetadata
QgsProviderGuiMetadata(const QString &key)
Constructor for provider gui metadata.
Definition:
qgsproviderguimetadata.cpp:23
QgsProviderGuiMetadata::sourceSelectProviders
virtual QList< QgsSourceSelectProvider * > sourceSelectProviders()
Returns source select providers.
Definition:
qgsproviderguimetadata.cpp:40
QgsProviderGuiMetadata::~QgsProviderGuiMetadata
virtual ~QgsProviderGuiMetadata()
Generated on Sat Oct 24 2020 17:43:09 for QGIS API Documentation by
1.8.20