18#ifndef QGSALGORITHMDISSOLVE_H
19#define QGSALGORITHMDISSOLVE_H
41class QgsDissolveAlgorithm :
public QgsCollectorAlgorithm
44 QgsDissolveAlgorithm() =
default;
45 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
47 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmDissolve.svg" ) ); }
48 QString name()
const override;
49 QString displayName()
const override;
50 QStringList tags()
const override;
51 QString group()
const override;
52 QString groupId()
const override;
53 QString shortHelpString()
const override;
55 QgsDissolveAlgorithm *createInstance() const override
SIP_FACTORY;
64class QgsCollectAlgorithm : public QgsCollectorAlgorithm
67 QgsCollectAlgorithm() =
default;
69 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmCollect.svg" ) ); }
70 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
71 QString name()
const override;
72 QString displayName()
const override;
73 QStringList tags()
const override;
74 QString group()
const override;
75 QString groupId()
const override;
76 QString shortHelpString()
const override;
78 QgsCollectAlgorithm *createInstance() const override
SIP_FACTORY;
QFlags< ProcessingAlgorithmDocumentationFlag > ProcessingAlgorithmDocumentationFlags
Flags describing algorithm behavior for documentation purposes.
QFlags< ProcessingFeatureSourceFlag > ProcessingFeatureSourceFlags
Flags which control how QgsProcessingFeatureSource fetches features.
static QIcon getThemeIcon(const QString &name, const QColor &fillColor=QColor(), const QColor &strokeColor=QColor())
Helper to get a theme icon.
static QString iconPath(const QString &iconFile)
Returns path to the desired icon file.
A geometry is the spatial representation of a feature.
Abstract base class for processing algorithms.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.