101 int addGroup(
const QString& groupName,
int parent = 0 );
126 int addTag(
const QString& tagName );
144 int colorRampCount();
154 int colorrampId(
const QString& name );
180 bool removeSymbol(
const QString& name );
183 bool renameSymbol(
const QString& oldName,
const QString& newName );
199 int symbolId(
const QString& name );
201 int groupId(
const QString& group );
203 QString groupName(
int groupId )
const;
205 int tagId(
const QString& tag );
207 int smartgroupId(
const QString& smartgroup );
276 bool removeColorRamp(
const QString& name );
279 bool renameColorRamp(
const QString& oldName,
const QString& newName );
282 bool load(
const QString& filename );
320 QString smartgroupOperator(
int id );
326 bool exportXML(
const QString& filename );
329 bool importXML(
const QString& filename );
347 bool openDB(
const QString& filename );
353 bool runEmptyQuery(
char* query,
bool freeQuery =
true );
356 char* getGroupRemoveQuery(
int id );
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.
Abstract base class for color ramps.
QString errorString()
return last error from load/save operation
QMultiMap< QString, QString > QgsSmartConditionMap
A multimap to hold the smart group conditions as constraint and parameter pairs.