19#ifndef QGSPROCESSINGMODELERPARAMETERWIDGET_H
20#define QGSPROCESSINGMODELERPARAMETERWIDGET_H
33class QgsProcessingModelAlgorithm;
111 void populateSources(
const QStringList &compatibleParameterTypes,
const QStringList &compatibleOutputTypes,
const QList<int> &compatibleDataTypes );
145 void setWidgetValue( const QList<QgsProcessingModelChildParameterSource> &values );
179 virtual QVariant
value() const;
199 void sourceMenuAboutToShow();
200 void sourceMenuActionTriggered( QAction *action );
213 SourceType currentSourceType()
const;
217 QgsProcessingModelAlgorithm *mModel =
nullptr;
218 const QString mChildId;
222 QVariant mStaticValue;
223 QString mModelInputParameterName;
224 QString mOutputChildId;
228 QToolButton *mSourceButton =
nullptr;
229 QMenu *mSourceMenu =
nullptr;
230 QStackedWidget *mStackedWidget =
nullptr;
232 bool mHasStaticWrapper =
false;
233 std::unique_ptr<QgsAbstractProcessingParameterWidgetWrapper> mStaticWidgetWrapper;
235 QComboBox *mModelInputCombo =
nullptr;
236 QComboBox *mChildOutputCombo =
nullptr;
239 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.