Class: QgsLayerPropertiesWidget

class qgis.gui.QgsLayerPropertiesWidget(layer: QgsSymbolLayer, symbol: QgsSymbol, vl: QgsVectorLayer, parent: QWidget = None)

Bases: QgsPanelWidget, QgsExpressionContextGenerator

Constructor for QgsLayerPropertiesWidget.

Parameters
actionEvent()
changeEvent()
changeLayer

changeLayer(self, QgsSymbolLayer) [signal]

changed

changed(self) [signal]

childEvent()
closeEvent()
connectNotify()
context(self)QgsSymbolWidgetContext

Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.

See also

setContext()

New in version 3.0.

Return type

QgsSymbolWidgetContext

contextMenuEvent()
create()
createExpressionContext(self)QgsExpressionContext
Return type

QgsExpressionContext

customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
emitSignalChanged(self)
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
layerTypeChanged(self)
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
populateLayerTypes(self)
receivers()
registerDataDefinedButton(self, button: QgsPropertyOverrideButton, key: QgsSymbolLayer.Property)

Registers a data defined override button. Handles setting up connections for the button and initializing the button to show the correct descriptions and help text for the associated property.

New in version 3.0.

Parameters
resizeEvent()
sender()
senderSignalIndex()
setContext(self, context: QgsSymbolWidgetContext)

Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.

Parameters

context (QgsSymbolWidgetContext) – symbol widget context

See also

context()

New in version 3.0.

setDockMode(self, dockMode: bool)

Set the widget in dock mode which tells the widget to emit panel widgets and not open dialogs

Parameters

dockMode (bool) – True to enable dock mode.

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
updateSymbolLayerWidget(self, layer: QgsSymbolLayer)
Parameters

layer (QgsSymbolLayer) –

wheelEvent()