QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
#include <qgsgraduatedsymbolrendererv2.h>
Public Member Functions | |
QgsRendererRangeV2 () | |
QgsRendererRangeV2 (double lowerValue, double upperValue, QgsSymbolV2 *symbol, const QString &label, bool render=true) | |
QgsRendererRangeV2 (const QgsRendererRangeV2 &range) | |
~QgsRendererRangeV2 () | |
QString | dump () const |
QString | label () const |
double | lowerValue () const |
bool | operator< (const QgsRendererRangeV2 &other) const |
QgsRendererRangeV2 & | operator= (QgsRendererRangeV2 range) |
bool | renderState () const |
void | setLabel (const QString &label) |
void | setLowerValue (double lowerValue) |
void | setRenderState (bool render) |
void | setSymbol (QgsSymbolV2 *s) |
void | setUpperValue (double upperValue) |
QgsSymbolV2 * | symbol () const |
void | toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props, bool firstRange=false) const |
Creates a DOM element representing the range in SLD format. More... | |
double | upperValue () const |
Protected Member Functions | |
void | swap (QgsRendererRangeV2 &other) |
Protected Attributes | |
QString | mLabel |
double | mLowerValue |
bool | mRender |
QScopedPointer< QgsSymbolV2 > | mSymbol |
double | mUpperValue |
Definition at line 27 of file qgsgraduatedsymbolrendererv2.h.
QgsRendererRangeV2::QgsRendererRangeV2 | ( | ) |
Definition at line 39 of file qgsgraduatedsymbolrendererv2.cpp.
QgsRendererRangeV2::QgsRendererRangeV2 | ( | double | lowerValue, |
double | upperValue, | ||
QgsSymbolV2 * | symbol, | ||
const QString & | label, | ||
bool | render = true |
||
) |
Definition at line 48 of file qgsgraduatedsymbolrendererv2.cpp.
QgsRendererRangeV2::QgsRendererRangeV2 | ( | const QgsRendererRangeV2 & | range | ) |
Definition at line 57 of file qgsgraduatedsymbolrendererv2.cpp.
|
inline |
Definition at line 34 of file qgsgraduatedsymbolrendererv2.h.
QString QgsRendererRangeV2::dump | ( | ) | const |
Definition at line 139 of file qgsgraduatedsymbolrendererv2.cpp.
QString QgsRendererRangeV2::label | ( | ) | const |
Definition at line 104 of file qgsgraduatedsymbolrendererv2.cpp.
double QgsRendererRangeV2::lowerValue | ( | ) | const |
Definition at line 89 of file qgsgraduatedsymbolrendererv2.cpp.
bool QgsRendererRangeV2::operator< | ( | const QgsRendererRangeV2 & | other | ) | const |
Definition at line 73 of file qgsgraduatedsymbolrendererv2.cpp.
QgsRendererRangeV2 & QgsRendererRangeV2::operator= | ( | QgsRendererRangeV2 | range | ) |
Definition at line 67 of file qgsgraduatedsymbolrendererv2.cpp.
bool QgsRendererRangeV2::renderState | ( | ) | const |
Definition at line 129 of file qgsgraduatedsymbolrendererv2.cpp.
void QgsRendererRangeV2::setLabel | ( | const QString & | label | ) |
Definition at line 114 of file qgsgraduatedsymbolrendererv2.cpp.
void QgsRendererRangeV2::setLowerValue | ( | double | lowerValue | ) |
Definition at line 124 of file qgsgraduatedsymbolrendererv2.cpp.
void QgsRendererRangeV2::setRenderState | ( | bool | render | ) |
Definition at line 134 of file qgsgraduatedsymbolrendererv2.cpp.
void QgsRendererRangeV2::setSymbol | ( | QgsSymbolV2 * | s | ) |
Definition at line 109 of file qgsgraduatedsymbolrendererv2.cpp.
void QgsRendererRangeV2::setUpperValue | ( | double | upperValue | ) |
Definition at line 119 of file qgsgraduatedsymbolrendererv2.cpp.
|
protected |
Definition at line 81 of file qgsgraduatedsymbolrendererv2.cpp.
QgsSymbolV2 * QgsRendererRangeV2::symbol | ( | ) | const |
Definition at line 99 of file qgsgraduatedsymbolrendererv2.cpp.
void QgsRendererRangeV2::toSld | ( | QDomDocument & | doc, |
QDomElement & | element, | ||
QgsStringMap | props, | ||
bool | firstRange = false |
||
) | const |
Creates a DOM element representing the range in SLD format.
doc | DOM document |
element | destination DOM element |
props | graduated renderer properties |
firstRange | set to true if the range is the first range, where the lower value uses a <= test rather than a < test. |
Definition at line 144 of file qgsgraduatedsymbolrendererv2.cpp.
double QgsRendererRangeV2::upperValue | ( | ) | const |
Definition at line 94 of file qgsgraduatedsymbolrendererv2.cpp.
|
protected |
Definition at line 71 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 69 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 72 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 70 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 69 of file qgsgraduatedsymbolrendererv2.h.