QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSRENDERERRANGE_H
17 #define QGSRENDERERRANGE_H
21 #include "qgis_core.h"
60 double lowerValue()
const;
61 double upperValue()
const;
64 QString label()
const;
67 void setLabel(
const QString &label );
68 void setLowerValue(
double lowerValue );
69 void setUpperValue(
double upperValue );
72 bool renderState()
const;
73 void setRenderState(
bool render );
86 void toSld( QDomDocument &doc, QDomElement &element,
QgsStringMap props,
bool firstRange =
false )
const;
89 double mLowerValue = 0, mUpperValue = 0;
116 QString
format()
const {
return mFormat; }
117 void setFormat(
const QString &format ) { mFormat = format; }
126 QString labelForRange(
double lower,
double upper )
const SIP_PYNAME( labelForLowerUpper );
128 QString formatNumber(
double value )
const;
130 void setFromDomElement( QDomElement &element );
131 void saveToDomElement( QDomElement &element );
139 bool mTrimTrailingZeroes =
false;
141 double mNumberScale = 1.0;
148 #endif // QGSRENDERERRANGE_H
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Abstract base class for all rendered symbols.
int ANALYSIS_EXPORT lower(int n, int i)
Lower function.
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
QList< QgsRendererRange > QgsRangeList
QgsClassificationRange contains the information about a classification range.
QMap< QString, QString > QgsStringMap
std::unique_ptr< QgsSymbol > mSymbol
QgsRendererRange()=default
Constructor for QgsRendererRange.