QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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, bool render=true)
 
 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)
 
bool renderState () const
 
void setRenderState (bool render)
 
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
 
bool mRender
 

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,
bool  render = true 
)

Definition at line 38 of file qgsgraduatedsymbolrendererv2.cpp.

QgsRendererRangeV2::QgsRendererRangeV2 ( const QgsRendererRangeV2 range)

Definition at line 47 of file qgsgraduatedsymbolrendererv2.cpp.

Member Function Documentation

QString QgsRendererRangeV2::dump ( ) const

Definition at line 121 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 57 of file qgsgraduatedsymbolrendererv2.cpp.

References swap().

bool QgsRendererRangeV2::renderState ( ) const
void QgsRendererRangeV2::setLabel ( QString  label)

Definition at line 96 of file qgsgraduatedsymbolrendererv2.cpp.

References label(), and mLabel.

void QgsRendererRangeV2::setLowerValue ( double  lowerValue)

Definition at line 106 of file qgsgraduatedsymbolrendererv2.cpp.

References lowerValue(), and mLowerValue.

void QgsRendererRangeV2::setRenderState ( bool  render)

Definition at line 116 of file qgsgraduatedsymbolrendererv2.cpp.

References mRender.

void QgsRendererRangeV2::setSymbol ( QgsSymbolV2 s)

Definition at line 91 of file qgsgraduatedsymbolrendererv2.cpp.

References mSymbol.

void QgsRendererRangeV2::setUpperValue ( double  upperValue)

Definition at line 101 of file qgsgraduatedsymbolrendererv2.cpp.

References mUpperValue, and upperValue().

void QgsRendererRangeV2::swap ( QgsRendererRangeV2 other)
protected

Definition at line 63 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 56 of file qgsgraduatedsymbolrendererv2.h.

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

double QgsRendererRangeV2::mLowerValue
protected

Definition at line 54 of file qgsgraduatedsymbolrendererv2.h.

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

bool QgsRendererRangeV2::mRender
protected

Definition at line 57 of file qgsgraduatedsymbolrendererv2.h.

Referenced by renderState(), and setRenderState().

QScopedPointer<QgsSymbolV2> QgsRendererRangeV2::mSymbol
protected

Definition at line 55 of file qgsgraduatedsymbolrendererv2.h.

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

double QgsRendererRangeV2::mUpperValue
protected

Definition at line 54 of file qgsgraduatedsymbolrendererv2.h.

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


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