Class: QgsProcessingMultipleSelectionDialog¶
A dialog for selection of multiple options from a fixed list of options.
Note
Not stable API
Added in version 3.6.
Class Hierarchy¶
Base classes¶
Methods
Returns the ordered list of selected options. |
|
Sets a callback function to use when encountering an invalid geometry and |
- class qgis.gui.QgsProcessingMultipleSelectionDialog[source]¶
Bases:
QDialog- __init__(availableOptions: Iterable[Any] = [], selectedOptions: Iterable[Any] = [], parent: QWidget | None = None, flags: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())
Constructor for
QgsProcessingMultipleSelectionPanelWidget.The
availableOptionslist specifies the list of standard known options for the parameter, whilst theselectedOptionslist specifies which options should be initially selected.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:
availableOptions (Iterable[Any] = [])
selectedOptions (Iterable[Any] = [])
parent (Optional[QWidget] = None)
flags (Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())