QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Protected Attributes | List of all members
QgsPluginLayerRenderer Class Reference

Fallback layer renderer implementation for layer that do not support map renderer yet. More...

Inheritance diagram for QgsPluginLayerRenderer:
Inheritance graph
[legend]

Public Member Functions

 QgsPluginLayerRenderer (QgsPluginLayer *layer, QgsRenderContext &rendererContext)
 
virtual bool render () override
 Do the rendering (based on data stored in the class) More...
 
- Public Member Functions inherited from QgsMapLayerRenderer
 QgsMapLayerRenderer (const QString &layerID)
 
virtual ~QgsMapLayerRenderer ()
 
QStringList errors () const
 Return list of errors (problems) that happened during the rendering. More...
 
virtual QgsFeedbackfeedback () const
 Access to feedback object of the layer renderer (may be null) More...
 
QString layerID () const
 Get access to the ID of the layer rendered by this class. More...
 

Protected Attributes

QgsPluginLayermLayer
 
QgsRenderContextmRendererContext
 
- Protected Attributes inherited from QgsMapLayerRenderer
QStringList mErrors
 
QString mLayerID
 

Detailed Description

Fallback layer renderer implementation for layer that do not support map renderer yet.

Note
added in 2.4
not available in Python bindings

Definition at line 54 of file qgspluginlayer.cpp.

Constructor & Destructor Documentation

◆ QgsPluginLayerRenderer()

QgsPluginLayerRenderer::QgsPluginLayerRenderer ( QgsPluginLayer layer,
QgsRenderContext rendererContext 
)
inline

Definition at line 57 of file qgspluginlayer.cpp.

Member Function Documentation

◆ render()

virtual bool QgsPluginLayerRenderer::render ( )
inlineoverridevirtual

Do the rendering (based on data stored in the class)

Implements QgsMapLayerRenderer.

Definition at line 63 of file qgspluginlayer.cpp.

Member Data Documentation

◆ mLayer

QgsPluginLayer* QgsPluginLayerRenderer::mLayer
protected

Definition at line 69 of file qgspluginlayer.cpp.

◆ mRendererContext

QgsRenderContext& QgsPluginLayerRenderer::mRendererContext
protected

Definition at line 70 of file qgspluginlayer.cpp.


The documentation for this class was generated from the following file: