QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSPROCESSINGAGGREGATEWIDGETWRAPPER_H
17 #define QGSPROCESSINGAGGREGATEWIDGETWRAPPER_H
24 #include "ui_qgsprocessingaggregatemappingpanelbase.h"
31 class GUI_EXPORT QgsProcessingAggregatePanelWidget :
public QgsPanelWidget,
private Ui::QgsProcessingAggregateMapPanelBase
36 QgsProcessingAggregatePanelWidget( QWidget *parent =
nullptr );
40 QVariant value()
const;
41 void setValue(
const QVariant &value );
54 void loadFieldsFromLayer();
56 void loadLayerFields();
62 bool mBlockChangedSignal =
false;
79 QComboBox *mParentLayerComboBox =
nullptr;
106 int stretch() const override;
114 QVariant widgetValue() const override;
116 QStringList compatibleParameterTypes() const override;
117 QStringList compatibleOutputTypes() const override;
118 QString modelerExpressionFormatString() const override;
122 QgsProcessingAggregatePanelWidget *mPanel =
nullptr;
125 friend class TestProcessingGui;
131 #endif // QGSPROCESSINGAGGREGATEWIDGETWRAPPER_H
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
Base class for the definition of processing parameters.
@ Standard
Standard algorithm dialog.
std::unique_ptr< GEOSGeometry, GeosDeleter > unique_ptr
Scoped GEOS pointer.
Contains information about the context in which a processing algorithm is executed.
WidgetType
Types of dialogs which Processing widgets can be created for.
Abstract base class for processing algorithms.
Represents a vector layer which manages a vector based data sets.
The QgsAggregateMappingModel holds mapping information for defining sets of aggregates of fields from...
Abstract interface for generating an expression context.