Class: QgsProcessingActionContext¶
Encapsulates the context in which a Processing action is executed.
Added in version 4.4.
List of all members, including inherited members
Methods
Returns the name of the algorithm associated with the action. |
|
Returns the parent widget to use for dialogs constructed when triggering the action. |
|
Returns the ID of the provider associated with the action. |
|
Sets the name of the algorithm associated with the action. |
|
Sets the parent widget to use for dialogs constructed when triggering the action. |
|
Sets the ID of the provider associated with the action. |
- class qgis.gui.QgsProcessingActionContext[source]¶
Bases:
object- algorithmName(self) str[source]¶
Returns the name of the algorithm associated with the action.
See also
- Return type:
str
- parentWidget(self) QWidget | None[source]¶
Returns the parent widget to use for dialogs constructed when triggering the action.
See also
- Return type:
QWidget|None
- providerId(self) str[source]¶
Returns the ID of the provider associated with the action.
See also
- Return type:
str
- setAlgorithmName(self, name: str | None)[source]¶
Sets the name of the algorithm associated with the action.
See also
- Parameters:
name (str|None)
- setParentWidget(self, widget: QWidget | None)[source]¶
Sets the parent
widgetto use for dialogs constructed when triggering the action.See also
- Parameters:
widget (QWidget|None)