18#ifndef QGSCODEEDITORCOLORSCHEMEREGISTRY_H
19#define QGSCODEEDITORCOLORSCHEMEREGISTRY_H
71 QMap<QString, QgsCodeEditorColorScheme> mColorSchemes;
bool addColorScheme(const QgsCodeEditorColorScheme &scheme)
Adds a color scheme to the registry.
bool removeColorScheme(const QString &id)
Removes the color scheme with matching id from the registry.
QgsCodeEditorColorScheme scheme(const QString &id) const
Returns the color scheme with matching id.
QStringList schemes() const
Returns a list of the QgsCodeEditorColorScheme::id() values for all registered color schemes.
QgsCodeEditorColorSchemeRegistry()
Constructor for a color scheme registry.
Defines a color scheme for use in QgsCodeEditor widgets.