Convenience metadata class that uses static functions to create renderer and its widget.
More...
Public Member Functions |
| QgsRendererV2Metadata (QString name, QString visibleName, QgsRendererV2CreateFunc pfCreate, QIcon icon=QIcon(), QgsRendererV2WidgetFunc pfWidget=NULL) |
| construct metadata
|
| QgsRendererV2Metadata (QString name, QString visibleName, QgsRendererV2CreateFunc pfCreate, QgsRendererV2CreateFromSldFunc pfCreateFromSld, QIcon icon=QIcon(), QgsRendererV2WidgetFunc pfWidget=NULL) |
virtual | ~QgsRendererV2Metadata () |
virtual QgsFeatureRendererV2 * | createRenderer (QDomElement &elem) |
| Return new instance of the renderer given the DOM element.
|
virtual QgsRendererV2Widget * | createRendererWidget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer) |
| Return new instance of settings widget for the renderer.
|
virtual QgsFeatureRendererV2 * | createRendererFromSld (QDomElement &elem, QGis::GeometryType geomType) |
QgsRendererV2CreateFunc | createFunction () const |
QgsRendererV2WidgetFunc | widgetFunction () const |
QgsRendererV2CreateFromSldFunc | createFromSldFunction () const |
void | setWidgetFunction (QgsRendererV2WidgetFunc f) |
| QgsRendererV2AbstractMetadata (QString name, QString visibleName, QIcon icon=QIcon()) |
virtual | ~QgsRendererV2AbstractMetadata () |
QString | name () const |
QString | visibleName () const |
QIcon | icon () const |
void | setIcon (const QIcon &icon) |
Convenience metadata class that uses static functions to create renderer and its widget.