Subgroup: Code

Class: QgsCodeEditorExpression

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

Bases: qgis._gui.QgsCodeEditor

Constructor for QgsCodeEditorExpression

A QGIS expression editor based on QScintilla2. Adds syntax highlighting and code autocompletion.

actionEvent()
canInsertFromMimeData()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
drawFrame()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
fromMimeData()
getMonospaceFont()
hideEvent()
initPainter()
initStyleOption()
inputMethodEvent()
inputMethodQuery()
isFixedPitch()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
scrollContentsBy()
sender()
senderSignalIndex()
setExpressionContext(self, context: QgsExpressionContext)

Variables and functions from this expression context will be added to the API. Will also reload all globally registered functions.

setFields(self, fields: QgsFields)

Field names will be added to the API.

setViewportMargins()
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
toMimeData()
updateMicroFocus()
viewportEvent()
viewportMargins()
viewportSizeHint()
wheelEvent()