18#ifndef QGSPROCESSINGDEFAULTSTYLEREGISTRY_H
19#define QGSPROCESSINGDEFAULTSTYLEREGISTRY_H
81 static QString configFilePath();
84 QMap< QString, QMap< QString, QString > > mStyles;
void loadStyles()
Loads all saved styles from the configuration file.
QString defaultStyleForOutput(const QString &algorithmId, const QString &outputName) const
Returns the QML path to the default style to use for the specified output from an algorithm,...
void saveStyles()
Saves registered styles to the configuration file.
void setDefaultStyleForOutput(const QString &algorithmId, const QString &outputName, const QString &qmlPath)
Sets the default style for an output from an algorithm.
QgsProcessingDefaultStyleRegistry(QObject *parent=nullptr)
Constructor for QgsProcessingDefaultStyleRegistry.