Class: QgsPluginLayerType¶
Class for creating plugin specific layers
Methods
Returns new layer of this type.  | 
|
Show plugin layer properties dialog.  | 
- class qgis.core.QgsPluginLayerType[source]¶
 Bases:
object- createLayer(self) QgsPluginLayer | None[source]¶
 Returns new layer of this type. Return
Noneon error- Return type:
 Optional[QgsPluginLayer]
- createLayer(self, uri: str | None) QgsPluginLayer | None[source]
 Returns new layer of this type, using layer URI (specific to this plugin layer type). Return
Noneon error.- Parameters:
 uri (Optional[str])
- Return type:
 Optional[QgsPluginLayer]
- showLayerProperties(self, layer: QgsPluginLayer | None) bool[source]¶
 Show plugin layer properties dialog. Return
Falseif the dialog cannot be shown.- Parameters:
 layer (Optional[QgsPluginLayer])
- Return type:
 bool