Class: QgsProcessingMultipleInputDialog¶
A dialog for selection of multiple layer inputs.
Note
Not stable API
Added in version 3.14.
Class Hierarchy¶
Base classes¶
- class qgis.gui.QgsProcessingMultipleInputDialog[source]¶
Bases:
QDialog- __init__(parameter: QgsProcessingParameterMultipleLayers | None, selectedOptions: Iterable[Any], modelSources: Iterable[QgsProcessingModelChildParameterSource], model: QgsProcessingModelAlgorithm | None = None, parent: QWidget | None = None, flags: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())
Constructor for QgsProcessingMultipleInputDialog.
The
selectedOptionslist may contain extra options which are not present inavailableOptions, in which case they will be also added as existing options within the dialog.- Parameters:
parameter (Optional[QgsProcessingParameterMultipleLayers])
selectedOptions (Iterable[Any])
modelSources (Iterable[QgsProcessingModelChildParameterSource])
model (Optional[QgsProcessingModelAlgorithm] = None)
parent (Optional[QWidget] = None)
flags (Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())
- setProject(self, project: QgsProject | None)[source]¶
Sets the project associated with the dialog.
- Parameters:
project (Optional[QgsProject])