QGIS API Documentation
2.2.0-Valmiera
|
#include <qgsgraduatedsymbolrendererv2.h>
Public Member Functions | |
QgsRendererRangeV2 () | |
QgsRendererRangeV2 (double lowerValue, double upperValue, QgsSymbolV2 *symbol, QString label) | |
QgsRendererRangeV2 (const QgsRendererRangeV2 &range) | |
QgsRendererRangeV2 & | operator= (QgsRendererRangeV2 range) |
double | lowerValue () const |
double | upperValue () const |
QgsSymbolV2 * | symbol () 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< QgsSymbolV2 > | mSymbol |
QString | mLabel |
Definition at line 23 of file qgsgraduatedsymbolrendererv2.h.
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.
QString QgsRendererRangeV2::dump | ( | ) | const |
Definition at line 109 of file qgsgraduatedsymbolrendererv2.cpp.
References mLabel, mLowerValue, mSymbol, and mUpperValue.
QString QgsRendererRangeV2::label | ( | ) | const |
Definition at line 84 of file qgsgraduatedsymbolrendererv2.cpp.
References mLabel.
Referenced by labelLessThan(), QgsGraduatedSymbolRendererV2::legendSymbolItems(), QgsGraduatedSymbolRendererV2::legendSymbologyItems(), QgsGraduatedSymbolRendererV2::save(), and setLabel().
double QgsRendererRangeV2::lowerValue | ( | ) | const |
Definition at line 69 of file qgsgraduatedsymbolrendererv2.cpp.
References mLowerValue.
Referenced by QgsRuleBasedRendererV2::refineRuleRanges(), QgsGraduatedSymbolRendererV2::save(), setLowerValue(), and valueLessThan().
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.
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().
|
protected |
Definition at line 61 of file qgsgraduatedsymbolrendererv2.cpp.
References mLabel, mLowerValue, mSymbol, and mUpperValue.
Referenced by operator=().
QgsSymbolV2 * QgsRendererRangeV2::symbol | ( | ) | const |
Definition at line 79 of file qgsgraduatedsymbolrendererv2.cpp.
References mSymbol.
Referenced by QgsGraduatedSymbolRendererV2::legendSymbolItems(), QgsGraduatedSymbolRendererV2::legendSymbologyItems(), QgsRuleBasedRendererV2::refineRuleRanges(), QgsGraduatedSymbolRendererV2::save(), QgsGraduatedSymbolRendererV2::updateColorRamp(), and QgsGraduatedSymbolRendererV2::updateSymbols().
void QgsRendererRangeV2::toSld | ( | QDomDocument & | doc, |
QDomElement & | element, | ||
QgsStringMap | props | ||
) | const |
Definition at line 114 of file qgsgraduatedsymbolrendererv2.cpp.
References QgsSymbolLayerV2Utils::createFunctionElement(), mLabel, mLowerValue, mSymbol, and mUpperValue.
double QgsRendererRangeV2::upperValue | ( | ) | const |
Definition at line 74 of file qgsgraduatedsymbolrendererv2.cpp.
References mUpperValue.
Referenced by QgsRuleBasedRendererV2::refineRuleRanges(), QgsGraduatedSymbolRendererV2::save(), and setUpperValue().
|
protected |
Definition at line 53 of file qgsgraduatedsymbolrendererv2.h.
Referenced by dump(), label(), setLabel(), swap(), and toSld().
|
protected |
Definition at line 51 of file qgsgraduatedsymbolrendererv2.h.
Referenced by dump(), lowerValue(), setLowerValue(), swap(), and toSld().
|
protected |
Definition at line 52 of file qgsgraduatedsymbolrendererv2.h.
Referenced by dump(), setSymbol(), swap(), symbol(), and toSld().
|
protected |
Definition at line 51 of file qgsgraduatedsymbolrendererv2.h.
Referenced by dump(), setUpperValue(), swap(), toSld(), and upperValue().