QGIS API Documentation  3.20.0-Odense (decaadbb31)
Classes | Macros | Typedefs | Enumerations
qgsstyle.h File Reference
#include "qgis_core.h"
#include "qgis.h"
#include <QMap>
#include <QMultiMap>
#include <QString>
#include <sqlite3.h>
#include "qgssqliteutils.h"
#include "qgssymbollayerutils.h"
#include "qgstextformat.h"
#include "qgspallabeling.h"
#include "layertree/qgslegendpatchshape.h"
Include dependency graph for qgsstyle.h:

Go to the source code of this file.

Classes

class  QgsStyle
 
class  QgsStyleColorRampEntity
 A color ramp entity for QgsStyle databases. More...
 
class  QgsStyleEntityInterface
 An interface for entities which can be placed in a QgsStyle database. More...
 
class  QgsStyleLabelSettingsEntity
 A label settings entity for QgsStyle databases. More...
 
class  QgsStyleLegendPatchShapeEntity
 A legend patch shape entity for QgsStyle databases. More...
 
class  QgsStyleSymbol3DEntity
 A 3d symbol entity for QgsStyle databases. More...
 
class  QgsStyleSymbolEntity
 A symbol entity for QgsStyle databases. More...
 
class  QgsStyleTextFormatEntity
 A text format entity for QgsStyle databases. More...
 

Macros

#define QGSCLIPBOARD_STYLE_MIME   "application/qgis.style"
 

Typedefs

typedef QMap< QString, QgsPalLayerSettingsQgsLabelSettingsMap
 Map of name to label settings. More...
 
typedef QMultiMap< QString, QString > QgsSmartConditionMap
 A multimap to hold the smart group conditions as constraint and parameter pairs. More...
 
typedef QMap< int, QString > QgsSymbolGroupMap
 
typedef QMap< QString, QgsTextFormatQgsTextFormatMap
 Map of name to text format. More...
 
typedef QMap< QString, QgsColorRamp * > QgsVectorColorRampMap
 

Enumerations

enum  ColorrampTable { ColorrampId , ColorrampName , ColorrampXML , ColorrampFavoriteId }
 Columns available in the color ramp table. More...
 
enum  LabelSettingsTable { LabelSettingsId , LabelSettingsName , LabelSettingsXML , LabelSettingsFavoriteId }
 Columns available in the label settings table. More...
 
enum  SmartgroupTable { SmartgroupId , SmartgroupName , SmartgroupXML }
 Columns available in the smart group table. More...
 
enum  SymbolTable { SymbolId , SymbolName , SymbolXML , SymbolFavoriteId }
 Columns available in the Symbols table. More...
 
enum  TagmapTable { TagmapTagId , TagmapSymbolId }
 Columns available in the tag to symbol table. More...
 
enum  TagTable { TagId , TagName }
 Columns available in the Tags table. More...
 
enum  TextFormatTable { TextFormatId , TextFormatName , TextFormatXML , TextFormatFavoriteId }
 Columns available in the text format table. More...
 

Macro Definition Documentation

◆ QGSCLIPBOARD_STYLE_MIME

#define QGSCLIPBOARD_STYLE_MIME   "application/qgis.style"

Definition at line 59 of file qgsstyle.h.

Typedef Documentation

◆ QgsLabelSettingsMap

typedef QMap<QString, QgsPalLayerSettings > QgsLabelSettingsMap

Map of name to label settings.

Since
QGIS 3.10

Definition at line 54 of file qgsstyle.h.

◆ QgsSymbolGroupMap

typedef QMap<int, QString> QgsSymbolGroupMap

Definition at line 42 of file qgsstyle.h.

◆ QgsTextFormatMap

typedef QMap<QString, QgsTextFormat > QgsTextFormatMap

Map of name to text format.

Since
QGIS 3.10

Definition at line 48 of file qgsstyle.h.

◆ QgsVectorColorRampMap

typedef QMap<QString, QgsColorRamp * > QgsVectorColorRampMap

Definition at line 41 of file qgsstyle.h.

Enumeration Type Documentation

◆ ColorrampTable

Columns available in the color ramp table.

Enumerator
ColorrampId 

Color ramp ID.

ColorrampName 

Color ramp name.

ColorrampXML 

Color ramp definition (as XML)

ColorrampFavoriteId 

Color ramp is favorite flag.

Definition at line 115 of file qgsstyle.h.

◆ LabelSettingsTable

Columns available in the label settings table.

Enumerator
LabelSettingsId 

Label settings ID.

LabelSettingsName 

Label settings name.

LabelSettingsXML 

Label settings definition (as XML)

LabelSettingsFavoriteId 

Label settings is favorite flag.

Definition at line 137 of file qgsstyle.h.

◆ SmartgroupTable

Columns available in the smart group table.

Enumerator
SmartgroupId 

Smart group ID.

SmartgroupName 

Smart group name.

SmartgroupXML 

Smart group definition (as XML)

Definition at line 148 of file qgsstyle.h.

◆ SymbolTable

Columns available in the Symbols table.

Enumerator
SymbolId 

Symbol ID.

SymbolName 

Symbol Name.

SymbolXML 

Symbol definition (as XML)

SymbolFavoriteId 

Symbol is favorite flag.

Definition at line 86 of file qgsstyle.h.

◆ TagmapTable

Columns available in the tag to symbol table.

Enumerator
TagmapTagId 

Tag ID.

TagmapSymbolId 

Symbol ID.

Definition at line 106 of file qgsstyle.h.

◆ TagTable

enum TagTable

Columns available in the Tags table.

Enumerator
TagId 

Tag ID.

TagName 

Tag name.

Definition at line 97 of file qgsstyle.h.

◆ TextFormatTable

Columns available in the text format table.

Enumerator
TextFormatId 

Text format ID.

TextFormatName 

Text format name.

TextFormatXML 

Text format definition (as XML)

TextFormatFavoriteId 

Text format is favorite flag.

Definition at line 126 of file qgsstyle.h.