QGIS API Documentation  master-3f58142
QgsSymbolLayerV2Metadata Class Reference

Convenience metadata class that uses static functions to create symbol layer and its widget. More...

#include <qgssymbollayerv2registry.h>

+ Inheritance diagram for QgsSymbolLayerV2Metadata:
+ Collaboration diagram for QgsSymbolLayerV2Metadata:

List of all members.

Public Member Functions

 QgsSymbolLayerV2Metadata (QString name, QString visibleName, QgsSymbolV2::SymbolType type, QgsSymbolLayerV2CreateFunc pfCreate, QgsSymbolLayerV2WidgetFunc pfWidget=NULL)
 not available in python bindings
 QgsSymbolLayerV2Metadata (QString name, QString visibleName, QgsSymbolV2::SymbolType type, QgsSymbolLayerV2CreateFunc pfCreate, QgsSymbolLayerV2CreateFromSldFunc pfCreateFromSld, QgsSymbolLayerV2WidgetFunc pfWidget=NULL)
 not available in python bindings
QgsSymbolLayerV2CreateFromSldFunc createFromSldFunction () const
 not available in python bindings
QgsSymbolLayerV2CreateFunc createFunction () const
 not available in python bindings
virtual QgsSymbolLayerV2createSymbolLayer (const QgsStringMap &map)
 create a symbol layer of this type given the map of properties.
virtual QgsSymbolLayerV2createSymbolLayerFromSld (QDomElement &elem)
 create a symbol layer of this type given the map of properties.
virtual QgsSymbolLayerV2WidgetcreateSymbolLayerWidget (const QgsVectorLayer *vl)
 create widget for symbol layer of this type.
void setWidgetFunction (QgsSymbolLayerV2WidgetFunc f)
 not available in python bindings
QgsSymbolLayerV2WidgetFunc widgetFunction () const
 not available in python bindings

Protected Attributes

QgsSymbolLayerV2CreateFromSldFunc mCreateFromSldFunc
QgsSymbolLayerV2CreateFunc mCreateFunc
QgsSymbolLayerV2WidgetFunc mWidgetFunc

Detailed Description

Convenience metadata class that uses static functions to create symbol layer and its widget.

Definition at line 63 of file qgssymbollayerv2registry.h.


Constructor & Destructor Documentation

QgsSymbolLayerV2Metadata::QgsSymbolLayerV2Metadata ( QString  name,
QString  visibleName,
QgsSymbolV2::SymbolType  type,
QgsSymbolLayerV2CreateFunc  pfCreate,
QgsSymbolLayerV2WidgetFunc  pfWidget = NULL 
) [inline]

not available in python bindings

Definition at line 67 of file qgssymbollayerv2registry.h.

QgsSymbolLayerV2Metadata::QgsSymbolLayerV2Metadata ( QString  name,
QString  visibleName,
QgsSymbolV2::SymbolType  type,
QgsSymbolLayerV2CreateFunc  pfCreate,
QgsSymbolLayerV2CreateFromSldFunc  pfCreateFromSld,
QgsSymbolLayerV2WidgetFunc  pfWidget = NULL 
) [inline]

not available in python bindings

Definition at line 78 of file qgssymbollayerv2registry.h.


Member Function Documentation

not available in python bindings

Definition at line 94 of file qgssymbollayerv2registry.h.

not available in python bindings

Definition at line 90 of file qgssymbollayerv2registry.h.

virtual QgsSymbolLayerV2* QgsSymbolLayerV2Metadata::createSymbolLayer ( const QgsStringMap map) [inline, virtual]

create a symbol layer of this type given the map of properties.

Implements QgsSymbolLayerV2AbstractMetadata.

Definition at line 99 of file qgssymbollayerv2registry.h.

virtual QgsSymbolLayerV2* QgsSymbolLayerV2Metadata::createSymbolLayerFromSld ( QDomElement &  ) [inline, virtual]

create a symbol layer of this type given the map of properties.

Reimplemented from QgsSymbolLayerV2AbstractMetadata.

Definition at line 101 of file qgssymbollayerv2registry.h.

create widget for symbol layer of this type.

Can return NULL if there's no GUI

Reimplemented from QgsSymbolLayerV2AbstractMetadata.

Definition at line 100 of file qgssymbollayerv2registry.h.

not available in python bindings

Definition at line 97 of file qgssymbollayerv2registry.h.

Referenced by _initWidgetFunction().

not available in python bindings

Definition at line 92 of file qgssymbollayerv2registry.h.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines