Stores metadata about one renderer class.
More...
#include <qgsrendererv2registry.h>
Protected Attributes |
QIcon | mIcon |
| icon to be shown in the renderer properties dialog
|
QString | mName |
| name used within QGIS for identification (the same what renderer's type() returns)
|
QString | mVisibleName |
| name visible for users (translatable)
|
Detailed Description
Stores metadata about one renderer class.
- Note
- It's necessary to implement createRenderer() function. In C++ you can use QgsRendererV2Metadata convenience class.
Definition at line 36 of file qgsrendererv2registry.h.
Constructor & Destructor Documentation
QgsRendererV2AbstractMetadata::QgsRendererV2AbstractMetadata |
( |
QString |
name, |
|
|
QString |
visibleName, |
|
|
QIcon |
icon = QIcon() |
|
) |
| |
|
inline |
virtual QgsRendererV2AbstractMetadata::~QgsRendererV2AbstractMetadata |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
Return new instance of the renderer given the DOM element.
Returns NULL on error. Pure virtual function: must be implemented in derived classes.
Implemented in QgsRendererV2Metadata.
QIcon QgsRendererV2AbstractMetadata::icon |
( |
| ) |
const |
|
inline |
QString QgsRendererV2AbstractMetadata::name |
( |
| ) |
const |
|
inline |
void QgsRendererV2AbstractMetadata::setIcon |
( |
const QIcon & |
icon | ) |
|
|
inline |
QString QgsRendererV2AbstractMetadata::visibleName |
( |
| ) |
const |
|
inline |
Member Data Documentation
QIcon QgsRendererV2AbstractMetadata::mIcon |
|
protected |
QString QgsRendererV2AbstractMetadata::mName |
|
protected |
name used within QGIS for identification (the same what renderer's type() returns)
Definition at line 61 of file qgsrendererv2registry.h.
QString QgsRendererV2AbstractMetadata::mVisibleName |
|
protected |
The documentation for this class was generated from the following file: