16#ifndef QGSCODEEDITORCOLORSCHEME_H
17#define QGSCODEEDITORCOLORSCHEME_H
65 MatchedBraceBackground,
66 MatchedBraceForeground,
74 SearchMatchBackground,
90 QString
id()
const {
return mId; }
95 QString
name()
const {
return mThemeName; }
102 QColor color( ColorRole role )
const;
109 void setColor( ColorRole role,
const QColor &color );
116 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.
QgsCodeEditorColorScheme(const QString &id=QString(), const QString &name=QString())
Constructor for QgsCodeEditorColorScheme.
QString name() const
Returns the name of the color scheme, which is the translated, user-visible name of the scheme.