Class: QgsSubstitutionListDialog¶
A dialog which allows users to specify a list of substitutions to apply to a string, with options for exporting and importing substitution lists.
See also
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Methods
Sets the list of substitutions to show in the dialog. |
|
Returns the list of substitutions currently defined by the dialog. |
- class qgis.gui.QgsSubstitutionListDialog[source]¶
Bases:
QDialog- __init__(parent: QWidget | None = None)
Constructor for QgsSubstitutionListDialog.
- Parameters:
parent (Optional[QWidget] = None) – parent widget
- setSubstitutions(self, substitutions: QgsStringReplacementCollection)[source]¶
Sets the list of substitutions to show in the dialog.
- Parameters:
substitutions (QgsStringReplacementCollection) – substitution list
See also
- substitutions(self) QgsStringReplacementCollection[source]¶
Returns the list of substitutions currently defined by the dialog.
See also
- Return type: