Class: QgsSubstitutionListWidget

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

Bases: QgsPanelWidget

Constructor for QgsSubstitutionListWidget.

Parameters

parent (QWidget = None) – parent widget

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

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
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 widget.

Parameters

substitutions (QgsStringReplacementCollection) – substitution list

See also

substitutions()

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

Returns the list of substitutions currently defined by the widget.

Return type

QgsStringReplacementCollection

substitutionsChanged

Emitted when the substitution definitions change. [signal]

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