Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for QgsSymbolLayerV2Metadata:
Collaboration graph
[legend]

Public Member Functions

 QgsSymbolLayerV2Metadata (QString name, QString visibleName, QgsSymbolV2::SymbolType type, QgsSymbolLayerV2CreateFunc pfCreate, QgsSymbolLayerV2WidgetFunc pfWidget=NULL)
 
QgsSymbolLayerV2CreateFunc createFunction () const
 
QgsSymbolLayerV2WidgetFunc widgetFunction () const
 
void setWidgetFunction (QgsSymbolLayerV2WidgetFunc f)
 
virtual QgsSymbolLayerV2createSymbolLayer (const QgsStringMap &map)
 create a symbol layer of this type given the map of properties. More...
 
virtual QgsSymbolLayerV2Widget * createSymbolLayerWidget ()
 create widget for symbol layer of this type. More...
 

Protected Attributes

QgsSymbolLayerV2CreateFunc mCreateFunc
 
QgsSymbolLayerV2WidgetFunc mWidgetFunc
 

Detailed Description

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

Definition at line 41 of file qgssymbollayerv2registry.h.

Constructor & Destructor Documentation

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

Definition at line 44 of file qgssymbollayerv2registry.h.

Member Function Documentation

QgsSymbolLayerV2CreateFunc QgsSymbolLayerV2Metadata::createFunction ( ) const
inline

Definition at line 50 of file qgssymbollayerv2registry.h.

virtual QgsSymbolLayerV2* QgsSymbolLayerV2Metadata::createSymbolLayer ( const QgsStringMap map)
inlinevirtual

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

Implements QgsSymbolLayerV2AbstractMetadata.

Definition at line 55 of file qgssymbollayerv2registry.h.

virtual QgsSymbolLayerV2Widget* QgsSymbolLayerV2Metadata::createSymbolLayerWidget ( )
inlinevirtual

create widget for symbol layer of this type.

Can return NULL if there's no GUI

Reimplemented from QgsSymbolLayerV2AbstractMetadata.

Definition at line 56 of file qgssymbollayerv2registry.h.

void QgsSymbolLayerV2Metadata::setWidgetFunction ( QgsSymbolLayerV2WidgetFunc  f)
inline

Definition at line 53 of file qgssymbollayerv2registry.h.

QgsSymbolLayerV2WidgetFunc QgsSymbolLayerV2Metadata::widgetFunction ( ) const
inline

Definition at line 51 of file qgssymbollayerv2registry.h.

Member Data Documentation

QgsSymbolLayerV2CreateFunc QgsSymbolLayerV2Metadata::mCreateFunc
protected

Definition at line 59 of file qgssymbollayerv2registry.h.

QgsSymbolLayerV2WidgetFunc QgsSymbolLayerV2Metadata::mWidgetFunc
protected

Definition at line 60 of file qgssymbollayerv2registry.h.


The documentation for this class was generated from the following file: