QGIS API Documentation
2.0.1-Dufour
|
Convenience metadata class that uses static functions to create renderer and its widget. More...
#include <qgsrendererv2registry.h>
Protected Attributes | |
QgsRendererV2CreateFunc | mCreateFunc |
pointer to function that creates an instance of the renderer when loading project / style | |
QgsRendererV2WidgetFunc | mWidgetFunc |
pointer to function that creates a widget for configuration of renderer's params | |
QgsRendererV2CreateFromSldFunc | mCreateFromSldFunc |
pointer to function that creates an instance of the renderer from SLD | |
Protected Attributes inherited from QgsRendererV2AbstractMetadata | |
QString | mName |
name used within QGIS for identification (the same what renderer's type() returns) | |
QString | mVisibleName |
name visible for users (translatable) | |
QIcon | mIcon |
icon to be shown in the renderer properties dialog |
Convenience metadata class that uses static functions to create renderer and its widget.
Definition at line 76 of file qgsrendererv2registry.h.
|
inline |
construct metadata
Definition at line 82 of file qgsrendererv2registry.h.
|
inline |
Definition at line 94 of file qgsrendererv2registry.h.
|
inline |
Definition at line 117 of file qgsrendererv2registry.h.
|
inline |
Definition at line 113 of file qgsrendererv2registry.h.
|
inlinevirtual |
Return new instance of the renderer given the DOM element.
Returns NULL on error. Pure virtual function: must be implemented in derived classes.
Implements QgsRendererV2AbstractMetadata.
Definition at line 106 of file qgsrendererv2registry.h.
|
inlinevirtual |
Reimplemented from QgsRendererV2AbstractMetadata.
Definition at line 109 of file qgsrendererv2registry.h.
|
inlinevirtual |
Return new instance of settings widget for the renderer.
Returns NULL on error.
Reimplemented from QgsRendererV2AbstractMetadata.
Definition at line 107 of file qgsrendererv2registry.h.
|
inline |
Definition at line 120 of file qgsrendererv2registry.h.
|
inline |
Definition at line 115 of file qgsrendererv2registry.h.
|
protected |
pointer to function that creates an instance of the renderer from SLD
Definition at line 128 of file qgsrendererv2registry.h.
|
protected |
pointer to function that creates an instance of the renderer when loading project / style
Definition at line 124 of file qgsrendererv2registry.h.
|
protected |
pointer to function that creates a widget for configuration of renderer's params
Definition at line 126 of file qgsrendererv2registry.h.