Quantum GIS API Documentation  1.8
Public Member Functions | Protected Attributes
QgsRendererCategoryV2 Class Reference

#include <qgscategorizedsymbolrendererv2.h>

Collaboration diagram for QgsRendererCategoryV2:
Collaboration graph

List of all members.

Public Member Functions

 QgsRendererCategoryV2 (QVariant value, QgsSymbolV2 *symbol, QString label)
 takes ownership of symbol
 QgsRendererCategoryV2 (const QgsRendererCategoryV2 &cat)
 copy constructor
 ~QgsRendererCategoryV2 ()
QVariant value () const
QgsSymbolV2symbol () const
QString label () const
void setValue (const QVariant &value)
void setSymbol (QgsSymbolV2 *s)
void setLabel (const QString &label)
QString dump ()
void toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const

Protected Attributes

QVariant mValue
QString mLabel

Detailed Description

Definition at line 27 of file qgscategorizedsymbolrendererv2.h.

Constructor & Destructor Documentation

QgsRendererCategoryV2::QgsRendererCategoryV2 ( QVariant  value,
QgsSymbolV2 symbol,
QString  label 

takes ownership of symbol

Definition at line 30 of file qgscategorizedsymbolrendererv2.cpp.

copy constructor

Definition at line 35 of file qgscategorizedsymbolrendererv2.cpp.

References QgsSymbolV2::clone(), and mSymbol.

Definition at line 42 of file qgscategorizedsymbolrendererv2.cpp.

References mSymbol.

Member Function Documentation

Definition at line 80 of file qgscategorizedsymbolrendererv2.cpp.

References QgsSymbolV2::dump(), mLabel, mSymbol, and mValue.

QString QgsRendererCategoryV2::label ( ) const
void QgsRendererCategoryV2::setLabel ( const QString &  label)

Definition at line 75 of file qgscategorizedsymbolrendererv2.cpp.

References label(), and mLabel.

Definition at line 67 of file qgscategorizedsymbolrendererv2.cpp.

References mSymbol.

void QgsRendererCategoryV2::setValue ( const QVariant &  value)

Definition at line 62 of file qgscategorizedsymbolrendererv2.cpp.

References mValue, and value().

void QgsRendererCategoryV2::toSld ( QDomDocument &  doc,
QDomElement &  element,
QgsStringMap  props 
) const
QVariant QgsRendererCategoryV2::value ( ) const

Member Data Documentation

QString QgsRendererCategoryV2::mLabel [protected]

Definition at line 55 of file qgscategorizedsymbolrendererv2.h.

Referenced by dump(), label(), setLabel(), and toSld().

QVariant QgsRendererCategoryV2::mValue [protected]

Definition at line 53 of file qgscategorizedsymbolrendererv2.h.

Referenced by dump(), setValue(), toSld(), and value().

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