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;
423 QComboBox *mParentLayerComboBox =
nullptr;
424 QLineEdit *mMinLineEdit =
nullptr;
425 QLineEdit *mMaxLineEdit =
nullptr;
426 QLineEdit *mDefaultLineEdit =
nullptr;
430class GUI_EXPORT QgsProcessingAreaWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
440 QString parameterType()
const override;
454 void setUnits(
Qgis::AreaUnit unit );
458 QVariant widgetValue() const override;
462 Qgis::AreaUnit mBaseUnit =
Qgis::AreaUnit::Unknown;
463 QLabel *mLabel =
nullptr;
464 QWidget *mWarningLabel =
nullptr;
465 QComboBox *mUnitsCombo =
nullptr;
467 friend class TestProcessingGui;
484 QComboBox *mParentLayerComboBox =
nullptr;
485 QLineEdit *mMinLineEdit =
nullptr;
486 QLineEdit *mMaxLineEdit =
nullptr;
487 QLineEdit *mDefaultLineEdit =
nullptr;
491class GUI_EXPORT QgsProcessingVolumeWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
501 QString parameterType()
const override;
515 void setUnits(
Qgis::VolumeUnit unit );
519 QVariant widgetValue() const override;
523 Qgis::VolumeUnit mBaseUnit =
Qgis::VolumeUnit::Unknown;
524 QLabel *mLabel =
nullptr;
525 QWidget *mWarningLabel =
nullptr;
526 QComboBox *mUnitsCombo =
nullptr;
528 friend class TestProcessingGui;
545 QLineEdit *mMinLineEdit =
nullptr;
546 QLineEdit *mMaxLineEdit =
nullptr;
547 QLineEdit *mDefaultLineEdit =
nullptr;
548 QComboBox *mUnitsCombo =
nullptr;
552class GUI_EXPORT QgsProcessingDurationWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
562 QString parameterType()
const override;
576 QVariant widgetValue() const override;
581 Qgis::TemporalUnit mBaseUnit =
Qgis::TemporalUnit::Milliseconds;
582 QComboBox *mUnitsCombo =
nullptr;
584 friend class TestProcessingGui;
600 QLineEdit *mDefaultLineEdit =
nullptr;
604class GUI_EXPORT QgsProcessingScaleWidgetWrapper :
public QgsProcessingNumericWidgetWrapper
614 QString parameterType()
const override;
627 QVariant widgetValue() const override;
634 friend class TestProcessingGui;
651 QComboBox *mTypeComboBox =
nullptr;
652 QLineEdit *mMinLineEdit =
nullptr;
653 QLineEdit *mMaxLineEdit =
nullptr;
667 QString parameterType()
const override;
681 QVariant widgetValue() const override;
682 QStringList compatibleParameterTypes() const override;
683 QStringList compatibleOutputTypes() const override;
684 QString modelerExpressionFormatString() const override;
693 int mBlockChangedSignal = 0;
694 bool mAllowingNull = false;
696 friend class TestProcessingGui;
712 QgsProcessingMatrixModelerWidget *mMatrixWidget =
nullptr;
726 QString parameterType()
const override;
740 QVariant widgetValue() const override;
742 QStringList compatibleParameterTypes() const override;
743 QStringList compatibleOutputTypes() const override;
744 QString modelerExpressionFormatString() const override;
748 QgsProcessingMatrixParameterPanel *mMatrixWidget =
nullptr;
750 friend class TestProcessingGui;
766 QComboBox *mTypeComboBox =
nullptr;
767 QComboBox *mFilterComboBox =
nullptr;
782 QString parameterType()
const override;
796 QVariant widgetValue() const override;
798 QStringList compatibleParameterTypes() const override;
800 QStringList compatibleOutputTypes() const override;
801 QString modelerExpressionFormatString() const override;
807 friend class TestProcessingGui;
825 QComboBox *mParentLayerComboBox =
nullptr;
827 QgsProcessingPointCloudExpressionLineEdit *mDefaultPointCloudLineEdit =
nullptr;
828 QgsProcessingRasterCalculatorExpressionLineEdit *mDefaultRasterCalculatorLineEdit =
nullptr;
829 QComboBox *mExpressionTypeComboBox =
nullptr;
843 QString parameterType()
const override;
861 QVariant widgetValue() const override;
863 QStringList compatibleParameterTypes() const override;
865 QStringList compatibleOutputTypes() const override;
867 QString modelerExpressionFormatString() const override;
874 QgsProcessingPointCloudExpressionLineEdit *mPointCloudExpLineEdit =
nullptr;
875 QgsProcessingRasterCalculatorExpressionLineEdit *mRasterCalculatorExpLineEdit =
nullptr;
878 friend class TestProcessingGui;
882class GUI_EXPORT QgsProcessingEnumCheckboxPanelWidget : public QWidget
888 QgsProcessingEnumCheckboxPanelWidget( QWidget *parent =
nullptr,
const QgsProcessingParameterEnum *param =
nullptr,
int columns = 2 );
889 QVariant value()
const;
890 void setValue(
const QVariant &value );
898 void showPopupMenu();
905 QMap< QVariant, QAbstractButton * > mButtons;
906 QButtonGroup *mButtonGroup =
nullptr;
908 bool mBlockChangedSignal =
false;
910 friend class TestProcessingGui;
913class GUI_EXPORT QgsProcessingEnumPanelWidget :
public QWidget
920 QVariant value()
const {
return mValue; }
921 void setValue(
const QVariant &value );
933 void updateSummaryText();
936 QLineEdit *mLineEdit =
nullptr;
937 QToolButton *mToolButton =
nullptr;
941 friend class TestProcessingGui;
957 QgsProcessingEnumModelerWidget *mEnumWidget =
nullptr;
971 QString parameterType()
const override;
985 QVariant widgetValue() const override;
987 QStringList compatibleParameterTypes() const override;
989 QStringList compatibleOutputTypes() const override;
991 QString modelerExpressionFormatString() const override;
994 QComboBox *mComboBox =
nullptr;
995 QgsProcessingEnumPanelWidget *mPanel =
nullptr;
996 QgsProcessingEnumCheckboxPanelWidget *mCheckboxPanel =
nullptr;
998 friend class TestProcessingGui;
1013 QString parameterType()
const override;
1022 QVariant widgetValue() const override;
1025 QStringList compatibleParameterTypes() const override;
1027 QStringList compatibleOutputTypes() const override;
1029 QString modelerExpressionFormatString() const override;
1033 QComboBox *mPlainComboBox =
nullptr;
1035 friend class TestProcessingGui;
1053 QComboBox *mParentLayoutComboBox =
nullptr;
1067 QString parameterType()
const override;
1081 void setLayoutParameterValue( const QVariant &value );
1087 QVariant widgetValue() const override;
1089 QStringList compatibleParameterTypes() const override;
1091 QStringList compatibleOutputTypes() const override;
1092 QString modelerExpressionFormatString() const override;
1096 QLineEdit *mLineEdit =
nullptr;
1098 friend class TestProcessingGui;
1101class GUI_EXPORT QgsProcessingPointMapTool : public
QgsMapTool
1106 ~QgsProcessingPointMapTool()
override;
1107 void deactivate()
override;
1110 void keyPressEvent( QKeyEvent *e )
override;
1119 std::unique_ptr<QgsSnapIndicator> mSnapIndicator;
1120 friend class TestProcessingGui;
1123class GUI_EXPORT QgsProcessingPointPanel :
public QWidget
1129 QgsProcessingPointPanel( QWidget *parent );
1131 void setAllowNull(
bool allowNull );
1132 void setShowPointOnCanvas(
bool show );
1134 QVariant value()
const;
1140 void toggleDialogVisibility(
bool visible );
1145 void selectOnCanvas();
1148 void textChanged(
const QString &text );
1151 void updateRubberBand();
1154 bool mShowPointOnCanvas =
false;
1155 QToolButton *mButton =
nullptr;
1158 QPointer< QgsMapTool > mPrevTool;
1159 std::unique_ptr< QgsProcessingPointMapTool > mTool;
1162 friend class TestProcessingGui;
1179 QLineEdit *mDefaultLineEdit =
nullptr;
1193 QString parameterType()
const override;
1204 void setDialog( QDialog *dialog ) override;
1209 QVariant widgetValue() const override;
1211 QStringList compatibleParameterTypes() const override;
1213 QStringList compatibleOutputTypes() const override;
1214 QString modelerExpressionFormatString() const override;
1217 QgsProcessingPointPanel *mPanel =
nullptr;
1218 QLineEdit *mLineEdit =
nullptr;
1219 QDialog *mDialog =
nullptr;
1221 friend class TestProcessingGui;
1237 QLineEdit *mDefaultLineEdit =
nullptr;
1251 QString parameterType()
const override;
1265 QVariant widgetValue() const override;
1267 QStringList compatibleParameterTypes() const override;
1269 QStringList compatibleOutputTypes() const override;
1270 QString modelerExpressionFormatString() const override;
1273 QLineEdit *mLineEdit =
nullptr;
1275 friend class TestProcessingGui;
1305 QString parameterType()
const override;
1316 void setDialog( QDialog *dialog ) override;
1321 QVariant widgetValue() const override;
1323 QStringList compatibleParameterTypes() const override;
1325 QStringList compatibleOutputTypes() const override;
1326 QString modelerExpressionFormatString() const override;
1330 QDialog *mDialog =
nullptr;
1332 friend class TestProcessingGui;
1349 QCheckBox *mAllowOpacity =
nullptr;
1363 QString parameterType()
const override;
1377 QVariant widgetValue() const override;
1379 QStringList compatibleParameterTypes() const override;
1381 QStringList compatibleOutputTypes() const override;
1382 QString modelerExpressionFormatString() const override;
1386 friend class TestProcessingGui;
1404 QLineEdit *mDefaultLineEdit =
nullptr;
1406 QComboBox *mSourceParamComboBox =
nullptr;
1407 QComboBox *mDestParamComboBox =
nullptr;
1425 QString parameterType()
const override;
1440 QVariant widgetValue() const override;
1442 QStringList compatibleParameterTypes() const override;
1444 QStringList compatibleOutputTypes() const override;
1445 QString modelerExpressionFormatString() const override;
1448 void setSourceCrsParameterValue( const QVariant &value );
1449 void setDestinationCrsParameterValue( const QVariant &value );
1453 QLineEdit *mLineEdit =
nullptr;
1456 friend class TestProcessingGui;
1459class GUI_EXPORT QgsProcessingFieldPanelWidget : public QWidget
1467 void setFields(
const QgsFields &fields );
1469 QgsFields fields()
const {
return mFields; }
1471 QVariant value()
const {
return mValue; }
1472 void setValue(
const QVariant &value );
1484 void updateSummaryText();
1489 QLineEdit *mLineEdit =
nullptr;
1490 QToolButton *mToolButton =
nullptr;
1492 QVariantList mValue;
1494 friend class TestProcessingGui;
1510 QComboBox *mParentLayerComboBox =
nullptr;
1511 QComboBox *mDataTypeComboBox =
nullptr;
1512 QLineEdit *mDefaultLineEdit =
nullptr;
1513 QCheckBox *mAllowMultipleCheckBox =
nullptr;
1514 QCheckBox *mDefaultToAllCheckBox =
nullptr;
1527 QString parameterType()
const override;
1545 QVariant widgetValue() const override;
1547 QStringList compatibleParameterTypes() const override;
1549 QStringList compatibleOutputTypes() const override;
1550 QString modelerExpressionFormatString() const override;
1556 QgsProcessingFieldPanelWidget *mPanel =
nullptr;
1557 QLineEdit *mLineEdit =
nullptr;
1563 friend class TestProcessingGui;
1580 QComboBox *mDefaultComboBox =
nullptr;
1594 QString parameterType()
const override;
1608 QVariant widgetValue() const override;
1610 QStringList compatibleParameterTypes() const override;
1612 QStringList compatibleOutputTypes() const override;
1613 QString modelerExpressionFormatString() const override;
1617 QComboBox *mComboBox =
nullptr;
1619 friend class TestProcessingGui;
1636 QComboBox *mTypeComboBox =
nullptr;
1650 QString parameterType()
const override;
1664 QVariant widgetValue() const override;
1666 QStringList compatibleParameterTypes() const override;
1667 QStringList compatibleOutputTypes() const override;
1668 QString modelerExpressionFormatString() const override;
1676 friend class TestProcessingGui;
1698 QComboBox *mProviderComboBox =
nullptr;
1699 QLineEdit *mDefaultEdit =
nullptr;
1713 QString parameterType()
const override;
1728 QVariant widgetValue() const override;
1730 QStringList compatibleParameterTypes() const override;
1732 QStringList compatibleOutputTypes() const override;
1733 QString modelerExpressionFormatString() const override;
1738 int mBlockSignals = 0;
1740 friend class TestProcessingGui;
1758 QComboBox *mConnectionParamComboBox =
nullptr;
1759 QLineEdit *mDefaultEdit =
nullptr;
1773 QString parameterType()
const override;
1775 void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers )
override;
1792 QVariant widgetValue() const override;
1794 QStringList compatibleParameterTypes() const override;
1796 QStringList compatibleOutputTypes() const override;
1797 QString modelerExpressionFormatString() const override;
1802 int mBlockSignals = 0;
1804 friend class TestProcessingGui;
1823 QComboBox *mConnectionParamComboBox =
nullptr;
1824 QComboBox *mSchemaParamComboBox =
nullptr;
1825 QLineEdit *mDefaultEdit =
nullptr;
1839 QString parameterType()
const override;
1841 void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers )
override;
1859 QVariant widgetValue() const override;
1861 QStringList compatibleParameterTypes() const override;
1863 QStringList compatibleOutputTypes() const override;
1864 QString modelerExpressionFormatString() const override;
1869 int mBlockSignals = 0;
1870 QString mConnection;
1874 friend class TestProcessingGui;
1903 QString parameterType()
const override;
1917 QVariant widgetValue() const override;
1919 QStringList compatibleParameterTypes() const override;
1921 QStringList compatibleOutputTypes() const override;
1922 QString modelerExpressionFormatString() const override;
1927 QPointer< QgsProcessingMapLayerComboBox > mComboBox;
1928 int mBlockSignals = 0;
1930 friend class TestProcessingGui;
1934class GUI_EXPORT QgsProcessingRasterLayerWidgetWrapper : public QgsProcessingMapLayerWidgetWrapper
1944 QString parameterType()
const override;
1953 QStringList compatibleParameterTypes()
const override;
1955 QStringList compatibleOutputTypes()
const override;
1957 QString modelerExpressionFormatString()
const override;
1978class GUI_EXPORT QgsProcessingVectorLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
1988 QString parameterType()
const override;
1997 QStringList compatibleParameterTypes()
const override;
1999 QStringList compatibleOutputTypes()
const override;
2001 QString modelerExpressionFormatString()
const override;
2022class GUI_EXPORT QgsProcessingFeatureSourceWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
2032 QString parameterType()
const override;
2041 QStringList compatibleParameterTypes()
const override;
2043 QStringList compatibleOutputTypes()
const override;
2045 QString modelerExpressionFormatString()
const override;
2050class GUI_EXPORT QgsProcessingMeshLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
2060 QString parameterType()
const override;
2069 QStringList compatibleParameterTypes()
const override;
2071 QStringList compatibleOutputTypes()
const override;
2073 QString modelerExpressionFormatString()
const override;
2078class GUI_EXPORT QgsProcessingRasterBandPanelWidget :
public QWidget
2086 void setBands(
const QList< int > &bands );
2087 void setBandNames(
const QHash<int, QString > &names );
2088 QList< int > bands()
const {
return mBands; }
2090 QVariant value()
const {
return mValue; }
2091 void setValue(
const QVariant &value );
2103 void updateSummaryText();
2105 QList< int > mBands;
2106 QHash<int, QString > mBandNames;
2109 QLineEdit *mLineEdit =
nullptr;
2110 QToolButton *mToolButton =
nullptr;
2112 QVariantList mValue;
2114 friend class TestProcessingGui;
2130 QComboBox *mParentLayerComboBox =
nullptr;
2131 QLineEdit *mDefaultLineEdit =
nullptr;
2132 QCheckBox *mAllowMultipleCheckBox =
nullptr;
2145 QString parameterType()
const override;
2163 QVariant widgetValue() const override;
2165 QStringList compatibleParameterTypes() const override;
2167 QStringList compatibleOutputTypes() const override;
2168 QString modelerExpressionFormatString() const override;
2173 QgsProcessingRasterBandPanelWidget *mPanel =
nullptr;
2174 QLineEdit *mLineEdit =
nullptr;
2178 friend class TestProcessingGui;
2188 void dragEnterEvent( QDragEnterEvent *event )
override;
2189 void dragLeaveEvent( QDragLeaveEvent *event )
override;
2190 void dropEvent( QDropEvent *event )
override;
2194 void layersDropped(
const QVariantList &value );
2200class GUI_EXPORT QgsProcessingMultipleLayerPanelWidget :
public QWidget
2208 QVariant value()
const {
return mValue; }
2209 void setValue(
const QVariant &value );
2212 void setModel( QgsProcessingModelAlgorithm *model,
const QString &modelChildAlgorithmID );
2224 void updateSummaryText();
2227 QgsProcessingMultipleLayerLineEdit *mLineEdit =
nullptr;
2228 QToolButton *mToolButton =
nullptr;
2230 QVariantList mValue;
2231 QList< QgsProcessingModelChildParameterSource > mModelSources;
2232 QgsProcessingModelAlgorithm *mModel =
nullptr;
2236 friend class TestProcessingGui;
2252 QComboBox *mLayerTypeComboBox =
nullptr;
2265 QString parameterType()
const override;
2280 QVariant widgetValue() const override;
2282 QStringList compatibleParameterTypes() const override;
2284 QStringList compatibleOutputTypes() const override;
2285 QString modelerExpressionFormatString() const override;
2289 QgsProcessingMultipleLayerPanelWidget *mPanel =
nullptr;
2291 friend class TestProcessingGui;
2310 QVariant widgetValue() const override;
2311 QVariantMap customProperties() const override;
2313 QStringList compatibleParameterTypes() const override;
2315 QStringList compatibleOutputTypes() const override;
2319 QgsProcessingLayerOutputDestinationWidget *mOutputWidget =
nullptr;
2320 int mBlockSignals = 0;
2322 friend class TestProcessingGui;
2326class GUI_EXPORT QgsProcessingFeatureSinkWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2336 QString parameterType()
const override;
2340 QString modelerExpressionFormatString()
const override;
2347class GUI_EXPORT QgsProcessingVectorDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2357 QString parameterType()
const override;
2361 QString modelerExpressionFormatString()
const override;
2365class GUI_EXPORT QgsProcessingRasterDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2375 QString parameterType()
const override;
2379 QString modelerExpressionFormatString()
const override;
2383class GUI_EXPORT QgsProcessingPointCloudDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2393 QString parameterType()
const override;
2397 QString modelerExpressionFormatString()
const override;
2401class GUI_EXPORT QgsProcessingFileDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2411 QString parameterType()
const override;
2415 QStringList compatibleParameterTypes()
const override;
2416 QStringList compatibleOutputTypes()
const override;
2417 QString modelerExpressionFormatString()
const override;
2421class GUI_EXPORT QgsProcessingFolderDestinationWidgetWrapper :
public QgsProcessingOutputWidgetWrapper
2431 QString parameterType()
const override;
2435 QStringList compatibleParameterTypes()
const override;
2436 QStringList compatibleOutputTypes()
const override;
2437 QString modelerExpressionFormatString()
const override;
2441class GUI_EXPORT QgsProcessingPointCloudLayerWidgetWrapper :
public QgsProcessingMapLayerWidgetWrapper
2451 QString parameterType()
const override;
2460 QStringList compatibleParameterTypes()
const override;
2462 QStringList compatibleOutputTypes()
const override;
2464 QString modelerExpressionFormatString()
const override;
2479 QString parameterType()
const override;
2492 QVariant widgetValue() const override;
2494 QStringList compatibleParameterTypes() const override;
2496 QStringList compatibleOutputTypes() const override;
2498 QString modelerExpressionFormatString() const override;
2503 int mBlockSignals = 0;
2505 friend class TestProcessingGui;
2509class GUI_EXPORT QgsProcessingPointCloudAttributePanelWidget : public QWidget
2521 QVariant value()
const {
return mValue; }
2522 void setValue(
const QVariant &value );
2534 void updateSummaryText();
2539 QLineEdit *mLineEdit =
nullptr;
2540 QToolButton *mToolButton =
nullptr;
2542 QVariantList mValue;
2544 friend class TestProcessingGui;
2560 QComboBox *mParentLayerComboBox =
nullptr;
2561 QLineEdit *mDefaultLineEdit =
nullptr;
2562 QCheckBox *mAllowMultipleCheckBox =
nullptr;
2563 QCheckBox *mDefaultToAllCheckBox =
nullptr;
2576 QString parameterType()
const override;
2594 QVariant widgetValue() const override;
2596 QStringList compatibleParameterTypes() const override;
2598 QStringList compatibleOutputTypes() const override;
2599 QString modelerExpressionFormatString() const override;
2604 QgsProcessingPointCloudAttributePanelWidget *mPanel =
nullptr;
2605 QLineEdit *mLineEdit =
nullptr;
2609 friend class TestProcessingGui;
2612class GUI_EXPORT QgsProcessingVectorTileDestinationWidgetWrapper : public QgsProcessingOutputWidgetWrapper
2622 QString parameterType()
const override;
2626 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