98 int addGroup(
const QString& groupName,
int parent = 0 );
123 int addTag(
const QString& tagName );
135 int colorRampCount();
145 int colorrampId(
const QString& name );
171 bool removeSymbol(
const QString& name );
174 bool renameSymbol(
const QString& oldName,
const QString& newName );
190 int symbolId(
const QString& name );
192 int groupId(
const QString& group );
194 QString groupName(
int groupId )
const;
196 int tagId(
const QString& tag );
198 int smartgroupId(
const QString& smartgroup );
267 bool removeColorRamp(
const QString& name );
270 bool renameColorRamp(
const QString& oldName,
const QString& newName );
273 bool load(
const QString& filename );
311 QString smartgroupOperator(
int id );
317 bool exportXML(
const QString& filename );
320 bool importXML(
const QString& filename );
338 bool openDB(
const QString& filename );
344 bool runEmptyQuery(
char* query,
bool freeQuery =
true );
347 char* getGroupRemoveQuery(
int id );
QMultiMap< QString, QString > QgsSmartConditionMap
QString fileName()
return current file name of the style
static QgsStyleV2 * mDefaultStyle
QMap< int, QString > QgsSymbolGroupMap
QMap< QString, QgsVectorColorRampV2 * > QgsVectorColorRampV2Map
QgsVectorColorRampV2Map mColorRamps
StyleEntity
Enum for Entities involved in a style.
QString errorString()
return last error from load/save operation