static QgsSymbolLayerV2 * create(const QgsStringMap &properties)
static QgsSymbolLayerV2 * defaultSymbolLayer(QgsSymbolV2::SymbolType type)
create a new instance of symbol layer for specified symbol type with default settings ...
bool contains(const Key &key) const
QgsSymbolLayerV2AbstractMetadata * symbolLayerMetadata(const QString &name) const
return metadata for specified symbol layer. Returns NULL if not found
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
const_iterator constBegin() const
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
static QgsSymbolLayerV2Registry * instance()
return the single instance of this class (instantiate it if not exists)
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
Creates a new QgsSimpleMarkerSymbolLayerV2.
QString tr(const char *sourceText, const char *disambiguation, int n)
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
Creates a new QgsSimpleMarkerSymbolLayerV2 from an SLD XML element.
QMap< QString, QgsSymbolLayerV2AbstractMetadata * > mMetadata
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
const char * name() const
void append(const T &value)
~QgsSymbolLayerV2Registry()
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
Create a new QgsArrowSymbolLayer.
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
const_iterator constEnd() const
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
Create a new MarkerLineSymbolLayerV2 from SLD.
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
QgsSymbolLayerV2Registry()
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
Create a new MarkerLineSymbolLayerV2.
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
Creates a new QgsFilledMarkerSymbolLayer.
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
SymbolType
Type of the symbol.
const Key key(const T &value) const
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
QStringList symbolLayersForType(QgsSymbolV2::SymbolType type)
return a list of available symbol layers for a specified symbol type
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
bool addSymbolLayerType(QgsSymbolLayerV2AbstractMetadata *metadata)
register a new symbol layer type. Takes ownership of the metadata instance.
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
QgsSymbolLayerV2 * createSymbolLayer(const QString &name, const QgsStringMap &properties=QgsStringMap()) const
create a new instance of symbol layer given symbol layer name and properties
QgsSymbolLayerV2 * createSymbolLayerFromSld(const QString &name, QDomElement &element) const
create a new instance of symbol layer given symbol layer name and SLD
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
static QgsSymbolLayerV2 * createFromSld(QDomElement &element)
Registry of available symbol layer classes.
static QgsSymbolLayerV2 * create(const QgsStringMap &properties=QgsStringMap())
const T value(const Key &key) const