Class: QgsLayerPropertiesWidget

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

Bases: qgis._gui.QgsPanelWidget, qgis._core.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.

contextMenuEvent()
create()
createExpressionContext(self) → 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.

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 – 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 – True to enable dock mode.
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
updateSymbolLayerWidget(self, layer: QgsSymbolLayer)
wheelEvent()