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

#include <qgsgraduatedsymbolrendererv2.h>

Collaboration diagram for QgsRendererRangeV2:
Collaboration graph
[legend]

Public Member Functions

 QgsRendererRangeV2 ()
 QgsRendererRangeV2 (double lowerValue, double upperValue, QgsSymbolV2 *symbol, QString label)
 QgsRendererRangeV2 (const QgsRendererRangeV2 &range)
 ~QgsRendererRangeV2 ()
QgsRendererRangeV2operator= (const QgsRendererRangeV2 &range)
double lowerValue () const
double upperValue () const
QgsSymbolV2symbol () const
QString label () const
void setSymbol (QgsSymbolV2 *s)
void setLabel (QString label)
void setLowerValue (double lowerValue)
void setUpperValue (double upperValue)
QString dump () const
void toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const

Protected Attributes

double mLowerValue
double mUpperValue
QgsSymbolV2mSymbol
QString mLabel

Detailed Description

Definition at line 21 of file qgsgraduatedsymbolrendererv2.h.

Constructor & Destructor Documentation

QgsRendererRangeV2::QgsRendererRangeV2 ( )

Definition at line 33 of file qgsgraduatedsymbolrendererv2.cpp.

QgsRendererRangeV2::QgsRendererRangeV2 ( double  lowerValue,
double  upperValue,
QgsSymbolV2 symbol,
QString  label 
)

Definition at line 38 of file qgsgraduatedsymbolrendererv2.cpp.

QgsRendererRangeV2::QgsRendererRangeV2 ( const QgsRendererRangeV2 range)

Definition at line 46 of file qgsgraduatedsymbolrendererv2.cpp.

References QgsSymbolV2::clone(), and mSymbol.

QgsRendererRangeV2::~QgsRendererRangeV2 ( )

Definition at line 54 of file qgsgraduatedsymbolrendererv2.cpp.

References mSymbol.

Member Function Documentation

QString QgsRendererRangeV2::dump ( ) const
QString QgsRendererRangeV2::label ( ) const
double QgsRendererRangeV2::lowerValue ( ) const
QgsRendererRangeV2 & QgsRendererRangeV2::operator= ( const QgsRendererRangeV2 range)
void QgsRendererRangeV2::setLabel ( QString  label)

Definition at line 100 of file qgsgraduatedsymbolrendererv2.cpp.

References label(), and mLabel.

void QgsRendererRangeV2::setLowerValue ( double  lowerValue)

Definition at line 110 of file qgsgraduatedsymbolrendererv2.cpp.

References lowerValue(), and mLowerValue.

void QgsRendererRangeV2::setSymbol ( QgsSymbolV2 s)

Definition at line 92 of file qgsgraduatedsymbolrendererv2.cpp.

References mSymbol.

void QgsRendererRangeV2::setUpperValue ( double  upperValue)

Definition at line 105 of file qgsgraduatedsymbolrendererv2.cpp.

References mUpperValue, and upperValue().

QgsSymbolV2 * QgsRendererRangeV2::symbol ( ) const
void QgsRendererRangeV2::toSld ( QDomDocument &  doc,
QDomElement &  element,
QgsStringMap  props 
) const
double QgsRendererRangeV2::upperValue ( ) const

Member Data Documentation

QString QgsRendererRangeV2::mLabel
protected

Definition at line 51 of file qgsgraduatedsymbolrendererv2.h.

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

double QgsRendererRangeV2::mLowerValue
protected

Definition at line 49 of file qgsgraduatedsymbolrendererv2.h.

Referenced by dump(), lowerValue(), operator=(), setLowerValue(), and toSld().

QgsSymbolV2* QgsRendererRangeV2::mSymbol
protected
double QgsRendererRangeV2::mUpperValue
protected

Definition at line 49 of file qgsgraduatedsymbolrendererv2.h.

Referenced by dump(), operator=(), setUpperValue(), toSld(), and upperValue().


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