19#ifndef QGSPROCESSINGWIDGETWRAPPERIMPL_H
20#define QGSPROCESSINGWIDGETWRAPPERIMPL_H
31#include <QAbstractButton>
43class QgsProcessingMatrixParameterPanel;
65class QgsProcessingEnumModelerWidget;
66class QgsProcessingMatrixModelerWidget;
67class QgsProcessingMapLayerComboBox;
70class QgsProcessingLayerOutputDestinationWidget;
73class QgsProcessingPointCloudExpressionLineEdit;
90 QCheckBox *mDefaultCheckBox =
nullptr;
104 QString parameterType()
const override;
119 QVariant widgetValue() const override;
121 QStringList compatibleParameterTypes() const override;
123 QStringList compatibleOutputTypes() const override;
127 QCheckBox *mCheckBox =
nullptr;
128 QComboBox *mComboBox =
nullptr;
130 friend class TestProcessingGui;
161 QString parameterType()
const override;
175 QVariant widgetValue() const override;
177 QStringList compatibleParameterTypes() const override;
178 QStringList compatibleOutputTypes() const override;
179 QString modelerExpressionFormatString() const override;
184 QCheckBox *mUseProjectCrsCheckBox =
nullptr;
186 friend class TestProcessingGui;
204 QLineEdit *mDefaultLineEdit =
nullptr;
205 QCheckBox *mMultiLineCheckBox =
nullptr;
219 QString parameterType()
const override;
233 QVariant widgetValue() const override;
235 QStringList compatibleParameterTypes() const override;
237 QStringList compatibleOutputTypes() const override;
240 QLineEdit *mLineEdit =
nullptr;
241 QComboBox *mComboBox =
nullptr;
242 QPlainTextEdit *mPlainTextEdit =
nullptr;
244 friend class TestProcessingGui;
258 QString parameterType()
const override;
267 QVariant widgetValue() const override;
269 QStringList compatibleParameterTypes() const override;
271 QStringList compatibleOutputTypes() const override;
276 friend class TestProcessingGui;
293 QComboBox *mTypeComboBox =
nullptr;
294 QLineEdit *mMinLineEdit =
nullptr;
295 QLineEdit *mMaxLineEdit =
nullptr;
296 QLineEdit *mDefaultLineEdit =
nullptr;
311 QString parameterType()
const override;
325 QVariant widgetValue() const override;
327 QStringList compatibleParameterTypes() const override;
329 QStringList compatibleOutputTypes() const override;
338 static
double calculateStep(
double minimum,
double maximum );
340 bool mAllowingNull = false;
342 friend class TestProcessingGui;
359 QComboBox *mParentLayerComboBox =
nullptr;
360 QLineEdit *mMinLineEdit =
nullptr;
361 QLineEdit *mMaxLineEdit =
nullptr;
362 QLineEdit *mDefaultLineEdit =
nullptr;
366class GUI_EXPORT QgsProcessingDistanceWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
376 QString parameterType()
const override;
389 void setUnitParameterValue( const QVariant &value );
390 void setUnits(
Qgis::DistanceUnit unit );
394 QVariant widgetValue() const override;
398 Qgis::DistanceUnit mBaseUnit =
Qgis::DistanceUnit::Unknown;
399 QLabel *mLabel =
nullptr;
400 QWidget *mWarningLabel =
nullptr;
401 QComboBox *mUnitsCombo =
nullptr;
403 friend class TestProcessingGui;
420 QLineEdit *mMinLineEdit =
nullptr;
421 QLineEdit *mMaxLineEdit =
nullptr;
422 QLineEdit *mDefaultLineEdit =
nullptr;
423 QComboBox *mUnitsCombo =
nullptr;
427class GUI_EXPORT QgsProcessingDurationWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
437 QString parameterType()
const override;
451 QVariant widgetValue() const override;
456 Qgis::TemporalUnit mBaseUnit =
Qgis::TemporalUnit::Milliseconds;
457 QComboBox *mUnitsCombo =
nullptr;
459 friend class TestProcessingGui;
475 QLineEdit *mDefaultLineEdit =
nullptr;
479class GUI_EXPORT QgsProcessingScaleWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
489 QString parameterType()
const override;
502 QVariant widgetValue() const override;
509 friend class TestProcessingGui;
526 QComboBox *mTypeComboBox =
nullptr;
527 QLineEdit *mMinLineEdit =
nullptr;
528 QLineEdit *mMaxLineEdit =
nullptr;
542 QString parameterType()
const override;
556 QVariant widgetValue() const override;
557 QStringList compatibleParameterTypes() const override;
558 QStringList compatibleOutputTypes() const override;
559 QString modelerExpressionFormatString() const override;
568 int mBlockChangedSignal = 0;
569 bool mAllowingNull = false;
571 friend class TestProcessingGui;
587 QgsProcessingMatrixModelerWidget *mMatrixWidget =
nullptr;
601 QString parameterType()
const override;
615 QVariant widgetValue() const override;
617 QStringList compatibleParameterTypes() const override;
618 QStringList compatibleOutputTypes() const override;
619 QString modelerExpressionFormatString() const override;
623 QgsProcessingMatrixParameterPanel *mMatrixWidget =
nullptr;
625 friend class TestProcessingGui;
641 QComboBox *mTypeComboBox =
nullptr;
642 QComboBox *mFilterComboBox =
nullptr;
657 QString parameterType()
const override;
671 QVariant widgetValue() const override;
673 QStringList compatibleParameterTypes() const override;
675 QStringList compatibleOutputTypes() const override;
676 QString modelerExpressionFormatString() const override;
682 friend class TestProcessingGui;
700 QComboBox *mParentLayerComboBox =
nullptr;
702 QgsProcessingPointCloudExpressionLineEdit *mDefaultPointCloudLineEdit =
nullptr;
703 QComboBox *mExpressionTypeComboBox =
nullptr;
717 QString parameterType()
const override;
735 QVariant widgetValue() const override;
737 QStringList compatibleParameterTypes() const override;
739 QStringList compatibleOutputTypes() const override;
741 QString modelerExpressionFormatString() const override;
748 QgsProcessingPointCloudExpressionLineEdit *mPointCloudExpLineEdit =
nullptr;
751 friend class TestProcessingGui;
755class GUI_EXPORT QgsProcessingEnumCheckboxPanelWidget : public QWidget
761 QgsProcessingEnumCheckboxPanelWidget( QWidget *parent =
nullptr,
const QgsProcessingParameterEnum *param =
nullptr,
int columns = 2 );
762 QVariant value()
const;
763 void setValue(
const QVariant &value );
771 void showPopupMenu();
778 QMap< QVariant, QAbstractButton * > mButtons;
779 QButtonGroup *mButtonGroup =
nullptr;
781 bool mBlockChangedSignal =
false;
783 friend class TestProcessingGui;
786class GUI_EXPORT QgsProcessingEnumPanelWidget :
public QWidget
793 QVariant value()
const {
return mValue; }
794 void setValue(
const QVariant &value );
806 void updateSummaryText();
809 QLineEdit *mLineEdit =
nullptr;
810 QToolButton *mToolButton =
nullptr;
814 friend class TestProcessingGui;
830 QgsProcessingEnumModelerWidget *mEnumWidget =
nullptr;
844 QString parameterType()
const override;
858 QVariant widgetValue() const override;
860 QStringList compatibleParameterTypes() const override;
862 QStringList compatibleOutputTypes() const override;
864 QString modelerExpressionFormatString() const override;
867 QComboBox *mComboBox =
nullptr;
868 QgsProcessingEnumPanelWidget *mPanel =
nullptr;
869 QgsProcessingEnumCheckboxPanelWidget *mCheckboxPanel =
nullptr;
871 friend class TestProcessingGui;
886 QString parameterType()
const override;
895 QVariant widgetValue() const override;
898 QStringList compatibleParameterTypes() const override;
900 QStringList compatibleOutputTypes() const override;
902 QString modelerExpressionFormatString() const override;
906 QComboBox *mPlainComboBox =
nullptr;
908 friend class TestProcessingGui;
926 QComboBox *mParentLayoutComboBox =
nullptr;
940 QString parameterType()
const override;
954 void setLayoutParameterValue( const QVariant &value );
960 QVariant widgetValue() const override;
962 QStringList compatibleParameterTypes() const override;
964 QStringList compatibleOutputTypes() const override;
965 QString modelerExpressionFormatString() const override;
969 QLineEdit *mLineEdit =
nullptr;
971 friend class TestProcessingGui;
974class GUI_EXPORT QgsProcessingPointMapTool : public
QgsMapTool
979 ~QgsProcessingPointMapTool()
override;
980 void deactivate()
override;
983 void keyPressEvent( QKeyEvent *e )
override;
992 std::unique_ptr<QgsSnapIndicator> mSnapIndicator;
993 friend class TestProcessingGui;
996class GUI_EXPORT QgsProcessingPointPanel :
public QWidget
1002 QgsProcessingPointPanel( QWidget *parent );
1004 void setAllowNull(
bool allowNull );
1006 QVariant value()
const;
1012 void toggleDialogVisibility(
bool visible );
1017 void selectOnCanvas();
1024 QToolButton *mButton =
nullptr;
1027 QPointer< QgsMapTool > mPrevTool;
1028 std::unique_ptr< QgsProcessingPointMapTool > mTool;
1029 friend class TestProcessingGui;
1046 QLineEdit *mDefaultLineEdit =
nullptr;
1060 QString parameterType()
const override;
1071 void setDialog( QDialog *dialog ) override;
1076 QVariant widgetValue() const override;
1078 QStringList compatibleParameterTypes() const override;
1080 QStringList compatibleOutputTypes() const override;
1081 QString modelerExpressionFormatString() const override;
1084 QgsProcessingPointPanel *mPanel =
nullptr;
1085 QLineEdit *mLineEdit =
nullptr;
1086 QDialog *mDialog =
nullptr;
1088 friend class TestProcessingGui;
1104 QLineEdit *mDefaultLineEdit =
nullptr;
1118 QString parameterType()
const override;
1132 QVariant widgetValue() const override;
1134 QStringList compatibleParameterTypes() const override;
1136 QStringList compatibleOutputTypes() const override;
1137 QString modelerExpressionFormatString() const override;
1140 QLineEdit *mLineEdit =
nullptr;
1142 friend class TestProcessingGui;
1172 QString parameterType()
const override;
1183 void setDialog( QDialog *dialog ) override;
1188 QVariant widgetValue() const override;
1190 QStringList compatibleParameterTypes() const override;
1192 QStringList compatibleOutputTypes() const override;
1193 QString modelerExpressionFormatString() const override;
1197 QDialog *mDialog =
nullptr;
1199 friend class TestProcessingGui;
1216 QCheckBox *mAllowOpacity =
nullptr;
1230 QString parameterType()
const override;
1244 QVariant widgetValue() const override;
1246 QStringList compatibleParameterTypes() const override;
1248 QStringList compatibleOutputTypes() const override;
1249 QString modelerExpressionFormatString() const override;
1253 friend class TestProcessingGui;
1271 QLineEdit *mDefaultLineEdit =
nullptr;
1273 QComboBox *mSourceParamComboBox =
nullptr;
1274 QComboBox *mDestParamComboBox =
nullptr;
1292 QString parameterType()
const override;
1307 QVariant widgetValue() const override;
1309 QStringList compatibleParameterTypes() const override;
1311 QStringList compatibleOutputTypes() const override;
1312 QString modelerExpressionFormatString() const override;
1315 void setSourceCrsParameterValue( const QVariant &value );
1316 void setDestinationCrsParameterValue( const QVariant &value );
1320 QLineEdit *mLineEdit =
nullptr;
1323 friend class TestProcessingGui;
1326class GUI_EXPORT QgsProcessingFieldPanelWidget : public QWidget
1334 void setFields(
const QgsFields &fields );
1336 QgsFields fields()
const {
return mFields; }
1338 QVariant value()
const {
return mValue; }
1339 void setValue(
const QVariant &value );
1351 void updateSummaryText();
1356 QLineEdit *mLineEdit =
nullptr;
1357 QToolButton *mToolButton =
nullptr;
1359 QVariantList mValue;
1361 friend class TestProcessingGui;
1377 QComboBox *mParentLayerComboBox =
nullptr;
1378 QComboBox *mDataTypeComboBox =
nullptr;
1379 QLineEdit *mDefaultLineEdit =
nullptr;
1380 QCheckBox *mAllowMultipleCheckBox =
nullptr;
1381 QCheckBox *mDefaultToAllCheckBox =
nullptr;
1394 QString parameterType()
const override;
1412 QVariant widgetValue() const override;
1414 QStringList compatibleParameterTypes() const override;
1416 QStringList compatibleOutputTypes() const override;
1417 QString modelerExpressionFormatString() const override;
1423 QgsProcessingFieldPanelWidget *mPanel =
nullptr;
1424 QLineEdit *mLineEdit =
nullptr;
1430 friend class TestProcessingGui;
1447 QComboBox *mDefaultComboBox =
nullptr;
1461 QString parameterType()
const override;
1475 QVariant widgetValue() const override;
1477 QStringList compatibleParameterTypes() const override;
1479 QStringList compatibleOutputTypes() const override;
1480 QString modelerExpressionFormatString() const override;
1484 QComboBox *mComboBox =
nullptr;
1486 friend class TestProcessingGui;
1503 QComboBox *mTypeComboBox =
nullptr;
1517 QString parameterType()
const override;
1531 QVariant widgetValue() const override;
1533 QStringList compatibleParameterTypes() const override;
1534 QStringList compatibleOutputTypes() const override;
1535 QString modelerExpressionFormatString() const override;
1543 friend class TestProcessingGui;
1565 QComboBox *mProviderComboBox =
nullptr;
1566 QLineEdit *mDefaultEdit =
nullptr;
1580 QString parameterType()
const override;
1595 QVariant widgetValue() const override;
1597 QStringList compatibleParameterTypes() const override;
1599 QStringList compatibleOutputTypes() const override;
1600 QString modelerExpressionFormatString() const override;
1605 int mBlockSignals = 0;
1607 friend class TestProcessingGui;
1625 QComboBox *mConnectionParamComboBox =
nullptr;
1626 QLineEdit *mDefaultEdit =
nullptr;
1640 QString parameterType()
const override;
1642 void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers )
override;
1659 QVariant widgetValue() const override;
1661 QStringList compatibleParameterTypes() const override;
1663 QStringList compatibleOutputTypes() const override;
1664 QString modelerExpressionFormatString() const override;
1669 int mBlockSignals = 0;
1671 friend class TestProcessingGui;
1690 QComboBox *mConnectionParamComboBox =
nullptr;
1691 QComboBox *mSchemaParamComboBox =
nullptr;
1692 QLineEdit *mDefaultEdit =
nullptr;
1706 QString parameterType()
const override;
1708 void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers )
override;
1726 QVariant widgetValue() const override;
1728 QStringList compatibleParameterTypes() const override;
1730 QStringList compatibleOutputTypes() const override;
1731 QString modelerExpressionFormatString() const override;
1736 int mBlockSignals = 0;
1737 QString mConnection;
1741 friend class TestProcessingGui;
1770 QString parameterType()
const override;
1784 QVariant widgetValue() const override;
1786 QStringList compatibleParameterTypes() const override;
1788 QStringList compatibleOutputTypes() const override;
1789 QString modelerExpressionFormatString() const override;
1794 QPointer< QgsProcessingMapLayerComboBox > mComboBox;
1795 int mBlockSignals = 0;
1797 friend class TestProcessingGui;
1801class GUI_EXPORT QgsProcessingRasterLayerWidgetWrapper : public QgsProcessingMapLayerWidgetWrapper
1811 QString parameterType()
const override;
1820 QStringList compatibleParameterTypes()
const override;
1822 QStringList compatibleOutputTypes()
const override;
1824 QString modelerExpressionFormatString()
const override;
1845class GUI_EXPORT QgsProcessingVectorLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1855 QString parameterType()
const override;
1864 QStringList compatibleParameterTypes()
const override;
1866 QStringList compatibleOutputTypes()
const override;
1868 QString modelerExpressionFormatString()
const override;
1889class GUI_EXPORT QgsProcessingFeatureSourceWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1899 QString parameterType()
const override;
1908 QStringList compatibleParameterTypes()
const override;
1910 QStringList compatibleOutputTypes()
const override;
1912 QString modelerExpressionFormatString()
const override;
1917class GUI_EXPORT QgsProcessingMeshLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1927 QString parameterType()
const override;
1936 QStringList compatibleParameterTypes()
const override;
1938 QStringList compatibleOutputTypes()
const override;
1940 QString modelerExpressionFormatString()
const override;
1945class GUI_EXPORT QgsProcessingRasterBandPanelWidget :
public QWidget
1953 void setBands(
const QList< int > &bands );
1954 void setBandNames(
const QHash<int, QString > &names );
1955 QList< int > bands()
const {
return mBands; }
1957 QVariant value()
const {
return mValue; }
1958 void setValue(
const QVariant &value );
1970 void updateSummaryText();
1972 QList< int > mBands;
1973 QHash<int, QString > mBandNames;
1976 QLineEdit *mLineEdit =
nullptr;
1977 QToolButton *mToolButton =
nullptr;
1979 QVariantList mValue;
1981 friend class TestProcessingGui;
1997 QComboBox *mParentLayerComboBox =
nullptr;
1998 QLineEdit *mDefaultLineEdit =
nullptr;
1999 QCheckBox *mAllowMultipleCheckBox =
nullptr;
2012 QString parameterType()
const override;
2030 QVariant widgetValue() const override;
2032 QStringList compatibleParameterTypes() const override;
2034 QStringList compatibleOutputTypes() const override;
2035 QString modelerExpressionFormatString() const override;
2040 QgsProcessingRasterBandPanelWidget *mPanel =
nullptr;
2041 QLineEdit *mLineEdit =
nullptr;
2045 friend class TestProcessingGui;
2050class GUI_EXPORT QgsProcessingMultipleLayerPanelWidget : public QWidget
2058 QVariant value()
const {
return mValue; }
2059 void setValue(
const QVariant &value );
2062 void setModel( QgsProcessingModelAlgorithm *model,
const QString &modelChildAlgorithmID );
2074 void updateSummaryText();
2077 QLineEdit *mLineEdit =
nullptr;
2078 QToolButton *mToolButton =
nullptr;
2080 QVariantList mValue;
2081 QList< QgsProcessingModelChildParameterSource > mModelSources;
2082 QgsProcessingModelAlgorithm *mModel =
nullptr;
2086 friend class TestProcessingGui;
2102 QComboBox *mLayerTypeComboBox =
nullptr;
2115 QString parameterType()
const override;
2130 QVariant widgetValue() const override;
2132 QStringList compatibleParameterTypes() const override;
2134 QStringList compatibleOutputTypes() const override;
2135 QString modelerExpressionFormatString() const override;
2139 QgsProcessingMultipleLayerPanelWidget *mPanel =
nullptr;
2141 friend class TestProcessingGui;
2160 QVariant widgetValue() const override;
2161 QVariantMap customProperties() const override;
2163 QStringList compatibleParameterTypes() const override;
2165 QStringList compatibleOutputTypes() const override;
2169 QgsProcessingLayerOutputDestinationWidget *mOutputWidget =
nullptr;
2170 int mBlockSignals = 0;
2172 friend class TestProcessingGui;
2176class GUI_EXPORT QgsProcessingFeatureSinkWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2186 QString parameterType()
const override;
2190 QString modelerExpressionFormatString()
const override;
2197class GUI_EXPORT QgsProcessingVectorDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2207 QString parameterType()
const override;
2211 QString modelerExpressionFormatString()
const override;
2215class GUI_EXPORT QgsProcessingRasterDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2225 QString parameterType()
const override;
2229 QString modelerExpressionFormatString()
const override;
2233class GUI_EXPORT QgsProcessingPointCloudDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2243 QString parameterType()
const override;
2247 QString modelerExpressionFormatString()
const override;
2251class GUI_EXPORT QgsProcessingFileDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2261 QString parameterType()
const override;
2265 QString modelerExpressionFormatString()
const override;
2269class GUI_EXPORT QgsProcessingFolderDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2279 QString parameterType()
const override;
2283 QString modelerExpressionFormatString()
const override;
2287class GUI_EXPORT QgsProcessingPointCloudLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
2297 QString parameterType()
const override;
2306 QStringList compatibleParameterTypes()
const override;
2308 QStringList compatibleOutputTypes()
const override;
2310 QString modelerExpressionFormatString()
const override;
2325 QString parameterType()
const override;
2338 QVariant widgetValue() const override;
2340 QStringList compatibleParameterTypes() const override;
2342 QStringList compatibleOutputTypes() const override;
2344 QString modelerExpressionFormatString() const override;
2349 int mBlockSignals = 0;
2351 friend class TestProcessingGui;
2355class GUI_EXPORT QgsProcessingPointCloudAttributePanelWidget : public QWidget
2367 QVariant value()
const {
return mValue; }
2368 void setValue(
const QVariant &value );
2380 void updateSummaryText();
2385 QLineEdit *mLineEdit =
nullptr;
2386 QToolButton *mToolButton =
nullptr;
2388 QVariantList mValue;
2390 friend class TestProcessingGui;
2406 QComboBox *mParentLayerComboBox =
nullptr;
2407 QLineEdit *mDefaultLineEdit =
nullptr;
2408 QCheckBox *mAllowMultipleCheckBox =
nullptr;
2409 QCheckBox *mDefaultToAllCheckBox =
nullptr;
2422 QString parameterType()
const override;
2440 QVariant widgetValue() const override;
2442 QStringList compatibleParameterTypes() const override;
2444 QStringList compatibleOutputTypes() const override;
2445 QString modelerExpressionFormatString() const override;
2450 QgsProcessingPointCloudAttributePanelWidget *mPanel =
nullptr;
2451 QLineEdit *mLineEdit =
nullptr;
2455 friend class TestProcessingGui;
2458class GUI_EXPORT QgsProcessingVectorTileDestinationWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2468 QString parameterType()
const override;
2472 QString modelerExpressionFormatString()
const override;
The Qgis class provides global constants for use throughout the application.
Selector widget for authentication configs.
QComboBox subclass which allows selecting multiple items.
This class represents a coordinate reference system (CRS).
The QgsDatabaseSchemaComboBox class is a combo box which displays the list of schemas for a specific ...
The QgsDatabaseTableComboBox class is a combo box which displays the list of tables for a specific da...
The QgsDateEdit class is a QDateEdit widget with the capability of setting/reading null dates.
The QgsDateTimeEdit class is a QDateTimeEdit with the capability of setting/reading null date/times.
The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value.
The QgsExpressionLineEdit widget includes a line edit for entering expressions together with a button...
The QgsFieldComboBox is a combo box which displays the list of fields of a given layer.
Container of fields for a vector layer.
QLineEdit subclass with built in support for clearing the widget's value and handling custom null val...
The QgsLayoutComboBox class is a combo box which displays available layouts from a QgsLayoutManager.
The QgsLayoutItemComboBox class is a combo box which displays items of a matching type from a layout.
Map canvas is a class for displaying all GIS data types on a canvas.
The QgsMapLayerComboBox class is a combo box which displays the list of layers.
Base class for all map layer types.
A QgsMapMouseEvent is the result of a user interaction with the mouse on a QgsMapCanvas.
Collection of point cloud attributes.
The QgsPointCloudAttributeComboBox is a combo box which displays the list of attributes of a given po...
Represents a map layer supporting display of point clouds.
A class to represent a 2D point.
Print layout, a QgsLayout subclass for static or atlas-based layouts.
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.
WidgetType
Types of dialogs which Processing widgets can be created for.
@ Standard
Standard algorithm dialog.
A raster band parameter for Processing algorithms.
Base class for the definition of processing parameters.
An enum based parameter for processing algorithms, allowing for selection from predefined values.
A vector layer or feature source field parameter for processing algorithms.
A parameter for processing algorithms which accepts multiple map layers.
A point cloud layer attribute parameter for Processing algorithms.
Contains settings which reflect the context in which a Processing parameter widget is shown,...
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
The QgsProviderConnectionComboBox class is a combo box which displays the list of connections registe...
A combobox widget which displays the bands present in a raster layer.
Represents a raster layer.
Class that shows snapping marker on map canvas for the current snapping match.
The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value.
The QgsTimeEdit class is a QTimeEdit widget with the capability of setting/reading null date/times.
Represents a vector layer which manages a vector based data sets.
std::unique_ptr< GEOSGeometry, GeosDeleter > unique_ptr
Scoped GEOS pointer.
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
const QgsCoordinateReferenceSystem & crs