Class: QgsExpressionStoreDialog

class qgis.gui.QgsExpressionStoreDialog(label: str, expression: str, helpText: str, existingLabels: Iterable[str], parent: QWidget = None)

Bases: PyQt5.QtWidgets.QDialog

Creates a QgsExpressionStoreDialog with given label, expression and helpText. existingLabels is an optional list of existing labels for unique label validation, parent is the optional parent widget.

A generic dialog for editing expression text, label and help text.

New in version 3.12.

Parameters
  • label (str) –

  • expression (str) –

  • helpText (str) –

  • existingLabels (Iterable[str]) –

  • parent

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
expression(self) → str

Returns the expression text

Return type

str

focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
helpText(self) → str

Returns the help text

Return type

str

hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
label(self) → str

Returns the label text

Return type

str

leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()