18 #ifndef QGSPROCESSINGWIDGETWRAPPER_H 19 #define QGSPROCESSINGWIDGETWRAPPER_H 33 class QgsProcessingModelAlgorithm;
37 class QgsProcessingModelAlgorithm;
101 QgsProcessingModelAlgorithm *model()
const;
109 void setModel( QgsProcessingModelAlgorithm *model );
117 QString modelChildAlgorithmId()
const;
125 void setModelChildAlgorithmId(
const QString &
id );
129 QgsProcessingModelAlgorithm *mModel =
nullptr;
131 QString mModelChildAlgorithmId;
224 QWidget *wrappedWidget();
230 QLabel *wrappedLabel();
239 % Property( name = param,
get = parameterDefinition )
257 QVariant parameterValue()
const;
269 virtual void postInitialize(
const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers );
321 virtual QVariant widgetValue()
const = 0;
350 QPointer< QWidget > mWidget;
351 QPointer< QgsPropertyOverrideButton > mPropertyButton;
352 QPointer< QLabel > mLabel;
353 std::unique_ptr< QgsVectorLayer > mDynamicLayer;
355 friend class TestProcessingGui;
383 virtual QString parameterType()
const = 0;
411 const QString &childId,
431 virtual QStringList compatibleParameterTypes()
const = 0;
447 virtual QStringList compatibleOutputTypes()
const = 0;
463 virtual QList< int > compatibleDataTypes()
const = 0;
474 virtual QString modelerExpressionFormatString()
const;
478 #endif // QGSPROCESSINGWIDGETWRAPPER_H
WidgetType
Types of dialogs which Processing widgets can be created for.
Map canvas is a class for displaying all GIS data types on a canvas.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
An interface for objects which can create Processing contexts.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Abstract interface for generating an expression context.
Contains settings which reflect the context in which a Processing parameter widget is shown...
Base class for the definition of processing parameters.
Represents a vector layer which manages a vector based data sets.
Contains information about the context in which a processing algorithm is executed.
Standard algorithm dialog.