|
| QgsProcessingHiddenWidgetWrapper (const QgsProcessingParameterDefinition *parameter=nullptr, QgsProcessingGui::WidgetType type=QgsProcessingGui::Standard, QObject *parent=nullptr) |
| Constructor for QgsProcessingHiddenWidgetWrapper, for the specified parameter definition and dialog type. More...
|
|
const QgsVectorLayer * | linkedVectorLayer () const override |
| Returns the optional vector layer associated with this widget wrapper, or nullptr if no vector layer is applicable. More...
|
|
void | setLinkedVectorLayer (const QgsVectorLayer *layer) |
| Sets the vector layer linked to the wrapper. More...
|
|
void | setWidgetValue (const QVariant &value, QgsProcessingContext &context) override |
| Sets the current value for the parameter to show in the widget. More...
|
|
QVariant | widgetValue () const override |
| Returns the current value of the parameter. More...
|
|
| QgsAbstractProcessingParameterWidgetWrapper (const QgsProcessingParameterDefinition *parameter=nullptr, QgsProcessingGui::WidgetType type=QgsProcessingGui::Standard, QObject *parent=nullptr) |
| Constructor for QgsAbstractProcessingParameterWidgetWrapper, for the specified parameter definition and dialog type. More...
|
|
QgsExpressionContext | createExpressionContext () const override |
| This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
|
|
QLabel * | createWrappedLabel () |
| Creates and returns a new label to accompany widgets created by the wrapper. More...
|
|
QWidget * | createWrappedWidget (QgsProcessingContext &context) |
| Creates and return a new wrapped widget which allows customization of the parameter's value. More...
|
|
virtual QVariantMap | customProperties () const |
| Returns any custom properties set by the wrapper. More...
|
|
const QgsProcessingParameterDefinition * | parameterDefinition () const |
| Returns the parameter definition associated with this wrapper. More...
|
|
QVariant | parameterValue () const |
| Returns the current value of the parameter. More...
|
|
virtual void | postInitialize (const QList< QgsAbstractProcessingParameterWidgetWrapper * > &wrappers) |
| Called after all wrappers have been created within a particular dialog or context, allowing the wrapper to connect to the wrappers of other, related parameters. More...
|
|
virtual void | registerProcessingContextGenerator (QgsProcessingContextGenerator *generator) |
| Registers a Processing context generator class that will be used to retrieve a Processing context for the wrapper when required. More...
|
|
void | registerProcessingParametersGenerator (QgsProcessingParametersGenerator *generator) |
| Registers a Processing parameters generator class that will be used to retrieve algorithm parameters for the wrapper when required (e.g. More...
|
|
virtual void | setDialog (QDialog *dialog) |
| Sets the parent dialog in which the wrapper is shown. More...
|
|
void | setParameterValue (const QVariant &value, QgsProcessingContext &context) |
| Sets the current value for the parameter. More...
|
|
virtual void | setWidgetContext (const QgsProcessingParameterWidgetContext &context) |
| Sets the context in which the Processing parameter widget is shown, e.g., the parent model algorithm, a linked map canvas, and other relevant information which allows the widget to fine-tune its behavior. More...
|
|
virtual int | stretch () const |
| Returns the Qt layout "stretch" factor to use when adding this widget to a layout. More...
|
|
QgsProcessingGui::WidgetType | type () const |
| Returns the dialog type for which widgets and labels will be created by this wrapper. More...
|
|
const QgsProcessingParameterWidgetContext & | widgetContext () const |
| Returns the context in which the Processing parameter widget is shown, e.g., the parent model algorithm, a linked map canvas, and other relevant information which allows the widget to fine-tune its behavior. More...
|
|
QLabel * | wrappedLabel () |
| Returns the current wrapped label, if any. More...
|
|
QWidget * | wrappedWidget () |
| Returns the current wrapped widget, if any. More...
|
|
virtual | ~QgsExpressionContextGenerator ()=default |
|
virtual QgsExpressionContext | createExpressionContext () const =0 |
| This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
|
|