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.
See also
Methods
Sets the list of substitutions to show in the widget.
Returns the list of substitutions currently defined by the widget.
Signals
Emitted when the substitution definitions change.
-
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
-
showEvent
()¶
-
substitutions
(self) → QgsStringReplacementCollection¶ Returns the list of substitutions currently defined by the widget.
See also
- Return type
-
substitutionsChanged
¶ Emitted when the substitution definitions change. [signal]
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶