23 , mPluginLayerType( layerType )
66 QgsPluginLayerDataProvider::QgsPluginLayerDataProvider(
const QString &layerType,
const ProviderOptions &options )
76 QString QgsPluginLayerDataProvider::name()
const 81 QString QgsPluginLayerDataProvider::description()
const 91 bool QgsPluginLayerDataProvider::isValid()
const void setExtent(const QgsRectangle &extent) override
Sets extent of the layer.
A rectangle specified with double values.
Base class for all map layer types.
void willBeDeleted()
Emitted in the destructor when the layer is about to be deleted, but it is still in a perfectly valid...
Abstract base class for spatial data provider implementations.
virtual QgsRectangle extent() const
Returns the extent of the layer.
QgsRectangle mExtent
Extent of the layer.
QgsDataProvider * dataProvider() override
Returns the layer's data provider.
QString pluginLayerType()
Returns plugin layer type (the same as used in QgsPluginLayerRegistry)
Setting options for creating vector data providers.
QgsDataProvider * mDataProvider
QString mDataSource
Data source description string, varies by layer type.
QString source() const
Returns the source for the layer.
This class represents a coordinate reference system (CRS).
QgsPluginLayer(const QString &layerType, const QString &layerName=QString())
void setSource(const QString &source)
Set source string.
~QgsPluginLayer() override