QGIS API Documentation  3.13.0-Master (788156190c)
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 
30 
37 class GUI_EXPORT QgsProviderGuiMetadata
38 {
39  public:
40 
44  explicit QgsProviderGuiMetadata( const QString &key );
45 
46  virtual ~QgsProviderGuiMetadata();
47 
52  virtual void registerGui( QMainWindow *widget );
53 
58  virtual QList<QgsDataItemGuiProvider *> dataItemGuiProviders() SIP_FACTORY;
59 
64  virtual QList<QgsProjectStorageGuiProvider *> projectStorageGuiProviders() SIP_FACTORY;
65 
70  virtual QList<QgsSourceSelectProvider *> sourceSelectProviders() SIP_FACTORY;
71 
73  QString key() const;
74 
75  private:
77  QString mKey;
78 };
79 
80 #endif //QGSPROVIDERGUIMETADATA_H
81 
QgsDataItemGuiProvider
Definition: qgsdataitemguiprovider.h:84
QgsSourceSelectProvider
Definition: qgssourceselectprovider.h:35
QgsProviderGuiMetadata
Definition: qgsproviderguimetadata.h:37
SIP_FACTORY
#define SIP_FACTORY
Definition: qgis_sip.h:76
qgis_sip.h
QgsProjectStorageGuiProvider
Definition: qgsprojectstorageguiprovider.h:31