Class: QgsPluginLayerType¶
Responsible for creating plugin specific map layers.
List of all members, including inherited members
Methods
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsPluginLayerType. See the FAQ for more details.
Returns new layer of this type. |
|
Show plugin layer properties dialog. |
- class qgis.core.QgsPluginLayerType[source]¶
Bases:
object- virtual createLayer(self) QgsPluginLayer | None[source]¶
Returns new layer of this type. Return
Noneon errorcreateLayer(self, uri: Optional[str]) -> Optional[QgsPluginLayer] Returns new layer of this type, using layer URI (specific to this plugin layer type). Return
Noneon error.- Return type:
- virtual 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