19#ifndef QGSPROCESSINGWIDGETWRAPPERIMPL_H
20#define QGSPROCESSINGWIDGETWRAPPERIMPL_H
32#include <QAbstractButton>
44class QgsProcessingMatrixParameterPanel;
66class QgsProcessingEnumModelerWidget;
67class QgsProcessingMatrixModelerWidget;
68class QgsProcessingMapLayerComboBox;
71class QgsProcessingLayerOutputDestinationWidget;
74class QgsProcessingPointCloudExpressionLineEdit;
75class QgsProcessingRasterCalculatorExpressionLineEdit;
94 QCheckBox *mDefaultCheckBox =
nullptr;
108 QString parameterType()
const override;
123 QVariant widgetValue() const override;
125 QStringList compatibleParameterTypes() const override;
127 QStringList compatibleOutputTypes() const override;
131 QCheckBox *mCheckBox =
nullptr;
132 QComboBox *mComboBox =
nullptr;
134 friend class TestProcessingGui;
165 QString parameterType()
const override;
179 QVariant widgetValue() const override;
181 QStringList compatibleParameterTypes() const override;
182 QStringList compatibleOutputTypes() const override;
183 QString modelerExpressionFormatString() const override;
188 QCheckBox *mUseProjectCrsCheckBox =
nullptr;
190 friend class TestProcessingGui;
208 QLineEdit *mDefaultLineEdit =
nullptr;
209 QCheckBox *mMultiLineCheckBox =
nullptr;
223 QString parameterType()
const override;
237 QVariant widgetValue() const override;
239 QStringList compatibleParameterTypes() const override;
241 QStringList compatibleOutputTypes() const override;
244 QLineEdit *mLineEdit =
nullptr;
245 QComboBox *mComboBox =
nullptr;
246 QPlainTextEdit *mPlainTextEdit =
nullptr;
248 friend class TestProcessingGui;
262 QString parameterType()
const override;
271 QVariant widgetValue() const override;
273 QStringList compatibleParameterTypes() const override;
275 QStringList compatibleOutputTypes() const override;
280 friend class TestProcessingGui;
297 QComboBox *mTypeComboBox =
nullptr;
298 QLineEdit *mMinLineEdit =
nullptr;
299 QLineEdit *mMaxLineEdit =
nullptr;
300 QLineEdit *mDefaultLineEdit =
nullptr;
315 QString parameterType()
const override;
329 QVariant widgetValue() const override;
331 QStringList compatibleParameterTypes() const override;
333 QStringList compatibleOutputTypes() const override;
342 static
double calculateStep(
double minimum,
double maximum );
344 bool mAllowingNull = false;
346 friend class TestProcessingGui;
363 QComboBox *mParentLayerComboBox =
nullptr;
364 QLineEdit *mMinLineEdit =
nullptr;
365 QLineEdit *mMaxLineEdit =
nullptr;
366 QLineEdit *mDefaultLineEdit =
nullptr;
370class GUI_EXPORT QgsProcessingDistanceWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
380 QString parameterType()
const override;
394 void setUnits(
Qgis::DistanceUnit unit );
398 QVariant widgetValue() const override;
402 Qgis::DistanceUnit mBaseUnit =
Qgis::DistanceUnit::Unknown;
403 QLabel *mLabel =
nullptr;
404 QWidget *mWarningLabel =
nullptr;
405 QComboBox *mUnitsCombo =
nullptr;
407 friend class TestProcessingGui;
424 QLineEdit *mMinLineEdit =
nullptr;
425 QLineEdit *mMaxLineEdit =
nullptr;
426 QLineEdit *mDefaultLineEdit =
nullptr;
427 QComboBox *mUnitsCombo =
nullptr;
431class GUI_EXPORT QgsProcessingDurationWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
441 QString parameterType()
const override;
455 QVariant widgetValue() const override;
460 Qgis::TemporalUnit mBaseUnit =
Qgis::TemporalUnit::Milliseconds;
461 QComboBox *mUnitsCombo =
nullptr;
463 friend class TestProcessingGui;
479 QLineEdit *mDefaultLineEdit =
nullptr;
483class GUI_EXPORT QgsProcessingScaleWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
493 QString parameterType()
const override;
506 QVariant widgetValue() const override;
513 friend class TestProcessingGui;
530 QComboBox *mTypeComboBox =
nullptr;
531 QLineEdit *mMinLineEdit =
nullptr;
532 QLineEdit *mMaxLineEdit =
nullptr;
546 QString parameterType()
const override;
560 QVariant widgetValue() const override;
561 QStringList compatibleParameterTypes() const override;
562 QStringList compatibleOutputTypes() const override;
563 QString modelerExpressionFormatString() const override;
572 int mBlockChangedSignal = 0;
573 bool mAllowingNull = false;
575 friend class TestProcessingGui;
591 QgsProcessingMatrixModelerWidget *mMatrixWidget =
nullptr;
605 QString parameterType()
const override;
619 QVariant widgetValue() const override;
621 QStringList compatibleParameterTypes() const override;
622 QStringList compatibleOutputTypes() const override;
623 QString modelerExpressionFormatString() const override;
627 QgsProcessingMatrixParameterPanel *mMatrixWidget =
nullptr;
629 friend class TestProcessingGui;
645 QComboBox *mTypeComboBox =
nullptr;
646 QComboBox *mFilterComboBox =
nullptr;
661 QString parameterType()
const override;
675 QVariant widgetValue() const override;
677 QStringList compatibleParameterTypes() const override;
679 QStringList compatibleOutputTypes() const override;
680 QString modelerExpressionFormatString() const override;
686 friend class TestProcessingGui;
704 QComboBox *mParentLayerComboBox =
nullptr;
706 QgsProcessingPointCloudExpressionLineEdit *mDefaultPointCloudLineEdit =
nullptr;
707 QgsProcessingRasterCalculatorExpressionLineEdit *mDefaultRasterCalculatorLineEdit =
nullptr;
708 QComboBox *mExpressionTypeComboBox =
nullptr;
722 QString parameterType()
const override;
740 QVariant widgetValue() const override;
742 QStringList compatibleParameterTypes() const override;
744 QStringList compatibleOutputTypes() const override;
746 QString modelerExpressionFormatString() const override;
753 QgsProcessingPointCloudExpressionLineEdit *mPointCloudExpLineEdit =
nullptr;
754 QgsProcessingRasterCalculatorExpressionLineEdit *mRasterCalculatorExpLineEdit =
nullptr;
757 friend class TestProcessingGui;
761class GUI_EXPORT QgsProcessingEnumCheckboxPanelWidget : public QWidget
767 QgsProcessingEnumCheckboxPanelWidget( QWidget *parent =
nullptr,
const QgsProcessingParameterEnum *param =
nullptr,
int columns = 2 );
768 QVariant value()
const;
769 void setValue(
const QVariant &value );
777 void showPopupMenu();
784 QMap< QVariant, QAbstractButton * > mButtons;
785 QButtonGroup *mButtonGroup =
nullptr;
787 bool mBlockChangedSignal =
false;
789 friend class TestProcessingGui;
792class GUI_EXPORT QgsProcessingEnumPanelWidget :
public QWidget
799 QVariant value()
const {
return mValue; }
800 void setValue(
const QVariant &value );
812 void updateSummaryText();
815 QLineEdit *mLineEdit =
nullptr;
816 QToolButton *mToolButton =
nullptr;
820 friend class TestProcessingGui;
836 QgsProcessingEnumModelerWidget *mEnumWidget =
nullptr;
850 QString parameterType()
const override;
864 QVariant widgetValue() const override;
866 QStringList compatibleParameterTypes() const override;
868 QStringList compatibleOutputTypes() const override;
870 QString modelerExpressionFormatString() const override;
873 QComboBox *mComboBox =
nullptr;
874 QgsProcessingEnumPanelWidget *mPanel =
nullptr;
875 QgsProcessingEnumCheckboxPanelWidget *mCheckboxPanel =
nullptr;
877 friend class TestProcessingGui;
892 QString parameterType()
const override;
901 QVariant widgetValue() const override;
904 QStringList compatibleParameterTypes() const override;
906 QStringList compatibleOutputTypes() const override;
908 QString modelerExpressionFormatString() const override;
912 QComboBox *mPlainComboBox =
nullptr;
914 friend class TestProcessingGui;
932 QComboBox *mParentLayoutComboBox =
nullptr;
946 QString parameterType()
const override;
960 void setLayoutParameterValue( const QVariant &value );
966 QVariant widgetValue() const override;
968 QStringList compatibleParameterTypes() const override;
970 QStringList compatibleOutputTypes() const override;
971 QString modelerExpressionFormatString() const override;
975 QLineEdit *mLineEdit =
nullptr;
977 friend class TestProcessingGui;
980class GUI_EXPORT QgsProcessingPointMapTool : public
QgsMapTool
985 ~QgsProcessingPointMapTool()
override;
986 void deactivate()
override;
989 void keyPressEvent( QKeyEvent *e )
override;
998 std::unique_ptr<QgsSnapIndicator> mSnapIndicator;
999 friend class TestProcessingGui;
1002class GUI_EXPORT QgsProcessingPointPanel :
public QWidget
1008 QgsProcessingPointPanel( QWidget *parent );
1010 void setAllowNull(
bool allowNull );
1011 void setShowPointOnCanvas(
bool show );
1013 QVariant value()
const;
1019 void toggleDialogVisibility(
bool visible );
1024 void selectOnCanvas();
1027 void textChanged(
const QString &text );
1030 void updateRubberBand();
1033 bool mShowPointOnCanvas =
false;
1034 QToolButton *mButton =
nullptr;
1037 QPointer< QgsMapTool > mPrevTool;
1038 std::unique_ptr< QgsProcessingPointMapTool > mTool;
1041 friend class TestProcessingGui;
1058 QLineEdit *mDefaultLineEdit =
nullptr;
1072 QString parameterType()
const override;
1083 void setDialog( QDialog *dialog ) override;
1088 QVariant widgetValue() const override;
1090 QStringList compatibleParameterTypes() const override;
1092 QStringList compatibleOutputTypes() const override;
1093 QString modelerExpressionFormatString() const override;
1096 QgsProcessingPointPanel *mPanel =
nullptr;
1097 QLineEdit *mLineEdit =
nullptr;
1098 QDialog *mDialog =
nullptr;
1100 friend class TestProcessingGui;
1116 QLineEdit *mDefaultLineEdit =
nullptr;
1130 QString parameterType()
const override;
1144 QVariant widgetValue() const override;
1146 QStringList compatibleParameterTypes() const override;
1148 QStringList compatibleOutputTypes() const override;
1149 QString modelerExpressionFormatString() const override;
1152 QLineEdit *mLineEdit =
nullptr;
1154 friend class TestProcessingGui;
1184 QString parameterType()
const override;
1195 void setDialog( QDialog *dialog ) override;
1200 QVariant widgetValue() const override;
1202 QStringList compatibleParameterTypes() const override;
1204 QStringList compatibleOutputTypes() const override;
1205 QString modelerExpressionFormatString() const override;
1209 QDialog *mDialog =
nullptr;
1211 friend class TestProcessingGui;
1228 QCheckBox *mAllowOpacity =
nullptr;
1242 QString parameterType()
const override;
1256 QVariant widgetValue() const override;
1258 QStringList compatibleParameterTypes() const override;
1260 QStringList compatibleOutputTypes() const override;
1261 QString modelerExpressionFormatString() const override;
1265 friend class TestProcessingGui;
1283 QLineEdit *mDefaultLineEdit =
nullptr;
1285 QComboBox *mSourceParamComboBox =
nullptr;
1286 QComboBox *mDestParamComboBox =
nullptr;
1304 QString parameterType()
const override;
1319 QVariant widgetValue() const override;
1321 QStringList compatibleParameterTypes() const override;
1323 QStringList compatibleOutputTypes() const override;
1324 QString modelerExpressionFormatString() const override;
1327 void setSourceCrsParameterValue( const QVariant &value );
1328 void setDestinationCrsParameterValue( const QVariant &value );
1332 QLineEdit *mLineEdit =
nullptr;
1335 friend class TestProcessingGui;
1338class GUI_EXPORT QgsProcessingFieldPanelWidget : public QWidget
1346 void setFields(
const QgsFields &fields );
1348 QgsFields fields()
const {
return mFields; }
1350 QVariant value()
const {
return mValue; }
1351 void setValue(
const QVariant &value );
1363 void updateSummaryText();
1368 QLineEdit *mLineEdit =
nullptr;
1369 QToolButton *mToolButton =
nullptr;
1371 QVariantList mValue;
1373 friend class TestProcessingGui;
1389 QComboBox *mParentLayerComboBox =
nullptr;
1390 QComboBox *mDataTypeComboBox =
nullptr;
1391 QLineEdit *mDefaultLineEdit =
nullptr;
1392 QCheckBox *mAllowMultipleCheckBox =
nullptr;
1393 QCheckBox *mDefaultToAllCheckBox =
nullptr;
1406 QString parameterType()
const override;
1424 QVariant widgetValue() const override;
1426 QStringList compatibleParameterTypes() const override;
1428 QStringList compatibleOutputTypes() const override;
1429 QString modelerExpressionFormatString() const override;
1435 QgsProcessingFieldPanelWidget *mPanel =
nullptr;
1436 QLineEdit *mLineEdit =
nullptr;
1442 friend class TestProcessingGui;
1459 QComboBox *mDefaultComboBox =
nullptr;
1473 QString parameterType()
const override;
1487 QVariant widgetValue() const override;
1489 QStringList compatibleParameterTypes() const override;
1491 QStringList compatibleOutputTypes() const override;
1492 QString modelerExpressionFormatString() const override;
1496 QComboBox *mComboBox =
nullptr;
1498 friend class TestProcessingGui;
1515 QComboBox *mTypeComboBox =
nullptr;
1529 QString parameterType()
const override;
1543 QVariant widgetValue() const override;
1545 QStringList compatibleParameterTypes() const override;
1546 QStringList compatibleOutputTypes() const override;
1547 QString modelerExpressionFormatString() const override;
1555 friend class TestProcessingGui;
1577 QComboBox *mProviderComboBox =
nullptr;
1578 QLineEdit *mDefaultEdit =
nullptr;
1592 QString parameterType()
const override;
1607 QVariant widgetValue() const override;
1609 QStringList compatibleParameterTypes() const override;
1611 QStringList compatibleOutputTypes() const override;
1612 QString modelerExpressionFormatString() const override;
1617 int mBlockSignals = 0;
1619 friend class TestProcessingGui;
1637 QComboBox *mConnectionParamComboBox =
nullptr;
1638 QLineEdit *mDefaultEdit =
nullptr;
1652 QString parameterType()
const override;
1654 void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers )
override;
1671 QVariant widgetValue() const override;
1673 QStringList compatibleParameterTypes() const override;
1675 QStringList compatibleOutputTypes() const override;
1676 QString modelerExpressionFormatString() const override;
1681 int mBlockSignals = 0;
1683 friend class TestProcessingGui;
1702 QComboBox *mConnectionParamComboBox =
nullptr;
1703 QComboBox *mSchemaParamComboBox =
nullptr;
1704 QLineEdit *mDefaultEdit =
nullptr;
1718 QString parameterType()
const override;
1720 void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers )
override;
1738 QVariant widgetValue() const override;
1740 QStringList compatibleParameterTypes() const override;
1742 QStringList compatibleOutputTypes() const override;
1743 QString modelerExpressionFormatString() const override;
1748 int mBlockSignals = 0;
1749 QString mConnection;
1753 friend class TestProcessingGui;
1782 QString parameterType()
const override;
1796 QVariant widgetValue() const override;
1798 QStringList compatibleParameterTypes() const override;
1800 QStringList compatibleOutputTypes() const override;
1801 QString modelerExpressionFormatString() const override;
1806 QPointer< QgsProcessingMapLayerComboBox > mComboBox;
1807 int mBlockSignals = 0;
1809 friend class TestProcessingGui;
1813class GUI_EXPORT QgsProcessingRasterLayerWidgetWrapper : public QgsProcessingMapLayerWidgetWrapper
1823 QString parameterType()
const override;
1832 QStringList compatibleParameterTypes()
const override;
1834 QStringList compatibleOutputTypes()
const override;
1836 QString modelerExpressionFormatString()
const override;
1857class GUI_EXPORT QgsProcessingVectorLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1867 QString parameterType()
const override;
1876 QStringList compatibleParameterTypes()
const override;
1878 QStringList compatibleOutputTypes()
const override;
1880 QString modelerExpressionFormatString()
const override;
1901class GUI_EXPORT QgsProcessingFeatureSourceWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1911 QString parameterType()
const override;
1920 QStringList compatibleParameterTypes()
const override;
1922 QStringList compatibleOutputTypes()
const override;
1924 QString modelerExpressionFormatString()
const override;
1929class GUI_EXPORT QgsProcessingMeshLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1939 QString parameterType()
const override;
1948 QStringList compatibleParameterTypes()
const override;
1950 QStringList compatibleOutputTypes()
const override;
1952 QString modelerExpressionFormatString()
const override;
1957class GUI_EXPORT QgsProcessingRasterBandPanelWidget :
public QWidget
1965 void setBands(
const QList< int > &bands );
1966 void setBandNames(
const QHash<int, QString > &names );
1967 QList< int > bands()
const {
return mBands; }
1969 QVariant value()
const {
return mValue; }
1970 void setValue(
const QVariant &value );
1982 void updateSummaryText();
1984 QList< int > mBands;
1985 QHash<int, QString > mBandNames;
1988 QLineEdit *mLineEdit =
nullptr;
1989 QToolButton *mToolButton =
nullptr;
1991 QVariantList mValue;
1993 friend class TestProcessingGui;
2009 QComboBox *mParentLayerComboBox =
nullptr;
2010 QLineEdit *mDefaultLineEdit =
nullptr;
2011 QCheckBox *mAllowMultipleCheckBox =
nullptr;
2024 QString parameterType()
const override;
2042 QVariant widgetValue() const override;
2044 QStringList compatibleParameterTypes() const override;
2046 QStringList compatibleOutputTypes() const override;
2047 QString modelerExpressionFormatString() const override;
2052 QgsProcessingRasterBandPanelWidget *mPanel =
nullptr;
2053 QLineEdit *mLineEdit =
nullptr;
2057 friend class TestProcessingGui;
2067 void dragEnterEvent( QDragEnterEvent *event )
override;
2068 void dragLeaveEvent( QDragLeaveEvent *event )
override;
2069 void dropEvent( QDropEvent *event )
override;
2073 void layersDropped(
const QVariantList &value );
2079class GUI_EXPORT QgsProcessingMultipleLayerPanelWidget :
public QWidget
2087 QVariant value()
const {
return mValue; }
2088 void setValue(
const QVariant &value );
2091 void setModel( QgsProcessingModelAlgorithm *model,
const QString &modelChildAlgorithmID );
2103 void updateSummaryText();
2106 QgsProcessingMultipleLayerLineEdit *mLineEdit =
nullptr;
2107 QToolButton *mToolButton =
nullptr;
2109 QVariantList mValue;
2110 QList< QgsProcessingModelChildParameterSource > mModelSources;
2111 QgsProcessingModelAlgorithm *mModel =
nullptr;
2115 friend class TestProcessingGui;
2131 QComboBox *mLayerTypeComboBox =
nullptr;
2144 QString parameterType()
const override;
2159 QVariant widgetValue() const override;
2161 QStringList compatibleParameterTypes() const override;
2163 QStringList compatibleOutputTypes() const override;
2164 QString modelerExpressionFormatString() const override;
2168 QgsProcessingMultipleLayerPanelWidget *mPanel =
nullptr;
2170 friend class TestProcessingGui;
2189 QVariant widgetValue() const override;
2190 QVariantMap customProperties() const override;
2192 QStringList compatibleParameterTypes() const override;
2194 QStringList compatibleOutputTypes() const override;
2198 QgsProcessingLayerOutputDestinationWidget *mOutputWidget =
nullptr;
2199 int mBlockSignals = 0;
2201 friend class TestProcessingGui;
2205class GUI_EXPORT QgsProcessingFeatureSinkWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2215 QString parameterType()
const override;
2219 QString modelerExpressionFormatString()
const override;
2226class GUI_EXPORT QgsProcessingVectorDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2236 QString parameterType()
const override;
2240 QString modelerExpressionFormatString()
const override;
2244class GUI_EXPORT QgsProcessingRasterDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2254 QString parameterType()
const override;
2258 QString modelerExpressionFormatString()
const override;
2262class GUI_EXPORT QgsProcessingPointCloudDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2272 QString parameterType()
const override;
2276 QString modelerExpressionFormatString()
const override;
2280class GUI_EXPORT QgsProcessingFileDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2290 QString parameterType()
const override;
2294 QString modelerExpressionFormatString()
const override;
2298class GUI_EXPORT QgsProcessingFolderDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2308 QString parameterType()
const override;
2312 QString modelerExpressionFormatString()
const override;
2316class GUI_EXPORT QgsProcessingPointCloudLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
2326 QString parameterType()
const override;
2335 QStringList compatibleParameterTypes()
const override;
2337 QStringList compatibleOutputTypes()
const override;
2339 QString modelerExpressionFormatString()
const override;
2354 QString parameterType()
const override;
2367 QVariant widgetValue() const override;
2369 QStringList compatibleParameterTypes() const override;
2371 QStringList compatibleOutputTypes() const override;
2373 QString modelerExpressionFormatString() const override;
2378 int mBlockSignals = 0;
2380 friend class TestProcessingGui;
2384class GUI_EXPORT QgsProcessingPointCloudAttributePanelWidget : public QWidget
2396 QVariant value()
const {
return mValue; }
2397 void setValue(
const QVariant &value );
2409 void updateSummaryText();
2414 QLineEdit *mLineEdit =
nullptr;
2415 QToolButton *mToolButton =
nullptr;
2417 QVariantList mValue;
2419 friend class TestProcessingGui;
2435 QComboBox *mParentLayerComboBox =
nullptr;
2436 QLineEdit *mDefaultLineEdit =
nullptr;
2437 QCheckBox *mAllowMultipleCheckBox =
nullptr;
2438 QCheckBox *mDefaultToAllCheckBox =
nullptr;
2451 QString parameterType()
const override;
2469 QVariant widgetValue() const override;
2471 QStringList compatibleParameterTypes() const override;
2473 QStringList compatibleOutputTypes() const override;
2474 QString modelerExpressionFormatString() const override;
2479 QgsProcessingPointCloudAttributePanelWidget *mPanel =
nullptr;
2480 QLineEdit *mLineEdit =
nullptr;
2484 friend class TestProcessingGui;
2487class GUI_EXPORT QgsProcessingVectorTileDestinationWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2497 QString parameterType()
const override;
2501 QString modelerExpressionFormatString()
const override;
Keeps a pointer to a QObject and deletes it whenever this object is deleted.
The Qgis class provides global constants for use throughout the application.
QFlags< ProcessingParameterFlag > ProcessingParameterFlags
Flags which dictate the behavior of Processing parameters.
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...
A QgsFilterLineEdit subclass with the ability to "highlight" the edges of the widget.
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.
A class for drawing transient features (e.g.
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