18 #ifndef QGSPROCESSINGWIDGETWRAPPER_H
19 #define QGSPROCESSINGWIDGETWRAPPER_H
33 class QgsProcessingModelAlgorithm;
37 class QgsProcessingModelAlgorithm;
84 virtual QVariantMap createProcessingParameters() = 0;
171 QgsProcessingModelAlgorithm *model()
const;
179 void setModel( QgsProcessingModelAlgorithm *model );
187 QString modelChildAlgorithmId()
const;
195 void setModelChildAlgorithmId(
const QString &
id );
215 QgsProcessingModelAlgorithm *mModel =
nullptr;
217 QString mModelChildAlgorithmId;
232 class GUI_EXPORT QgsProcessingGuiUtils
334 QWidget *wrappedWidget();
340 QLabel *wrappedLabel();
349 % Property( name = param, get = parameterDefinition )
367 QVariant parameterValue()
const;
372 virtual QVariantMap customProperties()
const;
393 virtual void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers );
402 virtual int stretch()
const;
411 virtual void setDialog( QDialog *dialog );
461 virtual QVariant widgetValue()
const = 0;
491 QPointer< QWidget > mWidget;
492 QPointer< QgsPropertyOverrideButton > mPropertyButton;
493 QPointer< QLabel > mLabel;
494 std::unique_ptr< QgsVectorLayer > mDynamicLayer;
496 friend class TestProcessingGui;
524 virtual QString parameterType()
const = 0;
552 const QString &childId,
602 virtual QStringList compatibleParameterTypes()
const = 0;
618 virtual QStringList compatibleOutputTypes()
const = 0;
645 virtual QString modelerExpressionFormatString()
const;
649 #endif // QGSPROCESSINGWIDGETWRAPPER_H