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;
208 void sourceMenuAboutToShow();
209 void sourceMenuActionTriggered( QAction *action );
222 SourceType currentSourceType()
const;
226 QgsProcessingModelAlgorithm *mModel =
nullptr;
227 const QString mChildId;
231 QVariant mStaticValue;
232 QString mModelInputParameterName;
233 QString mOutputChildId;
237 QToolButton *mSourceButton =
nullptr;
238 QMenu *mSourceMenu =
nullptr;
239 QStackedWidget *mStackedWidget =
nullptr;
241 bool mHasStaticWrapper =
false;
242 std::unique_ptr<QgsAbstractProcessingParameterWidgetWrapper> mStaticWidgetWrapper;
244 QComboBox *mModelInputCombo =
nullptr;
245 QComboBox *mChildOutputCombo =
nullptr;
248 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.