19 #ifndef QGSPROCESSINGPARAMETERDEFINITIONWIDGET_H
20 #define QGSPROCESSINGPARAMETERDEFINITIONWIDGET_H
172 QLineEdit *mDescriptionLineEdit =
nullptr;
173 QCheckBox *mRequiredCheckBox =
nullptr;
174 QCheckBox *mAdvancedCheckBox =
nullptr;
226 void setComments(
const QString &comments );
233 QString comments()
const;
240 void setCommentColor(
const QColor &color );
247 QColor commentColor()
const;
252 void switchToCommentTab();
263 void accept()
override;
267 QTabWidget *mTabWidget =
nullptr;
268 QTextEdit *mCommentEdit =
nullptr;
Abstract interface for generating an expression context.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Abstract base class for processing algorithms.
An interface for objects which can create Processing contexts.
Contains information about the context in which a processing algorithm is executed.
A dialog which allow users to specify the properties of a Processing parameter.
Base class for the definition of processing parameters.
Contains settings which reflect the context in which a Processing parameter widget is shown,...
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into allowing algorithms to be written in pure substantial changes are required in order to port existing x Processing algorithms for QGIS x The most significant changes are outlined not GeoAlgorithm For algorithms which operate on features one by consider subclassing the QgsProcessingFeatureBasedAlgorithm class This class allows much of the boilerplate code for looping over features from a vector layer to be bypassed and instead requires implementation of a processFeature method Ensure that your algorithm(or algorithm 's parent class) implements the new pure virtual createInstance(self) call