QGIS API Documentation
2.2.0-Valmiera
|
class for creating plugin specific layers More...
#include <qgspluginlayerregistry.h>
Public Member Functions | |
QgsPluginLayerType (QString name) | |
virtual | ~QgsPluginLayerType () |
QString | name () |
virtual QgsPluginLayer * | createLayer () |
return new layer of this type. | |
virtual bool | showLayerProperties (QgsPluginLayer *layer) |
show plugin layer properties dialog. |
Protected Attributes | |
QString | mName |
class for creating plugin specific layers
Definition at line 32 of file qgspluginlayerregistry.h.
QgsPluginLayerType::QgsPluginLayerType | ( | QString | name | ) |
Definition at line 24 of file qgspluginlayerregistry.cpp.
|
virtual |
Definition at line 29 of file qgspluginlayerregistry.cpp.
|
virtual |
return new layer of this type.
Return NULL on error
Definition at line 38 of file qgspluginlayerregistry.cpp.
Referenced by QgsPluginLayerRegistry::createLayer().
QString QgsPluginLayerType::name | ( | ) |
Definition at line 33 of file qgspluginlayerregistry.cpp.
References mName.
Referenced by QgsPluginLayerRegistry::addPluginLayerType().
|
virtual |
show plugin layer properties dialog.
Return false if the dialog cannot be shown.
Definition at line 43 of file qgspluginlayerregistry.cpp.
|
protected |
Definition at line 48 of file qgspluginlayerregistry.h.
Referenced by name().