81 const QString &childId,
115 void populateSources(
const QStringList &compatibleParameterTypes,
116 const QStringList &compatibleOutputTypes,
117 const QList< int > &compatibleDataTypes );
124 void setExpressionHelpText(
const QString &text );
143 virtual
void setWidgetValue( const QgsProcessingModelChildParameterSource &value );
151 void setWidgetValue( const QList< QgsProcessingModelChildParameterSource > &values );
160 void setToModelOutput( const QString &value );
169 bool isModelOutput() const;
178 QString modelOutputName() const;
185 virtual QVariant value() const;
192 void setDialog( QDialog *dialog );
201 void setSourceType(
Qgis::ProcessingModelChildParameterSource type );
205 void sourceMenuAboutToShow();
206 void sourceMenuActionTriggered( QAction *action );
220 SourceType currentSourceType()
const;
224 QgsProcessingModelAlgorithm *mModel =
nullptr;
225 const QString mChildId;
229 QVariant mStaticValue;
230 QString mModelInputParameterName;
231 QString mOutputChildId;
235 QToolButton *mSourceButton =
nullptr;
236 QMenu *mSourceMenu =
nullptr;
237 QStackedWidget *mStackedWidget =
nullptr;
239 bool mHasStaticWrapper =
false;
240 std::unique_ptr< QgsAbstractProcessingParameterWidgetWrapper > mStaticWidgetWrapper;
242 QComboBox *mModelInputCombo =
nullptr;
243 QComboBox *mChildOutputCombo =
nullptr;
246 QList< Qgis::ProcessingModelChildParameterSource > mLimitedSources;
248 friend class TestProcessingGui;
Abstract interface for generating an expression context.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
An interface for objects which can create Processing contexts.
Contains information about the context in which a processing algorithm is executed.