Class: QgsCustomLayerOrderWidget

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.

QgsCustomLayerOrderWidget showing default state (no custom layer order)

QgsCustomLayerOrderWidget showing default state (no custom layer order)

QgsCustomLayerOrderWidget showing custom layer order

QgsCustomLayerOrderWidget showing custom layer order

Class Hierarchy

Inheritance diagram of qgis.gui.QgsCustomLayerOrderWidget

Base classes

QWidget

QObject

QPaintDevice

class qgis.gui.QgsCustomLayerOrderWidget[source]

Bases: QWidget

__init__(bridge: QgsLayerTreeMapCanvasBridge | None, parent: QWidget | None = None)

Constructor for QgsCustomLayerOrderWidget

Parameters: