Class: QgsFontMarkerSymbolLayerWidget

class qgis.gui.QgsFontMarkerSymbolLayerWidget(vl: QgsVectorLayer, parent: QWidget = None)

Bases: QgsSymbolLayerWidget

Constructor for QgsFontMarkerSymbolLayerWidget.

Parameters
actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create(vl: QgsVectorLayer) → QgsSymbolLayerWidget

Creates a new QgsFontMarkerSymbolLayerWidget.

Parameters

vl (QgsVectorLayer) – associated vector layer

Return type

QgsSymbolLayerWidget

createExpressionContext()
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()
registerDataDefinedButton()
resizeEvent()
sender()
senderSignalIndex()
setAngle(self, angle: float)
Parameters

angle (float) –

setCharacter(self, chr: str)

Set the font marker character from char.

Parameters

chr (str) – the char

setCharacterFromText(self, text: str)

Set the font marker character from a text string.

Parameters

text (str) – the text string

New in version 3.8.

setColor(self, color: Union[QColor, Qt.GlobalColor])
Parameters

color (Union[QColor) –

setColorStroke(self, color: Union[QColor, Qt.GlobalColor])

Set stroke color.

New in version 2.16.

Parameters

color (Union[QColor) –

setFontFamily(self, font: QFont)
Parameters

font (QFont) –

setSize(self, size: float)
Parameters

size (float) –

setSymbolLayer(self, layer: QgsSymbolLayer)
Parameters

layer (QgsSymbolLayer) –

sharedPainter()
showEvent()
symbolLayer(self) → QgsSymbolLayer
Return type

QgsSymbolLayer

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