15 #ifndef QGSGRADUATEDSYMBOLRENDERERV2_H
16 #define QGSGRADUATEDSYMBOLRENDERERV2_H
21 #include <QScopedPointer>
34 double lowerValue()
const;
35 double upperValue()
const;
38 QString label()
const;
41 void setLabel( QString label );
42 void setLowerValue(
double lowerValue );
43 void setUpperValue(
double upperValue );
48 void toSld( QDomDocument& doc, QDomElement &element,
QgsStringMap props )
const;
80 virtual QString
dump()
const;
84 virtual void toSld( QDomDocument& doc, QDomElement &element )
const;
97 bool updateRangeSymbol(
int rangeIndex,
QgsSymbolV2* symbol );
98 bool updateRangeLabel(
int rangeIndex, QString label );
99 bool updateRangeUpperValue(
int rangeIndex,
double value );
100 bool updateRangeLowerValue(
int rangeIndex,
double value );
105 void deleteClass(
int idx );
106 void deleteAllClasses();
109 void moveClass(
int from,
int to );
111 void sortByValue( Qt::SortOrder order = Qt::AscendingOrder );
112 void sortByLabel( Qt::SortOrder order = Qt::AscendingOrder );
134 bool inverted =
false );
140 virtual QDomElement
save( QDomDocument& doc );
173 void setSizeScaleField( QString fieldOrExpression );
175 QString sizeScaleField()
const;
204 #endif // QGSGRADUATEDSYMBOLRENDERERV2_H