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 );
212 void emitChangedSignal();
225 SourceType currentSourceType()
const;
229 QgsProcessingModelAlgorithm *mModel =
nullptr;
230 const QString mChildId;
234 QVariant mStaticValue;
235 QString mModelInputParameterName;
236 QString mOutputChildId;
240 QToolButton *mSourceButton =
nullptr;
241 QMenu *mSourceMenu =
nullptr;
242 QStackedWidget *mStackedWidget =
nullptr;
244 bool mHasStaticWrapper =
false;
245 std::unique_ptr<QgsAbstractProcessingParameterWidgetWrapper> mStaticWidgetWrapper;
247 QComboBox *mModelInputCombo =
nullptr;
248 QComboBox *mChildOutputCombo =
nullptr;
251 QList<Qgis::ProcessingModelChildParameterSource> mLimitedSources;
253 int mBlockChangesSignal = 0;
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.