19#ifndef QGSPROCESSINGWIDGETWRAPPERIMPL_H
20#define QGSPROCESSINGWIDGETWRAPPERIMPL_H
31#include <QAbstractButton>
43class QgsProcessingMatrixParameterPanel;
65class QgsProcessingEnumModelerWidget;
66class QgsProcessingMatrixModelerWidget;
67class QgsProcessingMapLayerComboBox;
70class QgsProcessingLayerOutputDestinationWidget;
73class QgsProcessingPointCloudExpressionLineEdit;
74class QgsProcessingRasterCalculatorExpressionLineEdit;
91 QCheckBox *mDefaultCheckBox =
nullptr;
105 QString parameterType()
const override;
120 QVariant widgetValue() const override;
122 QStringList compatibleParameterTypes() const override;
124 QStringList compatibleOutputTypes() const override;
128 QCheckBox *mCheckBox =
nullptr;
129 QComboBox *mComboBox =
nullptr;
131 friend class TestProcessingGui;
162 QString parameterType()
const override;
176 QVariant widgetValue() const override;
178 QStringList compatibleParameterTypes() const override;
179 QStringList compatibleOutputTypes() const override;
180 QString modelerExpressionFormatString() const override;
185 QCheckBox *mUseProjectCrsCheckBox =
nullptr;
187 friend class TestProcessingGui;
205 QLineEdit *mDefaultLineEdit =
nullptr;
206 QCheckBox *mMultiLineCheckBox =
nullptr;
220 QString parameterType()
const override;
234 QVariant widgetValue() const override;
236 QStringList compatibleParameterTypes() const override;
238 QStringList compatibleOutputTypes() const override;
241 QLineEdit *mLineEdit =
nullptr;
242 QComboBox *mComboBox =
nullptr;
243 QPlainTextEdit *mPlainTextEdit =
nullptr;
245 friend class TestProcessingGui;
259 QString parameterType()
const override;
268 QVariant widgetValue() const override;
270 QStringList compatibleParameterTypes() const override;
272 QStringList compatibleOutputTypes() const override;
277 friend class TestProcessingGui;
294 QComboBox *mTypeComboBox =
nullptr;
295 QLineEdit *mMinLineEdit =
nullptr;
296 QLineEdit *mMaxLineEdit =
nullptr;
297 QLineEdit *mDefaultLineEdit =
nullptr;
312 QString parameterType()
const override;
326 QVariant widgetValue() const override;
328 QStringList compatibleParameterTypes() const override;
330 QStringList compatibleOutputTypes() const override;
339 static
double calculateStep(
double minimum,
double maximum );
341 bool mAllowingNull = false;
343 friend class TestProcessingGui;
360 QComboBox *mParentLayerComboBox =
nullptr;
361 QLineEdit *mMinLineEdit =
nullptr;
362 QLineEdit *mMaxLineEdit =
nullptr;
363 QLineEdit *mDefaultLineEdit =
nullptr;
367class GUI_EXPORT QgsProcessingDistanceWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
377 QString parameterType()
const override;
390 void setUnitParameterValue( const QVariant &value );
391 void setUnits(
Qgis::DistanceUnit unit );
395 QVariant widgetValue() const override;
399 Qgis::DistanceUnit mBaseUnit =
Qgis::DistanceUnit::Unknown;
400 QLabel *mLabel =
nullptr;
401 QWidget *mWarningLabel =
nullptr;
402 QComboBox *mUnitsCombo =
nullptr;
404 friend class TestProcessingGui;
421 QLineEdit *mMinLineEdit =
nullptr;
422 QLineEdit *mMaxLineEdit =
nullptr;
423 QLineEdit *mDefaultLineEdit =
nullptr;
424 QComboBox *mUnitsCombo =
nullptr;
428class GUI_EXPORT QgsProcessingDurationWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
438 QString parameterType()
const override;
452 QVariant widgetValue() const override;
457 Qgis::TemporalUnit mBaseUnit =
Qgis::TemporalUnit::Milliseconds;
458 QComboBox *mUnitsCombo =
nullptr;
460 friend class TestProcessingGui;
476 QLineEdit *mDefaultLineEdit =
nullptr;
480class GUI_EXPORT QgsProcessingScaleWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
490 QString parameterType()
const override;
503 QVariant widgetValue() const override;
510 friend class TestProcessingGui;
527 QComboBox *mTypeComboBox =
nullptr;
528 QLineEdit *mMinLineEdit =
nullptr;
529 QLineEdit *mMaxLineEdit =
nullptr;
543 QString parameterType()
const override;
557 QVariant widgetValue() const override;
558 QStringList compatibleParameterTypes() const override;
559 QStringList compatibleOutputTypes() const override;
560 QString modelerExpressionFormatString() const override;
569 int mBlockChangedSignal = 0;
570 bool mAllowingNull = false;
572 friend class TestProcessingGui;
588 QgsProcessingMatrixModelerWidget *mMatrixWidget =
nullptr;
602 QString parameterType()
const override;
616 QVariant widgetValue() const override;
618 QStringList compatibleParameterTypes() const override;
619 QStringList compatibleOutputTypes() const override;
620 QString modelerExpressionFormatString() const override;
624 QgsProcessingMatrixParameterPanel *mMatrixWidget =
nullptr;
626 friend class TestProcessingGui;
642 QComboBox *mTypeComboBox =
nullptr;
643 QComboBox *mFilterComboBox =
nullptr;
658 QString parameterType()
const override;
672 QVariant widgetValue() const override;
674 QStringList compatibleParameterTypes() const override;
676 QStringList compatibleOutputTypes() const override;
677 QString modelerExpressionFormatString() const override;
683 friend class TestProcessingGui;
701 QComboBox *mParentLayerComboBox =
nullptr;
703 QgsProcessingPointCloudExpressionLineEdit *mDefaultPointCloudLineEdit =
nullptr;
704 QgsProcessingRasterCalculatorExpressionLineEdit *mDefaultRasterCalculatorLineEdit =
nullptr;
705 QComboBox *mExpressionTypeComboBox =
nullptr;
719 QString parameterType()
const override;
737 QVariant widgetValue() const override;
739 QStringList compatibleParameterTypes() const override;
741 QStringList compatibleOutputTypes() const override;
743 QString modelerExpressionFormatString() const override;
750 QgsProcessingPointCloudExpressionLineEdit *mPointCloudExpLineEdit =
nullptr;
751 QgsProcessingRasterCalculatorExpressionLineEdit *mRasterCalculatorExpLineEdit =
nullptr;
754 friend class TestProcessingGui;
758class GUI_EXPORT QgsProcessingEnumCheckboxPanelWidget : public QWidget
764 QgsProcessingEnumCheckboxPanelWidget( QWidget *parent =
nullptr,
const QgsProcessingParameterEnum *param =
nullptr,
int columns = 2 );
765 QVariant value()
const;
766 void setValue(
const QVariant &value );
774 void showPopupMenu();
781 QMap< QVariant, QAbstractButton * > mButtons;
782 QButtonGroup *mButtonGroup =
nullptr;
784 bool mBlockChangedSignal =
false;
786 friend class TestProcessingGui;
789class GUI_EXPORT QgsProcessingEnumPanelWidget :
public QWidget
796 QVariant value()
const {
return mValue; }
797 void setValue(
const QVariant &value );
809 void updateSummaryText();
812 QLineEdit *mLineEdit =
nullptr;
813 QToolButton *mToolButton =
nullptr;
817 friend class TestProcessingGui;
833 QgsProcessingEnumModelerWidget *mEnumWidget =
nullptr;
847 QString parameterType()
const override;
861 QVariant widgetValue() const override;
863 QStringList compatibleParameterTypes() const override;
865 QStringList compatibleOutputTypes() const override;
867 QString modelerExpressionFormatString() const override;
870 QComboBox *mComboBox =
nullptr;
871 QgsProcessingEnumPanelWidget *mPanel =
nullptr;
872 QgsProcessingEnumCheckboxPanelWidget *mCheckboxPanel =
nullptr;
874 friend class TestProcessingGui;
889 QString parameterType()
const override;
898 QVariant widgetValue() const override;
901 QStringList compatibleParameterTypes() const override;
903 QStringList compatibleOutputTypes() const override;
905 QString modelerExpressionFormatString() const override;
909 QComboBox *mPlainComboBox =
nullptr;
911 friend class TestProcessingGui;
929 QComboBox *mParentLayoutComboBox =
nullptr;
943 QString parameterType()
const override;
957 void setLayoutParameterValue( const QVariant &value );
963 QVariant widgetValue() const override;
965 QStringList compatibleParameterTypes() const override;
967 QStringList compatibleOutputTypes() const override;
968 QString modelerExpressionFormatString() const override;
972 QLineEdit *mLineEdit =
nullptr;
974 friend class TestProcessingGui;
977class GUI_EXPORT QgsProcessingPointMapTool : public
QgsMapTool
982 ~QgsProcessingPointMapTool()
override;
983 void deactivate()
override;
986 void keyPressEvent( QKeyEvent *e )
override;
995 std::unique_ptr<QgsSnapIndicator> mSnapIndicator;
996 friend class TestProcessingGui;
999class GUI_EXPORT QgsProcessingPointPanel :
public QWidget
1005 QgsProcessingPointPanel( QWidget *parent );
1007 void setAllowNull(
bool allowNull );
1009 QVariant value()
const;
1015 void toggleDialogVisibility(
bool visible );
1020 void selectOnCanvas();
1027 QToolButton *mButton =
nullptr;
1030 QPointer< QgsMapTool > mPrevTool;
1031 std::unique_ptr< QgsProcessingPointMapTool > mTool;
1032 friend class TestProcessingGui;
1049 QLineEdit *mDefaultLineEdit =
nullptr;
1063 QString parameterType()
const override;
1074 void setDialog( QDialog *dialog ) override;
1079 QVariant widgetValue() const override;
1081 QStringList compatibleParameterTypes() const override;
1083 QStringList compatibleOutputTypes() const override;
1084 QString modelerExpressionFormatString() const override;
1087 QgsProcessingPointPanel *mPanel =
nullptr;
1088 QLineEdit *mLineEdit =
nullptr;
1089 QDialog *mDialog =
nullptr;
1091 friend class TestProcessingGui;
1107 QLineEdit *mDefaultLineEdit =
nullptr;
1121 QString parameterType()
const override;
1135 QVariant widgetValue() const override;
1137 QStringList compatibleParameterTypes() const override;
1139 QStringList compatibleOutputTypes() const override;
1140 QString modelerExpressionFormatString() const override;
1143 QLineEdit *mLineEdit =
nullptr;
1145 friend class TestProcessingGui;
1175 QString parameterType()
const override;
1186 void setDialog( QDialog *dialog ) override;
1191 QVariant widgetValue() const override;
1193 QStringList compatibleParameterTypes() const override;
1195 QStringList compatibleOutputTypes() const override;
1196 QString modelerExpressionFormatString() const override;
1200 QDialog *mDialog =
nullptr;
1202 friend class TestProcessingGui;
1219 QCheckBox *mAllowOpacity =
nullptr;
1233 QString parameterType()
const override;
1247 QVariant widgetValue() const override;
1249 QStringList compatibleParameterTypes() const override;
1251 QStringList compatibleOutputTypes() const override;
1252 QString modelerExpressionFormatString() const override;
1256 friend class TestProcessingGui;
1274 QLineEdit *mDefaultLineEdit =
nullptr;
1276 QComboBox *mSourceParamComboBox =
nullptr;
1277 QComboBox *mDestParamComboBox =
nullptr;
1295 QString parameterType()
const override;
1310 QVariant widgetValue() const override;
1312 QStringList compatibleParameterTypes() const override;
1314 QStringList compatibleOutputTypes() const override;
1315 QString modelerExpressionFormatString() const override;
1318 void setSourceCrsParameterValue( const QVariant &value );
1319 void setDestinationCrsParameterValue( const QVariant &value );
1323 QLineEdit *mLineEdit =
nullptr;
1326 friend class TestProcessingGui;
1329class GUI_EXPORT QgsProcessingFieldPanelWidget : public QWidget
1337 void setFields(
const QgsFields &fields );
1339 QgsFields fields()
const {
return mFields; }
1341 QVariant value()
const {
return mValue; }
1342 void setValue(
const QVariant &value );
1354 void updateSummaryText();
1359 QLineEdit *mLineEdit =
nullptr;
1360 QToolButton *mToolButton =
nullptr;
1362 QVariantList mValue;
1364 friend class TestProcessingGui;
1380 QComboBox *mParentLayerComboBox =
nullptr;
1381 QComboBox *mDataTypeComboBox =
nullptr;
1382 QLineEdit *mDefaultLineEdit =
nullptr;
1383 QCheckBox *mAllowMultipleCheckBox =
nullptr;
1384 QCheckBox *mDefaultToAllCheckBox =
nullptr;
1397 QString parameterType()
const override;
1415 QVariant widgetValue() const override;
1417 QStringList compatibleParameterTypes() const override;
1419 QStringList compatibleOutputTypes() const override;
1420 QString modelerExpressionFormatString() const override;
1426 QgsProcessingFieldPanelWidget *mPanel =
nullptr;
1427 QLineEdit *mLineEdit =
nullptr;
1433 friend class TestProcessingGui;
1450 QComboBox *mDefaultComboBox =
nullptr;
1464 QString parameterType()
const override;
1478 QVariant widgetValue() const override;
1480 QStringList compatibleParameterTypes() const override;
1482 QStringList compatibleOutputTypes() const override;
1483 QString modelerExpressionFormatString() const override;
1487 QComboBox *mComboBox =
nullptr;
1489 friend class TestProcessingGui;
1506 QComboBox *mTypeComboBox =
nullptr;
1520 QString parameterType()
const override;
1534 QVariant widgetValue() const override;
1536 QStringList compatibleParameterTypes() const override;
1537 QStringList compatibleOutputTypes() const override;
1538 QString modelerExpressionFormatString() const override;
1546 friend class TestProcessingGui;
1568 QComboBox *mProviderComboBox =
nullptr;
1569 QLineEdit *mDefaultEdit =
nullptr;
1583 QString parameterType()
const override;
1598 QVariant widgetValue() const override;
1600 QStringList compatibleParameterTypes() const override;
1602 QStringList compatibleOutputTypes() const override;
1603 QString modelerExpressionFormatString() const override;
1608 int mBlockSignals = 0;
1610 friend class TestProcessingGui;
1628 QComboBox *mConnectionParamComboBox =
nullptr;
1629 QLineEdit *mDefaultEdit =
nullptr;
1643 QString parameterType()
const override;
1645 void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers )
override;
1662 QVariant widgetValue() const override;
1664 QStringList compatibleParameterTypes() const override;
1666 QStringList compatibleOutputTypes() const override;
1667 QString modelerExpressionFormatString() const override;
1672 int mBlockSignals = 0;
1674 friend class TestProcessingGui;
1693 QComboBox *mConnectionParamComboBox =
nullptr;
1694 QComboBox *mSchemaParamComboBox =
nullptr;
1695 QLineEdit *mDefaultEdit =
nullptr;
1709 QString parameterType()
const override;
1711 void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers )
override;
1729 QVariant widgetValue() const override;
1731 QStringList compatibleParameterTypes() const override;
1733 QStringList compatibleOutputTypes() const override;
1734 QString modelerExpressionFormatString() const override;
1739 int mBlockSignals = 0;
1740 QString mConnection;
1744 friend class TestProcessingGui;
1773 QString parameterType()
const override;
1787 QVariant widgetValue() const override;
1789 QStringList compatibleParameterTypes() const override;
1791 QStringList compatibleOutputTypes() const override;
1792 QString modelerExpressionFormatString() const override;
1797 QPointer< QgsProcessingMapLayerComboBox > mComboBox;
1798 int mBlockSignals = 0;
1800 friend class TestProcessingGui;
1804class GUI_EXPORT QgsProcessingRasterLayerWidgetWrapper : public QgsProcessingMapLayerWidgetWrapper
1814 QString parameterType()
const override;
1823 QStringList compatibleParameterTypes()
const override;
1825 QStringList compatibleOutputTypes()
const override;
1827 QString modelerExpressionFormatString()
const override;
1848class GUI_EXPORT QgsProcessingVectorLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1858 QString parameterType()
const override;
1867 QStringList compatibleParameterTypes()
const override;
1869 QStringList compatibleOutputTypes()
const override;
1871 QString modelerExpressionFormatString()
const override;
1892class GUI_EXPORT QgsProcessingFeatureSourceWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1902 QString parameterType()
const override;
1911 QStringList compatibleParameterTypes()
const override;
1913 QStringList compatibleOutputTypes()
const override;
1915 QString modelerExpressionFormatString()
const override;
1920class GUI_EXPORT QgsProcessingMeshLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1930 QString parameterType()
const override;
1939 QStringList compatibleParameterTypes()
const override;
1941 QStringList compatibleOutputTypes()
const override;
1943 QString modelerExpressionFormatString()
const override;
1948class GUI_EXPORT QgsProcessingRasterBandPanelWidget :
public QWidget
1956 void setBands(
const QList< int > &bands );
1957 void setBandNames(
const QHash<int, QString > &names );
1958 QList< int > bands()
const {
return mBands; }
1960 QVariant value()
const {
return mValue; }
1961 void setValue(
const QVariant &value );
1973 void updateSummaryText();
1975 QList< int > mBands;
1976 QHash<int, QString > mBandNames;
1979 QLineEdit *mLineEdit =
nullptr;
1980 QToolButton *mToolButton =
nullptr;
1982 QVariantList mValue;
1984 friend class TestProcessingGui;
2000 QComboBox *mParentLayerComboBox =
nullptr;
2001 QLineEdit *mDefaultLineEdit =
nullptr;
2002 QCheckBox *mAllowMultipleCheckBox =
nullptr;
2015 QString parameterType()
const override;
2033 QVariant widgetValue() const override;
2035 QStringList compatibleParameterTypes() const override;
2037 QStringList compatibleOutputTypes() const override;
2038 QString modelerExpressionFormatString() const override;
2043 QgsProcessingRasterBandPanelWidget *mPanel =
nullptr;
2044 QLineEdit *mLineEdit =
nullptr;
2048 friend class TestProcessingGui;
2053class GUI_EXPORT QgsProcessingMultipleLayerPanelWidget : public QWidget
2061 QVariant value()
const {
return mValue; }
2062 void setValue(
const QVariant &value );
2065 void setModel( QgsProcessingModelAlgorithm *model,
const QString &modelChildAlgorithmID );
2077 void updateSummaryText();
2080 QLineEdit *mLineEdit =
nullptr;
2081 QToolButton *mToolButton =
nullptr;
2083 QVariantList mValue;
2084 QList< QgsProcessingModelChildParameterSource > mModelSources;
2085 QgsProcessingModelAlgorithm *mModel =
nullptr;
2089 friend class TestProcessingGui;
2105 QComboBox *mLayerTypeComboBox =
nullptr;
2118 QString parameterType()
const override;
2133 QVariant widgetValue() const override;
2135 QStringList compatibleParameterTypes() const override;
2137 QStringList compatibleOutputTypes() const override;
2138 QString modelerExpressionFormatString() const override;
2142 QgsProcessingMultipleLayerPanelWidget *mPanel =
nullptr;
2144 friend class TestProcessingGui;
2163 QVariant widgetValue() const override;
2164 QVariantMap customProperties() const override;
2166 QStringList compatibleParameterTypes() const override;
2168 QStringList compatibleOutputTypes() const override;
2172 QgsProcessingLayerOutputDestinationWidget *mOutputWidget =
nullptr;
2173 int mBlockSignals = 0;
2175 friend class TestProcessingGui;
2179class GUI_EXPORT QgsProcessingFeatureSinkWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2189 QString parameterType()
const override;
2193 QString modelerExpressionFormatString()
const override;
2200class GUI_EXPORT QgsProcessingVectorDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2210 QString parameterType()
const override;
2214 QString modelerExpressionFormatString()
const override;
2218class GUI_EXPORT QgsProcessingRasterDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2228 QString parameterType()
const override;
2232 QString modelerExpressionFormatString()
const override;
2236class GUI_EXPORT QgsProcessingPointCloudDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2246 QString parameterType()
const override;
2250 QString modelerExpressionFormatString()
const override;
2254class GUI_EXPORT QgsProcessingFileDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2264 QString parameterType()
const override;
2268 QString modelerExpressionFormatString()
const override;
2272class GUI_EXPORT QgsProcessingFolderDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2282 QString parameterType()
const override;
2286 QString modelerExpressionFormatString()
const override;
2290class GUI_EXPORT QgsProcessingPointCloudLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
2300 QString parameterType()
const override;
2309 QStringList compatibleParameterTypes()
const override;
2311 QStringList compatibleOutputTypes()
const override;
2313 QString modelerExpressionFormatString()
const override;
2328 QString parameterType()
const override;
2341 QVariant widgetValue() const override;
2343 QStringList compatibleParameterTypes() const override;
2345 QStringList compatibleOutputTypes() const override;
2347 QString modelerExpressionFormatString() const override;
2352 int mBlockSignals = 0;
2354 friend class TestProcessingGui;
2358class GUI_EXPORT QgsProcessingPointCloudAttributePanelWidget : public QWidget
2370 QVariant value()
const {
return mValue; }
2371 void setValue(
const QVariant &value );
2383 void updateSummaryText();
2388 QLineEdit *mLineEdit =
nullptr;
2389 QToolButton *mToolButton =
nullptr;
2391 QVariantList mValue;
2393 friend class TestProcessingGui;
2409 QComboBox *mParentLayerComboBox =
nullptr;
2410 QLineEdit *mDefaultLineEdit =
nullptr;
2411 QCheckBox *mAllowMultipleCheckBox =
nullptr;
2412 QCheckBox *mDefaultToAllCheckBox =
nullptr;
2425 QString parameterType()
const override;
2443 QVariant widgetValue() const override;
2445 QStringList compatibleParameterTypes() const override;
2447 QStringList compatibleOutputTypes() const override;
2448 QString modelerExpressionFormatString() const override;
2453 QgsProcessingPointCloudAttributePanelWidget *mPanel =
nullptr;
2454 QLineEdit *mLineEdit =
nullptr;
2458 friend class TestProcessingGui;
2461class GUI_EXPORT QgsProcessingVectorTileDestinationWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2471 QString parameterType()
const override;
2475 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.
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