QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
- 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.
QString layerID () const
 Get access to the ID of the layer rendered by this class.

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

Definition at line 46 of file qgspluginlayer.cpp.

Constructor & Destructor Documentation

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

Definition at line 49 of file qgspluginlayer.cpp.

Member Function Documentation

virtual bool QgsPluginLayerRenderer::render ( )
inlineoverridevirtual

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

Implements QgsMapLayerRenderer.

Definition at line 55 of file qgspluginlayer.cpp.

Member Data Documentation

QgsPluginLayer* QgsPluginLayerRenderer::mLayer
protected

Definition at line 61 of file qgspluginlayer.cpp.

QgsRenderContext& QgsPluginLayerRenderer::mRendererContext
protected

Definition at line 62 of file qgspluginlayer.cpp.


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