19#ifndef QGSPROCESSINGMODELERPARAMETERWIDGET_H
20#define QGSPROCESSINGMODELERPARAMETERWIDGET_H
33class QgsProcessingModelAlgorithm;
113 void populateSources(
const QStringList &compatibleParameterTypes,
const QStringList &compatibleOutputTypes,
const QList<int> &compatibleDataTypes );
147 void setWidgetValue( const QList<QgsProcessingModelChildParameterSource> &values );
181 virtual QVariant
value() const;
210 void sourceMenuAboutToShow();
211 void sourceMenuActionTriggered( QAction *action );
224 SourceType currentSourceType()
const;
228 QgsProcessingModelAlgorithm *mModel =
nullptr;
229 const QString mChildId;
233 QVariant mStaticValue;
234 QString mModelInputParameterName;
235 QString mOutputChildId;
239 QToolButton *mSourceButton =
nullptr;
240 QMenu *mSourceMenu =
nullptr;
241 QStackedWidget *mStackedWidget =
nullptr;
243 bool mHasStaticWrapper =
false;
244 std::unique_ptr<QgsAbstractProcessingParameterWidgetWrapper> mStaticWidgetWrapper;
246 QComboBox *mModelInputCombo =
nullptr;
247 QComboBox *mChildOutputCombo =
nullptr;
250 QList<Qgis::ProcessingModelChildParameterSource> mLimitedSources;
Provides global constants and enumerations for use throughout the application.
Abstract interface for generating an expression context.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
A widget which includes a line edit for entering expressions together with a button to open the expre...
QLineEdit subclass with built in support for clearing the widget's value and handling custom null val...
An interface for objects which can create Processing contexts.
Contains information about the context in which a processing algorithm is executed.
Base class for the definition of processing parameters.
Contains settings which reflect the context in which a Processing parameter widget is shown.