QgsSubstitutionListDialog class
A dialog which allows users to specify a list of substitutions to apply to a string, with options for exporting and importing substitution lists.
Contents
Constructors, destructors, conversion operators
- QgsSubstitutionListDialog(QWidget* parent = nullptr)
- Constructor for QgsSubstitutionListDialog.
Public functions
- void setSubstitutions(const QgsStringReplacementCollection& substitutions)
- Sets the list of substitutions to show in the dialog.
- auto substitutions() const -> QgsStringReplacementCollection
- Returns the list of substitutions currently defined by the dialog.
Function documentation
QgsSubstitutionListDialog:: QgsSubstitutionListDialog(QWidget* parent = nullptr)
Constructor for QgsSubstitutionListDialog.
| Parameters | |
|---|---|
| parent | parent widget |
void QgsSubstitutionListDialog:: setSubstitutions(const QgsStringReplacementCollection& substitutions)
Sets the list of substitutions to show in the dialog.
| Parameters | |
|---|---|
| substitutions | substitution list |
QgsStringReplacementCollection QgsSubstitutionListDialog:: substitutions() const
Returns the list of substitutions currently defined by the dialog.