15 #ifndef QGSCATEGORIZEDSYMBOLRENDERERV2_H
16 #define QGSCATEGORIZEDSYMBOLRENDERERV2_H
42 QVariant value()
const;
44 QString label()
const;
46 void setValue(
const QVariant &value );
48 void setLabel(
const QString &label );
53 void toSld( QDomDocument& doc, QDomElement &element,
QgsStringMap props )
const;
79 virtual QString
dump()
const;
83 virtual void toSld( QDomDocument& doc, QDomElement &element )
const;
96 int categoryIndexForValue( QVariant val );
98 bool updateCategoryValue(
int catIndex,
const QVariant &value );
99 bool updateCategorySymbol(
int catIndex,
QgsSymbolV2* symbol );
100 bool updateCategoryLabel(
int catIndex, QString label );
103 bool deleteCategory(
int catIndex );
104 void deleteAllCategories();
107 void moveCategory(
int from,
int to );
109 void sortByValue( Qt::SortOrder order = Qt::AscendingOrder );
110 void sortByLabel( Qt::SortOrder order = Qt::AscendingOrder );
119 virtual QDomElement
save( QDomDocument& doc );
175 #endif // QGSCATEGORIZEDSYMBOLRENDERERV2_H