QGIS API Documentation
2.8.2-Wien
|
#include <qgscategorizedsymbolrendererv2.h>
Public Member Functions | |
QgsRendererCategoryV2 () | |
QgsRendererCategoryV2 (QVariant value, QgsSymbolV2 *symbol, QString label, bool render=true) | |
takes ownership of symbol | |
QgsRendererCategoryV2 (const QgsRendererCategoryV2 &cat) | |
copy constructor | |
QString | dump () const |
QString | label () const |
QgsRendererCategoryV2 & | operator= (QgsRendererCategoryV2 cat) |
bool | renderState () const |
void | setLabel (const QString &label) |
void | setRenderState (bool render) |
void | setSymbol (QgsSymbolV2 *s) |
void | setValue (const QVariant &value) |
QgsSymbolV2 * | symbol () const |
void | toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const |
QVariant | value () const |
Protected Member Functions | |
void | swap (QgsRendererCategoryV2 &other) |
Protected Attributes | |
QString | mLabel |
bool | mRender |
QScopedPointer< QgsSymbolV2 > | mSymbol |
QVariant | mValue |
Definition at line 29 of file qgscategorizedsymbolrendererv2.h.
QgsRendererCategoryV2::QgsRendererCategoryV2 | ( | ) |
Definition at line 33 of file qgscategorizedsymbolrendererv2.cpp.
QgsRendererCategoryV2::QgsRendererCategoryV2 | ( | QVariant | value, |
QgsSymbolV2 * | symbol, | ||
QString | label, | ||
bool | render = true |
||
) |
takes ownership of symbol
Definition at line 38 of file qgscategorizedsymbolrendererv2.cpp.
QgsRendererCategoryV2::QgsRendererCategoryV2 | ( | const QgsRendererCategoryV2 & | cat | ) |
copy constructor
Definition at line 46 of file qgscategorizedsymbolrendererv2.cpp.
QString QgsRendererCategoryV2::dump | ( | ) | const |
Definition at line 108 of file qgscategorizedsymbolrendererv2.cpp.
QString QgsRendererCategoryV2::label | ( | ) | const |
Definition at line 78 of file qgscategorizedsymbolrendererv2.cpp.
QgsRendererCategoryV2 & QgsRendererCategoryV2::operator= | ( | QgsRendererCategoryV2 | cat | ) |
Definition at line 55 of file qgscategorizedsymbolrendererv2.cpp.
bool QgsRendererCategoryV2::renderState | ( | ) | const |
Definition at line 83 of file qgscategorizedsymbolrendererv2.cpp.
void QgsRendererCategoryV2::setLabel | ( | const QString & | label | ) |
Definition at line 98 of file qgscategorizedsymbolrendererv2.cpp.
void QgsRendererCategoryV2::setRenderState | ( | bool | render | ) |
Definition at line 103 of file qgscategorizedsymbolrendererv2.cpp.
void QgsRendererCategoryV2::setSymbol | ( | QgsSymbolV2 * | s | ) |
Definition at line 93 of file qgscategorizedsymbolrendererv2.cpp.
void QgsRendererCategoryV2::setValue | ( | const QVariant & | value | ) |
Definition at line 88 of file qgscategorizedsymbolrendererv2.cpp.
|
protected |
Definition at line 61 of file qgscategorizedsymbolrendererv2.cpp.
QgsSymbolV2 * QgsRendererCategoryV2::symbol | ( | ) | const |
Definition at line 73 of file qgscategorizedsymbolrendererv2.cpp.
void QgsRendererCategoryV2::toSld | ( | QDomDocument & | doc, |
QDomElement & | element, | ||
QgsStringMap | props | ||
) | const |
Definition at line 113 of file qgscategorizedsymbolrendererv2.cpp.
QVariant QgsRendererCategoryV2::value | ( | ) | const |
Definition at line 68 of file qgscategorizedsymbolrendererv2.cpp.
|
protected |
Definition at line 62 of file qgscategorizedsymbolrendererv2.h.
|
protected |
Definition at line 63 of file qgscategorizedsymbolrendererv2.h.
|
protected |
Definition at line 61 of file qgscategorizedsymbolrendererv2.h.
|
protected |
Definition at line 60 of file qgscategorizedsymbolrendererv2.h.