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 ()

Protected Attributes

QVariant mValue
QString mLabel

Detailed Description

Definition at line 12 of file qgscategorizedsymbolrendererv2.h.

Constructor & Destructor Documentation

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

takes ownership of symbol

Definition at line 16 of file qgscategorizedsymbolrendererv2.cpp.

QgsRendererCategoryV2::QgsRendererCategoryV2 ( const QgsRendererCategoryV2 cat  ) 

copy constructor

Definition at line 21 of file qgscategorizedsymbolrendererv2.cpp.

References QgsSymbolV2::clone(), and mSymbol.

QgsRendererCategoryV2::~QgsRendererCategoryV2 (  ) 

Definition at line 28 of file qgscategorizedsymbolrendererv2.cpp.

References mSymbol.

Member Function Documentation

QVariant QgsRendererCategoryV2::value (  )  const

QgsSymbolV2 * QgsRendererCategoryV2::symbol (  )  const

QString QgsRendererCategoryV2::label (  )  const

void QgsRendererCategoryV2::setValue ( const QVariant &  value  ) 

Definition at line 48 of file qgscategorizedsymbolrendererv2.cpp.

References mValue.

void QgsRendererCategoryV2::setSymbol ( QgsSymbolV2 s  ) 

Definition at line 53 of file qgscategorizedsymbolrendererv2.cpp.

References mSymbol.

void QgsRendererCategoryV2::setLabel ( const QString &  label  ) 

Definition at line 61 of file qgscategorizedsymbolrendererv2.cpp.

References mLabel.

QString QgsRendererCategoryV2::dump (  ) 

Definition at line 66 of file qgscategorizedsymbolrendererv2.cpp.

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

Member Data Documentation

QVariant QgsRendererCategoryV2::mValue [protected]

Definition at line 36 of file qgscategorizedsymbolrendererv2.h.

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

QString QgsRendererCategoryV2::mLabel [protected]

Definition at line 38 of file qgscategorizedsymbolrendererv2.h.

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

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

Generated on Sat Feb 4 19:17:48 2012 for Quantum GIS API Documentation by  doxygen 1.5.6