110 void populateSources(
const QStringList &compatibleParameterTypes,
const QStringList &compatibleOutputTypes,
const QList<int> &compatibleDataTypes );
117 void setExpressionHelpText(
const QString &text );
136 virtual
void setWidgetValue( const QgsProcessingModelChildParameterSource &value );
144 void setWidgetValue( const QList<QgsProcessingModelChildParameterSource> &values );
153 void setToModelOutput( const QString &value );
162 bool isModelOutput() const;
171 QString modelOutputName() const;
178 virtual QVariant value() const;
185 void setDialog( QDialog *dialog );
194 void setSourceType(
Qgis::ProcessingModelChildParameterSource type );
198 void sourceMenuAboutToShow();
199 void sourceMenuActionTriggered( QAction *action );
212 SourceType currentSourceType()
const;
216 QgsProcessingModelAlgorithm *mModel =
nullptr;
217 const QString mChildId;
221 QVariant mStaticValue;
222 QString mModelInputParameterName;
223 QString mOutputChildId;
227 QToolButton *mSourceButton =
nullptr;
228 QMenu *mSourceMenu =
nullptr;
229 QStackedWidget *mStackedWidget =
nullptr;
231 bool mHasStaticWrapper =
false;
232 std::unique_ptr<QgsAbstractProcessingParameterWidgetWrapper> mStaticWidgetWrapper;
234 QComboBox *mModelInputCombo =
nullptr;
235 QComboBox *mChildOutputCombo =
nullptr;
238 QList<Qgis::ProcessingModelChildParameterSource> mLimitedSources;
240 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.