QGIS API Documentation
2.2.0-Valmiera
|
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.
|
virtual |
Definition at line 91 of file qgsrendererv2registry.cpp.
|
inline |
Definition at line 119 of file qgsrendererv2registry.h.
|
inline |
Definition at line 115 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 108 of file qgsrendererv2registry.h.
|
inlinevirtual |
Reimplemented from QgsRendererV2AbstractMetadata.
Definition at line 111 of file qgsrendererv2registry.h.
|
inlinevirtual |
Return new instance of settings widget for the renderer.
Returns NULL on error.
Reimplemented from QgsRendererV2AbstractMetadata.
Definition at line 109 of file qgsrendererv2registry.h.
|
inline |
Definition at line 122 of file qgsrendererv2registry.h.
|
inline |
Definition at line 117 of file qgsrendererv2registry.h.
|
protected |
pointer to function that creates an instance of the renderer from SLD
Definition at line 130 of file qgsrendererv2registry.h.
|
protected |
pointer to function that creates an instance of the renderer when loading project / style
Definition at line 126 of file qgsrendererv2registry.h.
|
protected |
pointer to function that creates a widget for configuration of renderer's params
Definition at line 128 of file qgsrendererv2registry.h.