QGIS API Documentation  2.2.0-Valmiera
 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
QgsRendererRangeV2 Class Reference

#include <qgsgraduatedsymbolrendererv2.h>

Public Member Functions

 QgsRendererRangeV2 ()
 QgsRendererRangeV2 (double lowerValue, double upperValue, QgsSymbolV2 *symbol, QString label)
 QgsRendererRangeV2 (const QgsRendererRangeV2 &range)
QgsRendererRangeV2operator= (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 Member Functions

void swap (QgsRendererRangeV2 &other)

Protected Attributes

double mLowerValue
double mUpperValue
QScopedPointer< QgsSymbolV2mSymbol
QString mLabel

Detailed Description

Definition at line 23 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.

Member Function Documentation

QString QgsRendererRangeV2::dump ( ) const

Definition at line 109 of file qgsgraduatedsymbolrendererv2.cpp.

References mLabel, mLowerValue, mSymbol, and mUpperValue.

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

Definition at line 55 of file qgsgraduatedsymbolrendererv2.cpp.

References swap().

void QgsRendererRangeV2::setLabel ( QString  label)

Definition at line 94 of file qgsgraduatedsymbolrendererv2.cpp.

References label(), and mLabel.

void QgsRendererRangeV2::setLowerValue ( double  lowerValue)

Definition at line 104 of file qgsgraduatedsymbolrendererv2.cpp.

References lowerValue(), and mLowerValue.

void QgsRendererRangeV2::setSymbol ( QgsSymbolV2 s)

Definition at line 89 of file qgsgraduatedsymbolrendererv2.cpp.

References mSymbol.

void QgsRendererRangeV2::setUpperValue ( double  upperValue)

Definition at line 99 of file qgsgraduatedsymbolrendererv2.cpp.

References mUpperValue, and upperValue().

void QgsRendererRangeV2::swap ( QgsRendererRangeV2 other)
protected

Definition at line 61 of file qgsgraduatedsymbolrendererv2.cpp.

References mLabel, mLowerValue, mSymbol, and mUpperValue.

Referenced by operator=().

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 53 of file qgsgraduatedsymbolrendererv2.h.

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

double QgsRendererRangeV2::mLowerValue
protected

Definition at line 51 of file qgsgraduatedsymbolrendererv2.h.

Referenced by dump(), lowerValue(), setLowerValue(), swap(), and toSld().

QScopedPointer<QgsSymbolV2> QgsRendererRangeV2::mSymbol
protected

Definition at line 52 of file qgsgraduatedsymbolrendererv2.h.

Referenced by dump(), setSymbol(), swap(), symbol(), and toSld().

double QgsRendererRangeV2::mUpperValue
protected

Definition at line 51 of file qgsgraduatedsymbolrendererv2.h.

Referenced by dump(), setUpperValue(), swap(), toSld(), and upperValue().


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