Re: [QGIS-Developer] Problems configuring the statusBar

2022-12-11 Thread coder via QGIS-Developer
Hello Andrea, Sorry for the delay as it has been a busy Sunday with several commitments. I've been trying to implement your proposed solution using different approaches but still unsucessfully (even after trying different combinations). From several posts, a potential syntax would be something lik

Re: [QGIS-Developer] How to turn on CustomLayerOrder (PyQGIS)

2024-10-25 Thread coder via QGIS-Developer
ersII) ...you have to set that a layer order should be considered: tree.setHasCustomLayerOrder(True) On Wed, Oct 23, 2024 at 6:33 PM coder via QGIS-Developer mailto:qgis-developer@lists.osgeo.org> > wrote: Hello I'm trying to change the rendering order for the layers in the canvas

[QGIS-Developer] How to turn on CustomLayerOrder (PyQGIS)

2024-10-23 Thread coder via QGIS-Developer
Hello I'm trying to change the rendering order for the layers in the canvas with the aid of QgsLayerTree. The code grabs each layer, checks whether is a QgsMapLayer instance, and generates a reordered list (layersII). Then, the code executes: QgsLayerTree().setCustomLayerOrder(layersII) but nothin