Subgroup: Substitution

Class: QgsSubstitutionListDialog

class qgis.gui.QgsSubstitutionListDialog(parent: QWidget = None)

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsSubstitutionListDialog.

Parameters:parent – parent widget

A dialog which allows users to specify a list of substitutions to apply to a string, with options for exporting and importing substitution lists.

New in version 3.0.

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setSubstitutions(self, substitutions: QgsStringReplacementCollection)

Sets the list of substitutions to show in the dialog.

Parameters:substitutions – substitution list

See also

substitutions()

sharedPainter()
showEvent()
substitutions(self) → QgsStringReplacementCollection

Returns the list of substitutions currently defined by the dialog.

tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()