18#ifndef QGSALGORITHMDISSOLVE_H
19#define QGSALGORITHMDISSOLVE_H
38 bool separateDisjoint =
false );
44class QgsDissolveAlgorithm :
public QgsCollectorAlgorithm
49 QgsDissolveAlgorithm() =
default;
50 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
52 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmDissolve.svg" ) ); }
53 QString name()
const override;
54 QString displayName()
const override;
55 QStringList tags()
const override;
56 QString group()
const override;
57 QString groupId()
const override;
58 QString shortHelpString()
const override;
60 QgsDissolveAlgorithm *createInstance() const override
SIP_FACTORY;
64 QVariantMap processAlgorithm( const QVariantMap ¶meters,
72class QgsCollectAlgorithm : public QgsCollectorAlgorithm
77 QgsCollectAlgorithm() =
default;
79 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmCollect.svg" ) ); }
80 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
81 QString name()
const override;
82 QString displayName()
const override;
83 QStringList tags()
const override;
84 QString group()
const override;
85 QString groupId()
const override;
86 QString shortHelpString()
const override;
88 QgsCollectAlgorithm *createInstance() const override
SIP_FACTORY;
92 QVariantMap processAlgorithm( const QVariantMap ¶meters,
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.