Re: [QGIS-Developer] Load Style and Save Style forms from python code

2023-05-11 Thread Giulio Fattori via QGIS-Developer
Il 11/05/2023 11:05, Jacky Volpes via QGIS-Developer ha scritto: Hello, You can try this method , available in python bindings from 3.30: props = QgsVectorLayerProperties(iface.mapCanvas(), iface.

Re: [QGIS-Developer] Load Style and Save Style forms from python code

2023-05-11 Thread Jacky Volpes via QGIS-Developer
Hello, You can try this method , available in python bindings from 3.30: props = QgsVectorLayerProperties(iface.mapCanvas(), iface.messageBar(), iface.activeLayer()) props.loadStyle() or props.sav