QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QgsRendererCategoryV2 Class Reference

#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
QgsRendererCategoryV2operator= (QgsRendererCategoryV2 cat)
QVariant value () const
QgsSymbolV2symbol () const
QString label () const
void setValue (const QVariant &value)
void setSymbol (QgsSymbolV2 *s)
void setLabel (const QString &label)
bool renderState () const
void setRenderState (bool render)
QString dump () const
void toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const

Protected Member Functions

void swap (QgsRendererCategoryV2 &other)

Protected Attributes

QVariant mValue
QScopedPointer< QgsSymbolV2mSymbol
QString mLabel
bool mRender

Constructor & Destructor Documentation

QgsRendererCategoryV2::QgsRendererCategoryV2 ( )
QgsRendererCategoryV2::QgsRendererCategoryV2 ( QVariant  value,
QgsSymbolV2 symbol,
QString  label,
bool  render = true 
)

takes ownership of symbol

QgsRendererCategoryV2::QgsRendererCategoryV2 ( const QgsRendererCategoryV2 cat)

copy constructor

Member Function Documentation

QString QgsRendererCategoryV2::dump ( ) const
QString QgsRendererCategoryV2::label ( ) const
QgsRendererCategoryV2 & QgsRendererCategoryV2::operator= ( QgsRendererCategoryV2  cat)
bool QgsRendererCategoryV2::renderState ( ) const
void QgsRendererCategoryV2::setLabel ( const QString &  label)
void QgsRendererCategoryV2::setRenderState ( bool  render)
void QgsRendererCategoryV2::setSymbol ( QgsSymbolV2 s)
void QgsRendererCategoryV2::setValue ( const QVariant &  value)
void QgsRendererCategoryV2::swap ( QgsRendererCategoryV2 other)
protected
QgsSymbolV2 * QgsRendererCategoryV2::symbol ( ) const
void QgsRendererCategoryV2::toSld ( QDomDocument &  doc,
QDomElement &  element,
QgsStringMap  props 
) const
QVariant QgsRendererCategoryV2::value ( ) const

Member Data Documentation

QString QgsRendererCategoryV2::mLabel
protected
bool QgsRendererCategoryV2::mRender
protected
QScopedPointer<QgsSymbolV2> QgsRendererCategoryV2::mSymbol
protected
QVariant QgsRendererCategoryV2::mValue
protected

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