QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
23 , mPluginLayerType( layerType )
66 QgsPluginLayerDataProvider::QgsPluginLayerDataProvider(
const QString &layerType,
67 const ProviderOptions &options,
68 QgsDataProvider::ReadFlags flags )
78 QString QgsPluginLayerDataProvider::name()
const
83 QString QgsPluginLayerDataProvider::description()
const
93 bool QgsPluginLayerDataProvider::isValid()
const
void willBeDeleted()
Emitted in the destructor when the layer is about to be deleted, but it is still in a perfectly valid...
void setSource(const QString &source)
Set source string.
QgsPluginLayer(const QString &layerType, const QString &layerName=QString())
Setting options for creating vector data providers.
void setExtent(const QgsRectangle &extent) override
Sets extent of the layer.
Abstract base class for spatial data provider implementations.
const QgsCoordinateReferenceSystem & crs
QgsMapLayerType
Types of layers that can be added to a map.
~QgsPluginLayer() override
A rectangle specified with double values.
virtual void setExtent(const QgsRectangle &rect)
Sets the extent.
virtual QgsRectangle extent() const
Returns the extent of the layer.
QString mDataSource
Data source description string, varies by layer type.
This class represents a coordinate reference system (CRS).
QString source() const
Returns the source for the layer.
Base class for all map layer types. This is the base class for all map layer types (vector,...
QString pluginLayerType()
Returns plugin layer type (the same as used in QgsPluginLayerRegistry)
QgsDataProvider * mDataProvider
@ PluginLayer
Plugin based layer.
QgsDataProvider * dataProvider() override
Returns the layer's data provider, it may be nullptr.