QGIS API Documentation
2.8.2-Wien
|
#include <qgsgraduatedsymbolrendererv2.h>
Public Member Functions | |
QgsRendererRangeV2LabelFormat () | |
QgsRendererRangeV2LabelFormat (QString format, int precision=4, bool trimTrailingZeroes=false) | |
QString | format () const |
QString | formatNumber (double value) const |
QString | labelForRange (double lower, double upper) const |
QString | labelForRange (const QgsRendererRangeV2 &range) const |
bool | operator!= (const QgsRendererRangeV2LabelFormat &other) const |
bool | operator== (const QgsRendererRangeV2LabelFormat &other) const |
int | precision () const |
void | saveToDomElement (QDomElement &element) |
void | setFormat (QString format) |
void | setFromDomElement (QDomElement &element) |
void | setPrecision (int precision) |
void | setTrimTrailingZeroes (bool trimTrailingZeroes) |
bool | trimTrailingZeroes () const |
Static Public Attributes | |
static int | MaxPrecision = 15 |
static int | MinPrecision = -6 |
Protected Attributes | |
QString | mFormat |
double | mNumberScale |
QString | mNumberSuffix |
int | mPrecision |
QRegExp | mReNegativeZero |
QRegExp | mReTrailingZeroes |
bool | mTrimTrailingZeroes |
Definition at line 70 of file qgsgraduatedsymbolrendererv2.h.
QgsRendererRangeV2LabelFormat::QgsRendererRangeV2LabelFormat | ( | ) |
Definition at line 176 of file qgsgraduatedsymbolrendererv2.cpp.
QgsRendererRangeV2LabelFormat::QgsRendererRangeV2LabelFormat | ( | QString | format, |
int | precision = 4 , |
||
bool | trimTrailingZeroes = false |
||
) |
Definition at line 187 of file qgsgraduatedsymbolrendererv2.cpp.
|
inline |
Definition at line 79 of file qgsgraduatedsymbolrendererv2.h.
QString QgsRendererRangeV2LabelFormat::formatNumber | ( | double | value | ) | const |
Definition at line 230 of file qgsgraduatedsymbolrendererv2.cpp.
QString QgsRendererRangeV2LabelFormat::labelForRange | ( | double | lower, |
double | upper | ||
) | const |
Definition at line 252 of file qgsgraduatedsymbolrendererv2.cpp.
QString QgsRendererRangeV2LabelFormat::labelForRange | ( | const QgsRendererRangeV2 & | range | ) | const |
Definition at line 225 of file qgsgraduatedsymbolrendererv2.cpp.
bool QgsRendererRangeV2LabelFormat::operator!= | ( | const QgsRendererRangeV2LabelFormat & | other | ) | const |
Definition at line 205 of file qgsgraduatedsymbolrendererv2.cpp.
bool QgsRendererRangeV2LabelFormat::operator== | ( | const QgsRendererRangeV2LabelFormat & | other | ) | const |
Definition at line 197 of file qgsgraduatedsymbolrendererv2.cpp.
|
inline |
Definition at line 82 of file qgsgraduatedsymbolrendererv2.h.
void QgsRendererRangeV2LabelFormat::saveToDomElement | ( | QDomElement & | element | ) |
Definition at line 272 of file qgsgraduatedsymbolrendererv2.cpp.
|
inline |
Definition at line 80 of file qgsgraduatedsymbolrendererv2.h.
void QgsRendererRangeV2LabelFormat::setFromDomElement | ( | QDomElement & | element | ) |
Definition at line 261 of file qgsgraduatedsymbolrendererv2.cpp.
void QgsRendererRangeV2LabelFormat::setPrecision | ( | int | precision | ) |
Definition at line 210 of file qgsgraduatedsymbolrendererv2.cpp.
|
inline |
Definition at line 86 of file qgsgraduatedsymbolrendererv2.h.
|
inline |
Definition at line 85 of file qgsgraduatedsymbolrendererv2.h.
|
static |
Definition at line 96 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 100 of file qgsgraduatedsymbolrendererv2.h.
|
static |
Definition at line 97 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 104 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 105 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 101 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 107 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 106 of file qgsgraduatedsymbolrendererv2.h.
|
protected |
Definition at line 102 of file qgsgraduatedsymbolrendererv2.h.