Class: QgsLabelObstacleSettingsWidget

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

Bases: QgsLabelSettingsWidgetBase

Constructor for QgsLabelObstacleSettingsWidget.

Parameters
  • parent (QWidget = None) – parent widget

  • vl (QgsVectorLayer = None) – associated vector layer

A widget for customising label obstacle settings.

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
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()
setGeometryType(self, type: QgsWkbTypes.GeometryType)
Parameters

type (QgsWkbTypes.GeometryType) –

setSettings(self, settings: QgsLabelObstacleSettings)

Sets the obstacle settings to show in the widget.

See also

settings()

Parameters

settings (QgsLabelObstacleSettings) –

settings(self) → QgsLabelObstacleSettings

Returns the obstacle settings defined by the widget.

See also

setSettings()

Return type

QgsLabelObstacleSettings

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateDataDefinedProperties(self, properties: QgsPropertyCollection)
Parameters

properties (QgsPropertyCollection) –

updateMicroFocus()
wheelEvent()