Class: QgsCustomLayerOrderWidget¶
The QgsCustomLayerOrderWidget class provides a list box
where the user can define custom order for drawing of layers. It also
features a checkbox for enabling or disabling the custom order. Any
changes made by the user are automatically propagated to the assigned
QgsLayerTreeMapCanvasBridge. Also, any updates to the layer
tree cause refresh of the list.
See also
QgsCustomLayerOrderWidget showing default state (no custom layer order)¶
QgsCustomLayerOrderWidget showing custom layer order¶
Class Hierarchy¶
Base classes¶
- class qgis.gui.QgsCustomLayerOrderWidget[source]¶
Bases:
QWidget- __init__(bridge: QgsLayerTreeMapCanvasBridge | None, parent: QWidget | None = None)
Constructor for QgsCustomLayerOrderWidget
- Parameters:
bridge (Optional[QgsLayerTreeMapCanvasBridge])
parent (Optional[QWidget] = None)