|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
Responsible for creating plugin specific map layers. More...
#include <qgspluginlayerregistry.h>
Public Member Functions | |
| QgsPluginLayerType (const QString &name) | |
| virtual | ~QgsPluginLayerType ()=default |
| virtual QgsPluginLayer * | createLayer () |
Returns new layer of this type. Return nullptr on error. | |
| virtual QgsPluginLayer * | createLayer (const QString &uri) |
| Returns new layer of this type, using layer URI (specific to this plugin layer type). | |
| QString | name () const |
| virtual bool | showLayerProperties (QgsPluginLayer *layer) |
Show plugin layer properties dialog. Return false if the dialog cannot be shown. | |
Protected Attributes | |
| QString | mName |
Responsible for creating plugin specific map layers.
Definition at line 34 of file qgspluginlayerregistry.h.
| QgsPluginLayerType::QgsPluginLayerType | ( | const QString & | name | ) |
Definition at line 24 of file qgspluginlayerregistry.cpp.
|
virtualdefault |
|
virtual |
Returns new layer of this type. Return nullptr on error.
Definition at line 34 of file qgspluginlayerregistry.cpp.
|
virtual |
Returns new layer of this type, using layer URI (specific to this plugin layer type).
Return nullptr on error.
Definition at line 39 of file qgspluginlayerregistry.cpp.
| QString QgsPluginLayerType::name | ( | ) | const |
Definition at line 29 of file qgspluginlayerregistry.cpp.
|
virtual |
Show plugin layer properties dialog. Return false if the dialog cannot be shown.
Definition at line 45 of file qgspluginlayerregistry.cpp.
|
protected |
Definition at line 55 of file qgspluginlayerregistry.h.