19 #ifndef QGSPROCESSINGWIDGETWRAPPERIMPL_H 20 #define QGSPROCESSINGWIDGETWRAPPERIMPL_H 32 class QgsProcessingMatrixParameterPanel;
51 QLabel *createLabel() override SIP_FACTORY;
56 QVariant widgetValue() const override;
58 QStringList compatibleParameterTypes() const override;
60 QStringList compatibleOutputTypes() const override;
62 QList<
int > compatibleDataTypes() const override;
66 QCheckBox *mCheckBox =
nullptr;
67 QComboBox *mComboBox =
nullptr;
69 friend class TestProcessingGui;
91 QVariant widgetValue() const override;
93 QStringList compatibleParameterTypes() const override;
94 QStringList compatibleOutputTypes() const override;
95 QList<
int > compatibleDataTypes() const override;
96 QString modelerExpressionFormatString() const override;
101 QCheckBox *mUseProjectCrsCheckBox =
nullptr;
103 friend class TestProcessingGui;
106 class GUI_EXPORT QgsProcessingStringWidgetWrapper : public QgsAbstractProcessingParameterWidgetWrapper, public QgsProcessingParameterWidgetFactoryInterface
125 QVariant widgetValue() const override;
127 QStringList compatibleParameterTypes() const override;
129 QStringList compatibleOutputTypes() const override;
131 QList<
int > compatibleDataTypes() const override;
135 QLineEdit *mLineEdit =
nullptr;
136 QPlainTextEdit *mPlainTextEdit =
nullptr;
138 friend class TestProcessingGui;
141 class GUI_EXPORT QgsProcessingNumericWidgetWrapper : public QgsAbstractProcessingParameterWidgetWrapper, public QgsProcessingParameterWidgetFactoryInterface
160 QVariant widgetValue() const override;
162 QStringList compatibleParameterTypes() const override;
164 QStringList compatibleOutputTypes() const override;
166 QList<
int > compatibleDataTypes() const override;
175 static
double calculateStep(
double minimum,
double maximum );
177 bool mAllowingNull = false;
179 friend class TestProcessingGui;
183 class GUI_EXPORT QgsProcessingDistanceWidgetWrapper : public QgsProcessingNumericWidgetWrapper
198 void postInitialize( const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers ) override;
201 void setUnitParameterValue( const QVariant &value );
206 QVariant widgetValue() const override;
211 QLabel *mLabel =
nullptr;
212 QWidget *mWarningLabel =
nullptr;
213 QComboBox *mUnitsCombo =
nullptr;
215 friend class TestProcessingGui;
219 class GUI_EXPORT QgsProcessingRangeWidgetWrapper : public QgsAbstractProcessingParameterWidgetWrapper, public QgsProcessingParameterWidgetFactoryInterface
238 QVariant widgetValue() const override;
239 QStringList compatibleParameterTypes() const override;
240 QStringList compatibleOutputTypes() const override;
241 QList<
int > compatibleDataTypes() const override;
242 QString modelerExpressionFormatString() const override;
251 int mBlockChangedSignal = 0;
253 friend class TestProcessingGui;
257 class GUI_EXPORT QgsProcessingMatrixWidgetWrapper : public QgsAbstractProcessingParameterWidgetWrapper, public QgsProcessingParameterWidgetFactoryInterface
276 QVariant widgetValue() const override;
278 QStringList compatibleParameterTypes() const override;
279 QStringList compatibleOutputTypes() const override;
280 QList<
int > compatibleDataTypes() const override;
281 QString modelerExpressionFormatString() const override;
285 QgsProcessingMatrixParameterPanel *mMatrixWidget =
nullptr;
287 friend class TestProcessingGui;
292 #endif // QGSPROCESSINGWIDGETWRAPPERIMPL_H The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value...
WidgetType
Types of dialogs which Processing widgets can be created for.
Helper functions for various unit types.
The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value...
Base class for the definition of processing parameters.
Contains information about the context in which a processing algorithm is executed.
Standard algorithm dialog.