Class: QgsProcessingMultipleInputDialog

A dialog for selection of multiple layer inputs.

Note

Not stable API

Added in version 3.14.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsProcessingMultipleInputDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

selectedOptions

Returns the ordered list of selected options.

setProject

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 selectedOptions list may contain extra options which are not present in availableOptions, in which case they will be also added as existing options within the dialog.

Parameters:
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])