Class: QgsModelDesignerDialog¶
Model designer dialog base class.
Warning
Not stable API
Added in version 3.14.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Factory for creating |
|
An interface for objects which can create Processing contexts. |
|
An interface for objects which can create Processing widget contexts. |
Abstract Methods
Methods
Raise, unminimize and activate this window. |
|
Loads a model into the designer from the specified file path. |
|
Returns the model shown in the dialog. |
|
Saves the model to the current project. |
|
Sets the model shown in the dialog. |
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsModelDesignerDialog. See the FAQ for more details.
Signals
Emitted when the dialog is about to close. |
|
Emitted when the model is updated. |
- class qgis.gui.QgsModelDesignerDialog[source]¶
Bases:
QMainWindow,QgsProcessingFeedbackGenerator,QgsProcessingContextGenerator,QgsProcessingWidgetContextGenerator- abstract createFeedback(self) QgsProcessingFeedback | None[source]¶
- Return type:
- loadModel(self, path: str | None)[source]¶
Loads a model into the designer from the specified file
path.- Parameters:
path (str|None)
- model(self) QgsProcessingModelAlgorithm | None[source]¶
Returns the model shown in the dialog.
- Return type:
- signal modelUpdated[source]¶
Emitted when the model is updated.
Warning
DO NOT USE – this is bad API, here for compatibility with Python code only.
- virtual processingContext(self) QgsProcessingContext | None[source]¶
- Return type:
QgsProcessingContext|None
- setModel(self, model: QgsProcessingModelAlgorithm | None)[source]¶
Sets the
modelshown in the dialog.Ownership of
modelis transferred to the dialog.- Parameters:
model (QgsProcessingModelAlgorithm|None)