16#ifndef QGSCODEEDITORCOLORSCHEME_H
17#define QGSCODEEDITORCOLORSCHEME_H
65 MatchedBraceBackground,
66 MatchedBraceForeground,
89 QString
id()
const {
return mId; }
94 QString
name()
const {
return mThemeName; }
101 QColor color( ColorRole role )
const;
108 void setColor( ColorRole role,
const QColor &color );
115 void setColors(
const QMap< ColorRole, QColor > &colors )
SIP_SKIP;
121 QMap< ColorRole, QColor > mColors;
Defines a color scheme for use in QgsCodeEditor widgets.
QString id() const
Returns the ID of the color scheme, which is a unique, non-translated identifier for the scheme.
QString name() const
Returns the name of the color scheme, which is the translated, user-visible name of the scheme.