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;
90 QCheckBox *mDefaultCheckBox =
nullptr;
101 QString parameterType()
const override;
116 QVariant widgetValue() const override;
118 QStringList compatibleParameterTypes() const override;
120 QStringList compatibleOutputTypes() const override;
123 QCheckBox *mCheckBox =
nullptr;
124 QComboBox *mComboBox =
nullptr;
126 friend class TestProcessingGui;
149 QString parameterType()
const override;
163 QVariant widgetValue() const override;
165 QStringList compatibleParameterTypes() const override;
166 QStringList compatibleOutputTypes() const override;
167 QString modelerExpressionFormatString() const override;
171 QCheckBox *mUseProjectCrsCheckBox =
nullptr;
173 friend class TestProcessingGui;
185 QLineEdit *mDefaultLineEdit =
nullptr;
186 QCheckBox *mMultiLineCheckBox =
nullptr;
197 QString parameterType()
const override;
211 QVariant widgetValue() const override;
213 QStringList compatibleParameterTypes() const override;
215 QStringList compatibleOutputTypes() const override;
218 QLineEdit *mLineEdit =
nullptr;
219 QComboBox *mComboBox =
nullptr;
220 QPlainTextEdit *mPlainTextEdit =
nullptr;
222 friend class TestProcessingGui;
234 QString parameterType()
const override;
242 QVariant widgetValue() const override;
244 QStringList compatibleParameterTypes() const override;
246 QStringList compatibleOutputTypes() const override;
251 friend class TestProcessingGui;
263 QComboBox *mTypeComboBox =
nullptr;
264 QLineEdit *mMinLineEdit =
nullptr;
265 QLineEdit *mMaxLineEdit =
nullptr;
266 QLineEdit *mDefaultLineEdit =
nullptr;
278 QString parameterType()
const override;
292 QVariant widgetValue() const override;
294 QStringList compatibleParameterTypes() const override;
296 QStringList compatibleOutputTypes() const override;
303 static
double calculateStep(
double minimum,
double maximum );
305 bool mAllowingNull = false;
307 friend class TestProcessingGui;
319 QComboBox *mParentLayerComboBox =
nullptr;
320 QLineEdit *mMinLineEdit =
nullptr;
321 QLineEdit *mMaxLineEdit =
nullptr;
322 QLineEdit *mDefaultLineEdit =
nullptr;
325class GUI_EXPORT QgsProcessingDistanceWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
333 QString parameterType()
const override;
348 void setUnits(
Qgis::DistanceUnit unit );
351 QVariant widgetValue() const override;
354 Qgis::DistanceUnit mBaseUnit =
Qgis::DistanceUnit::Unknown;
355 QLabel *mLabel =
nullptr;
356 QWidget *mWarningLabel =
nullptr;
357 QComboBox *mUnitsCombo =
nullptr;
359 friend class TestProcessingGui;
370 QComboBox *mParentLayerComboBox =
nullptr;
371 QLineEdit *mMinLineEdit =
nullptr;
372 QLineEdit *mMaxLineEdit =
nullptr;
373 QLineEdit *mDefaultLineEdit =
nullptr;
376class GUI_EXPORT QgsProcessingAreaWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
384 QString parameterType()
const override;
399 void setUnits(
Qgis::AreaUnit unit );
402 QVariant widgetValue() const override;
405 Qgis::AreaUnit mBaseUnit =
Qgis::AreaUnit::Unknown;
406 QLabel *mLabel =
nullptr;
407 QWidget *mWarningLabel =
nullptr;
408 QComboBox *mUnitsCombo =
nullptr;
410 friend class TestProcessingGui;
422 QComboBox *mParentLayerComboBox =
nullptr;
423 QLineEdit *mMinLineEdit =
nullptr;
424 QLineEdit *mMaxLineEdit =
nullptr;
425 QLineEdit *mDefaultLineEdit =
nullptr;
428class GUI_EXPORT QgsProcessingVolumeWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
436 QString parameterType()
const override;
451 void setUnits(
Qgis::VolumeUnit unit );
454 QVariant widgetValue() const override;
457 Qgis::VolumeUnit mBaseUnit =
Qgis::VolumeUnit::Unknown;
458 QLabel *mLabel =
nullptr;
459 QWidget *mWarningLabel =
nullptr;
460 QComboBox *mUnitsCombo =
nullptr;
462 friend class TestProcessingGui;
474 QLineEdit *mMinLineEdit =
nullptr;
475 QLineEdit *mMaxLineEdit =
nullptr;
476 QLineEdit *mDefaultLineEdit =
nullptr;
477 QComboBox *mUnitsCombo =
nullptr;
480class GUI_EXPORT QgsProcessingDurationWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
488 QString parameterType()
const override;
502 QVariant widgetValue() const override;
506 Qgis::TemporalUnit mBaseUnit =
Qgis::TemporalUnit::Milliseconds;
507 QComboBox *mUnitsCombo =
nullptr;
509 friend class TestProcessingGui;
520 QLineEdit *mDefaultLineEdit =
nullptr;
523class GUI_EXPORT QgsProcessingScaleWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
531 QString parameterType()
const override;
545 QVariant widgetValue() const override;
551 friend class TestProcessingGui;
563 QComboBox *mTypeComboBox =
nullptr;
564 QLineEdit *mMinLineEdit =
nullptr;
565 QLineEdit *mMaxLineEdit =
nullptr;
576 QString parameterType()
const override;
590 QVariant widgetValue() const override;
591 QStringList compatibleParameterTypes() const override;
592 QStringList compatibleOutputTypes() const override;
593 QString modelerExpressionFormatString() const override;
600 int mBlockChangedSignal = 0;
601 bool mAllowingNull = false;
603 friend class TestProcessingGui;
614 QgsProcessingMatrixModelerWidget *mMatrixWidget =
nullptr;
625 QString parameterType()
const override;
639 QVariant widgetValue() const override;
641 QStringList compatibleParameterTypes() const override;
642 QStringList compatibleOutputTypes() const override;
643 QString modelerExpressionFormatString() const override;
646 QgsProcessingMatrixParameterPanel *mMatrixWidget =
nullptr;
648 friend class TestProcessingGui;
659 QComboBox *mTypeComboBox =
nullptr;
660 QComboBox *mFilterComboBox =
nullptr;
672 QString parameterType()
const override;
686 QVariant widgetValue() const override;
688 QStringList compatibleParameterTypes() const override;
690 QStringList compatibleOutputTypes() const override;
691 QString modelerExpressionFormatString() const override;
696 friend class TestProcessingGui;
708 QComboBox *mParentLayerComboBox =
nullptr;
710 QgsProcessingPointCloudExpressionLineEdit *mDefaultPointCloudLineEdit =
nullptr;
711 QgsProcessingRasterCalculatorExpressionLineEdit *mDefaultRasterCalculatorLineEdit =
nullptr;
712 QComboBox *mExpressionTypeComboBox =
nullptr;
723 QString parameterType()
const override;
742 QVariant widgetValue() const override;
744 QStringList compatibleParameterTypes() const override;
746 QStringList compatibleOutputTypes() const override;
748 QString modelerExpressionFormatString() const override;
755 QgsProcessingPointCloudExpressionLineEdit *mPointCloudExpLineEdit =
nullptr;
756 QgsProcessingRasterCalculatorExpressionLineEdit *mRasterCalculatorExpLineEdit =
nullptr;
759 friend class TestProcessingGui;
763class GUI_EXPORT QgsProcessingEnumCheckboxPanelWidget : public QWidget
768 QgsProcessingEnumCheckboxPanelWidget( QWidget *parent =
nullptr,
const QgsProcessingParameterEnum *param =
nullptr,
int columns = 2 );
769 QVariant value()
const;
770 void setValue(
const QVariant &value );
778 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
798 QVariant value()
const {
return mValue; }
799 void setValue(
const QVariant &value );
810 void updateSummaryText();
813 QLineEdit *mLineEdit =
nullptr;
814 QToolButton *mToolButton =
nullptr;
818 friend class TestProcessingGui;
829 QgsProcessingEnumModelerWidget *mEnumWidget =
nullptr;
840 QString parameterType()
const override;
854 QVariant widgetValue() const override;
856 QStringList compatibleParameterTypes() const override;
858 QStringList compatibleOutputTypes() const override;
860 QString modelerExpressionFormatString() const override;
863 QComboBox *mComboBox =
nullptr;
864 QgsProcessingEnumPanelWidget *mPanel =
nullptr;
865 QgsProcessingEnumCheckboxPanelWidget *mCheckboxPanel =
nullptr;
867 friend class TestProcessingGui;
879 QString parameterType()
const override;
887 QVariant widgetValue() const override;
890 QStringList compatibleParameterTypes() const override;
892 QStringList compatibleOutputTypes() const override;
894 QString modelerExpressionFormatString() const override;
898 QComboBox *mPlainComboBox =
nullptr;
900 friend class TestProcessingGui;
912 QComboBox *mParentLayoutComboBox =
nullptr;
923 QString parameterType()
const override;
938 void setLayoutParameterValue( const QVariant &value );
943 QVariant widgetValue() const override;
945 QStringList compatibleParameterTypes() const override;
947 QStringList compatibleOutputTypes() const override;
948 QString modelerExpressionFormatString() const override;
952 QLineEdit *mLineEdit =
nullptr;
954 friend class TestProcessingGui;
957class GUI_EXPORT QgsProcessingPointMapTool : public
QgsMapTool
962 ~QgsProcessingPointMapTool()
override;
963 void deactivate()
override;
966 void keyPressEvent( QKeyEvent *e )
override;
974 std::unique_ptr<QgsSnapIndicator> mSnapIndicator;
975 friend class TestProcessingGui;
978class GUI_EXPORT QgsProcessingPointPanel :
public QWidget
983 QgsProcessingPointPanel( QWidget *parent );
985 void setAllowNull(
bool allowNull );
986 void setShowPointOnCanvas(
bool show );
987 void setAllowSelectOnCanvas(
bool allow );
989 QVariant value()
const;
992 void showEvent( QShowEvent *event )
override;
996 void toggleDialogVisibility(
bool visible );
1001 void selectOnCanvas();
1004 void textChanged(
const QString &text );
1007 void updateRubberBand();
1010 bool mShowPointOnCanvas =
false;
1011 bool mFirstShow =
true;
1012 bool mAllowSelectOnCanvas =
true;
1013 QToolButton *mButton =
nullptr;
1016 QPointer<QgsMapTool> mPrevTool;
1017 std::unique_ptr<QgsProcessingPointMapTool> mTool;
1020 friend class TestProcessingGui;
1032 QLineEdit *mDefaultLineEdit =
nullptr;
1043 QString parameterType()
const override;
1055 void setDialog( QDialog *dialog ) override;
1059 QVariant widgetValue() const override;
1061 QStringList compatibleParameterTypes() const override;
1063 QStringList compatibleOutputTypes() const override;
1064 QString modelerExpressionFormatString() const override;
1067 QgsProcessingPointPanel *mPanel =
nullptr;
1068 QLineEdit *mLineEdit =
nullptr;
1069 QDialog *mDialog =
nullptr;
1071 friend class TestProcessingGui;
1093 QString parameterType()
const override;
1107 QVariant widgetValue() const override;
1109 QStringList compatibleParameterTypes() const override;
1111 QStringList compatibleOutputTypes() const override;
1112 QString modelerExpressionFormatString() const override;
1117 friend class TestProcessingGui;
1139 QString parameterType()
const override;
1151 void setDialog( QDialog *dialog ) override;
1155 QVariant widgetValue() const override;
1157 QStringList compatibleParameterTypes() const override;
1159 QStringList compatibleOutputTypes() const override;
1160 QString modelerExpressionFormatString() const override;
1164 QDialog *mDialog =
nullptr;
1166 friend class TestProcessingGui;
1178 QCheckBox *mAllowOpacity =
nullptr;
1189 QString parameterType()
const override;
1203 QVariant widgetValue() const override;
1205 QStringList compatibleParameterTypes() const override;
1207 QStringList compatibleOutputTypes() const override;
1208 QString modelerExpressionFormatString() const override;
1212 friend class TestProcessingGui;
1224 QLineEdit *mDefaultLineEdit =
nullptr;
1226 QComboBox *mSourceParamComboBox =
nullptr;
1227 QComboBox *mDestParamComboBox =
nullptr;
1241 QString parameterType()
const override;
1257 QVariant widgetValue() const override;
1259 QStringList compatibleParameterTypes() const override;
1261 QStringList compatibleOutputTypes() const override;
1262 QString modelerExpressionFormatString() const override;
1265 void setSourceCrsParameterValue( const QVariant &value );
1266 void setDestinationCrsParameterValue( const QVariant &value );
1270 QLineEdit *mLineEdit =
nullptr;
1273 friend class TestProcessingGui;
1276class GUI_EXPORT QgsProcessingFieldPanelWidget : public QWidget
1283 void setFields(
const QgsFields &fields );
1285 QgsFields fields()
const {
return mFields; }
1287 QVariant value()
const {
return mValue; }
1288 void setValue(
const QVariant &value );
1299 void updateSummaryText();
1304 QLineEdit *mLineEdit =
nullptr;
1305 QToolButton *mToolButton =
nullptr;
1307 QVariantList mValue;
1309 friend class TestProcessingGui;
1320 QComboBox *mParentLayerComboBox =
nullptr;
1321 QComboBox *mDataTypeComboBox =
nullptr;
1322 QLineEdit *mDefaultLineEdit =
nullptr;
1323 QCheckBox *mAllowMultipleCheckBox =
nullptr;
1324 QCheckBox *mDefaultToAllCheckBox =
nullptr;
1335 QString parameterType()
const override;
1353 QVariant widgetValue() const override;
1355 QStringList compatibleParameterTypes() const override;
1357 QStringList compatibleOutputTypes() const override;
1358 QString modelerExpressionFormatString() const override;
1363 QgsProcessingFieldPanelWidget *mPanel =
nullptr;
1364 QLineEdit *mLineEdit =
nullptr;
1370 friend class TestProcessingGui;
1382 QComboBox *mDefaultComboBox =
nullptr;
1393 QString parameterType()
const override;
1407 QVariant widgetValue() const override;
1409 QStringList compatibleParameterTypes() const override;
1411 QStringList compatibleOutputTypes() const override;
1412 QString modelerExpressionFormatString() const override;
1415 QComboBox *mComboBox =
nullptr;
1417 friend class TestProcessingGui;
1429 QComboBox *mTypeComboBox =
nullptr;
1440 QString parameterType()
const override;
1454 QVariant widgetValue() const override;
1456 QStringList compatibleParameterTypes() const override;
1457 QStringList compatibleOutputTypes() const override;
1458 QString modelerExpressionFormatString() const override;
1465 friend class TestProcessingGui;
1481 QComboBox *mProviderComboBox =
nullptr;
1482 QLineEdit *mDefaultEdit =
nullptr;
1493 QString parameterType()
const override;
1508 QVariant widgetValue() const override;
1510 QStringList compatibleParameterTypes() const override;
1512 QStringList compatibleOutputTypes() const override;
1513 QString modelerExpressionFormatString() const override;
1517 int mBlockSignals = 0;
1519 friend class TestProcessingGui;
1531 QComboBox *mConnectionParamComboBox =
nullptr;
1532 QLineEdit *mDefaultEdit =
nullptr;
1543 QString parameterType()
const override;
1545 void postInitialize(
const QList<QgsAbstractProcessingParameterWidgetWrapper *> &wrappers )
override;
1562 QVariant widgetValue() const override;
1564 QStringList compatibleParameterTypes() const override;
1566 QStringList compatibleOutputTypes() const override;
1567 QString modelerExpressionFormatString() const override;
1571 int mBlockSignals = 0;
1573 friend class TestProcessingGui;
1585 QComboBox *mConnectionParamComboBox =
nullptr;
1586 QComboBox *mSchemaParamComboBox =
nullptr;
1587 QLineEdit *mDefaultEdit =
nullptr;
1598 QString parameterType()
const override;
1600 void postInitialize(
const QList<QgsAbstractProcessingParameterWidgetWrapper *> &wrappers )
override;
1618 QVariant widgetValue() const override;
1620 QStringList compatibleParameterTypes() const override;
1622 QStringList compatibleOutputTypes() const override;
1623 QString modelerExpressionFormatString() const override;
1627 int mBlockSignals = 0;
1628 QString mConnection;
1632 friend class TestProcessingGui;
1654 QString parameterType()
const override;
1669 QVariant widgetValue() const override;
1671 QStringList compatibleParameterTypes() const override;
1673 QStringList compatibleOutputTypes() const override;
1674 QString modelerExpressionFormatString() const override;
1678 QPointer<QgsProcessingMapLayerComboBox> mComboBox;
1679 int mBlockSignals = 0;
1681 friend class TestProcessingGui;
1685class GUI_EXPORT QgsProcessingRasterLayerWidgetWrapper : public QgsProcessingMapLayerWidgetWrapper
1693 QString parameterType()
const override;
1703 QStringList compatibleParameterTypes()
const override;
1705 QStringList compatibleOutputTypes()
const override;
1707 QString modelerExpressionFormatString()
const override;
1722class GUI_EXPORT QgsProcessingVectorLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1730 QString parameterType()
const override;
1740 QStringList compatibleParameterTypes()
const override;
1742 QStringList compatibleOutputTypes()
const override;
1744 QString modelerExpressionFormatString()
const override;
1760class GUI_EXPORT QgsProcessingFeatureSourceWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1768 QString parameterType()
const override;
1778 QStringList compatibleParameterTypes()
const override;
1780 QStringList compatibleOutputTypes()
const override;
1782 QString modelerExpressionFormatString()
const override;
1787class GUI_EXPORT QgsProcessingMeshLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1795 QString parameterType()
const override;
1805 QStringList compatibleParameterTypes()
const override;
1807 QStringList compatibleOutputTypes()
const override;
1809 QString modelerExpressionFormatString()
const override;
1813class GUI_EXPORT QgsProcessingRasterBandPanelWidget :
public QWidget
1820 void setBands(
const QList<int> &bands );
1821 void setBandNames(
const QHash<int, QString> &names );
1822 QList<int> bands()
const {
return mBands; }
1824 QVariant value()
const {
return mValue; }
1825 void setValue(
const QVariant &value );
1836 void updateSummaryText();
1839 QHash<int, QString> mBandNames;
1842 QLineEdit *mLineEdit =
nullptr;
1843 QToolButton *mToolButton =
nullptr;
1845 QVariantList mValue;
1847 friend class TestProcessingGui;
1858 QComboBox *mParentLayerComboBox =
nullptr;
1859 QLineEdit *mDefaultLineEdit =
nullptr;
1860 QCheckBox *mAllowMultipleCheckBox =
nullptr;
1871 QString parameterType()
const override;
1889 QVariant widgetValue() const override;
1891 QStringList compatibleParameterTypes() const override;
1893 QStringList compatibleOutputTypes() const override;
1894 QString modelerExpressionFormatString() const override;
1898 QgsProcessingRasterBandPanelWidget *mPanel =
nullptr;
1899 QLineEdit *mLineEdit =
nullptr;
1903 friend class TestProcessingGui;
1913 void dragEnterEvent( QDragEnterEvent *event )
override;
1914 void dragLeaveEvent( QDragLeaveEvent *event )
override;
1915 void dropEvent( QDropEvent *event )
override;
1919 void layersDropped(
const QVariantList &value );
1925class GUI_EXPORT QgsProcessingMultipleLayerPanelWidget :
public QWidget
1932 QVariant value()
const {
return mValue; }
1933 void setValue(
const QVariant &value );
1936 void setModel( QgsProcessingModelAlgorithm *model,
const QString &modelChildAlgorithmID );
1947 void updateSummaryText();
1950 QgsProcessingMultipleLayerLineEdit *mLineEdit =
nullptr;
1951 QToolButton *mToolButton =
nullptr;
1953 QVariantList mValue;
1954 QList<QgsProcessingModelChildParameterSource> mModelSources;
1955 QgsProcessingModelAlgorithm *mModel =
nullptr;
1959 friend class TestProcessingGui;
1970 QComboBox *mLayerTypeComboBox =
nullptr;
1981 QString parameterType()
const override;
1996 QVariant widgetValue() const override;
1998 QStringList compatibleParameterTypes() const override;
2000 QStringList compatibleOutputTypes() const override;
2001 QString modelerExpressionFormatString() const override;
2004 QgsProcessingMultipleLayerPanelWidget *mPanel =
nullptr;
2006 friend class TestProcessingGui;
2022 QVariant widgetValue() const override;
2023 QVariantMap customProperties() const override;
2025 QStringList compatibleParameterTypes() const override;
2027 QStringList compatibleOutputTypes() const override;
2030 QgsProcessingLayerOutputDestinationWidget *mOutputWidget =
nullptr;
2031 int mBlockSignals = 0;
2033 friend class TestProcessingGui;
2037class GUI_EXPORT QgsProcessingFeatureSinkWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2045 QString parameterType()
const override;
2049 QString modelerExpressionFormatString()
const override;
2055class GUI_EXPORT QgsProcessingVectorDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2063 QString parameterType()
const override;
2067 QString modelerExpressionFormatString()
const override;
2070class GUI_EXPORT QgsProcessingRasterDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2078 QString parameterType()
const override;
2082 QString modelerExpressionFormatString()
const override;
2085class GUI_EXPORT QgsProcessingPointCloudDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2093 QString parameterType()
const override;
2097 QString modelerExpressionFormatString()
const override;
2100class GUI_EXPORT QgsProcessingFileDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2108 QString parameterType()
const override;
2112 QStringList compatibleParameterTypes()
const override;
2113 QStringList compatibleOutputTypes()
const override;
2114 QString modelerExpressionFormatString()
const override;
2117class GUI_EXPORT QgsProcessingFolderDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2125 QString parameterType()
const override;
2129 QStringList compatibleParameterTypes()
const override;
2130 QStringList compatibleOutputTypes()
const override;
2131 QString modelerExpressionFormatString()
const override;
2134class GUI_EXPORT QgsProcessingPointCloudLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
2142 QString parameterType()
const override;
2152 QStringList compatibleParameterTypes()
const override;
2154 QStringList compatibleOutputTypes()
const override;
2156 QString modelerExpressionFormatString()
const override;
2168 QString parameterType()
const override;
2182 QVariant widgetValue() const override;
2184 QStringList compatibleParameterTypes() const override;
2186 QStringList compatibleOutputTypes() const override;
2188 QString modelerExpressionFormatString() const override;
2192 int mBlockSignals = 0;
2194 friend class TestProcessingGui;
2198class GUI_EXPORT QgsProcessingPointCloudAttributePanelWidget : public QWidget
2209 QVariant value()
const {
return mValue; }
2210 void setValue(
const QVariant &value );
2221 void updateSummaryText();
2226 QLineEdit *mLineEdit =
nullptr;
2227 QToolButton *mToolButton =
nullptr;
2229 QVariantList mValue;
2231 friend class TestProcessingGui;
2242 QComboBox *mParentLayerComboBox =
nullptr;
2243 QLineEdit *mDefaultLineEdit =
nullptr;
2244 QCheckBox *mAllowMultipleCheckBox =
nullptr;
2245 QCheckBox *mDefaultToAllCheckBox =
nullptr;
2256 QString parameterType()
const override;
2274 QVariant widgetValue() const override;
2276 QStringList compatibleParameterTypes() const override;
2278 QStringList compatibleOutputTypes() const override;
2279 QString modelerExpressionFormatString() const override;
2283 QgsProcessingPointCloudAttributePanelWidget *mPanel =
nullptr;
2284 QLineEdit *mLineEdit =
nullptr;
2288 friend class TestProcessingGui;
2291class GUI_EXPORT QgsProcessingVectorTileDestinationWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2299 QString parameterType()
const override;
2303 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