16#ifndef QGSPROCESSINGPARAMETERSWIDGET_H
17#define QGSPROCESSINGPARAMETERSWIDGET_H
21#include "ui_qgsprocessingparameterswidgetbase.h"
49 virtual void initWidgets();
55 void addOutputWidget( QWidget *widget
SIP_TRANSFER,
int stretch = 0 );
62 friend class TestProcessingGui;
Abstract base class for processing algorithms.
Base class for the definition of processing parameters.
An interface for objects which can create sets of parameter values for processing algorithms.
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