Subgroup: Plugin
Class: QgsPluginLayerType¶
-
class
qgis.core.
QgsPluginLayerType
¶ Bases:
sip.wrapper
class for creating plugin specific layers
Methods
createLayer
Return new layer of this type. name
showLayerProperties
Show plugin layer properties dialog. Attributes
-
createLayer
(self) → QgsPluginLayer¶ Return new layer of this type. Return NULL on error
createLayer(self, uri: str) -> QgsPluginLayer Return new layer of this type, using layer URI (specific to this plugin layer type). Return NULL on error.
New in version 2.10.
-
name
(self) → str¶
-
showLayerProperties
(self, layer: QgsPluginLayer) → bool¶ Show plugin layer properties dialog. Return false if the dialog cannot be shown.
-