QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
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 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.
const QgsCoordinateReferenceSystem & crs
~QgsPluginLayer() override
QgsRectangle mExtent
Extent of the layer.
virtual QgsRectangle extent() const
Returns the extent of the layer.
QString mDataSource
Data source description string, varies by layer type.
QString source() const
Returns the source for the layer.
QString pluginLayerType()
Returns plugin layer type (the same as used in QgsPluginLayerRegistry)
QgsDataProvider * mDataProvider
QgsDataProvider * dataProvider() override
Returns the layer's data provider, it may be nullptr.