QgsPluginLayerType class

class for creating plugin specific layers

Contents

Public functions

auto createLayer() -> QgsPluginLayer* virtual
Returns new layer of this type. Return NULL on error.
auto createLayer(const QString& uri) -> QgsPluginLayer* virtual
Returns new layer of this type, using layer URI (specific to this plugin layer type).
auto showLayerProperties(QgsPluginLayer* layer) -> bool virtual
Show plugin layer properties dialog. Return false if the dialog cannot be shown.

Function documentation

QgsPluginLayer* QgsPluginLayerType::createLayer(const QString& uri) virtual

Returns new layer of this type, using layer URI (specific to this plugin layer type).

Return NULL on error.