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
QgsSymbolLayerV2AbstractMetadata Class Reference

Stores metadata about one symbol layer class. More...

#include <qgssymbollayerv2registry.h>

Inheritance diagram for QgsSymbolLayerV2AbstractMetadata:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 QgsSymbolLayerV2AbstractMetadata (QString name, QString visibleName, QgsSymbolV2::SymbolType type)
QString name () const
QString visibleName () const
QgsSymbolV2::SymbolType type () const
virtual QgsSymbolLayerV2createSymbolLayer (const QgsStringMap &map)=0
 create a symbol layer of this type given the map of properties.
virtual QgsSymbolLayerV2Widget * createSymbolLayerWidget ()
 create widget for symbol layer of this type.

Protected Attributes

QString mName
QString mVisibleName
QgsSymbolV2::SymbolType mType

Detailed Description

Stores metadata about one symbol layer class.

Note:
It's necessary to implement createSymbolLayer() function. In C++ you can use QgsSymbolLayerV2Metadata convenience class.

Definition at line 14 of file qgssymbollayerv2registry.h.


Constructor & Destructor Documentation

QgsSymbolLayerV2AbstractMetadata::QgsSymbolLayerV2AbstractMetadata ( QString  name,
QString  visibleName,
QgsSymbolV2::SymbolType  type 
)
inline

Definition at line 17 of file qgssymbollayerv2registry.h.


Member Function Documentation

virtual QgsSymbolLayerV2* QgsSymbolLayerV2AbstractMetadata::createSymbolLayer ( const QgsStringMap map)
pure virtual

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

Implemented in QgsSymbolLayerV2Metadata.

virtual QgsSymbolLayerV2Widget* QgsSymbolLayerV2AbstractMetadata::createSymbolLayerWidget ( )
inlinevirtual

create widget for symbol layer of this type.

Can return NULL if there's no GUI

Reimplemented in QgsSymbolLayerV2Metadata.

Definition at line 27 of file qgssymbollayerv2registry.h.

QString QgsSymbolLayerV2AbstractMetadata::name ( ) const
inline
QgsSymbolV2::SymbolType QgsSymbolLayerV2AbstractMetadata::type ( ) const
inline

Definition at line 22 of file qgssymbollayerv2registry.h.

QString QgsSymbolLayerV2AbstractMetadata::visibleName ( ) const
inline

Definition at line 21 of file qgssymbollayerv2registry.h.


Member Data Documentation

QString QgsSymbolLayerV2AbstractMetadata::mName
protected

Definition at line 30 of file qgssymbollayerv2registry.h.

QgsSymbolV2::SymbolType QgsSymbolLayerV2AbstractMetadata::mType
protected

Definition at line 32 of file qgssymbollayerv2registry.h.

QString QgsSymbolLayerV2AbstractMetadata::mVisibleName
protected

Definition at line 31 of file qgssymbollayerv2registry.h.


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