Class: QgsProcessingMultipleInputDialog¶
A dialog for selection of multiple layer inputs.
Note
Not stable API
Added in version 3.14.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Methods
Returns the ordered list of selected options. |
|
Sets the project associated with the dialog. |
- 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())
- selectedOptions(self) list[Any][source]¶
Returns the ordered list of selected options.
- Return type:
list[Any]
- setProject(self, project: QgsProject | None)[source]¶
Sets the project associated with the dialog.
- Parameters:
project (Optional[QgsProject])