Class: QgsMapLayerConfigWidget¶
-
class
qgis.gui.
QgsMapLayerConfigWidget
(layer: QgsMapLayer, canvas: QgsMapCanvas, parent: QWidget = None)¶ Bases:
qgis._gui.QgsPanelWidget
A panel widget that can be shown in the map style dock
- Parameters
layer – The layer active in the dock.
canvas – The canvas object.
parent – The parent of the widget.
Note
The widget is created each time the panel is selected in the dock. Keep the loading light as possible for speed in the UI.
A panel widget that can be shown in the map style dock
New in version 2.16: Enums
Methods
Called when changes to the layer need to be made.
Whether this config widget changes map layer properties in a way that triggerRepaint() should be called for the layer after applying changes.
Signals
Attributes
-
actionEvent
()¶
-
apply
(self)¶ Called when changes to the layer need to be made. Will be called when live update is enabled.
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
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
()¶
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
shouldTriggerLayerRepaint
(self) → bool¶ Whether this config widget changes map layer properties in a way that triggerRepaint() should be called for the layer after applying changes. This is true by default, but some config widgets (for example 3D rendering config) do not need layer repaint as they do not modify 2D map rendering.
New in version 3.8.
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶