<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="Ubuntu">Hello,<br>
<br>
You can try <a moz-do-not-send="true"
href="https://api.qgis.org/api/classQgsVectorLayerProperties.html#ae4fe88fd37cdac13ee710bfcc7812799">this
method</a>, available in python bindings from 3.30:<br>
<br>
props = QgsVectorLayerProperties(iface.mapCanvas(),
iface.messageBar(), iface.activeLayer())<br>
props.loadStyle() or props.saveStyleAs()<br>
<br>
Regards,<br>
Jacky Volpes<br>
<br>
<br>
</font><br>
<div class="moz-cite-prefix">Le 11/05/2023 à 07:21, Giulio Fattori
via QGIS-Developer a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:0de5433c-efb3-2b45-62c1-a8aba63cca28@tin.it">Good
morning
<br>
how can I recall and use the Load Style and Save Style forms from
python code ?
<br>
<br>
Many thanks for any support
<br>
<br>
Giulio
<br>
<br>
_______________________________________________
<br>
QGIS-Developer mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
<br>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
<br>
Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Jacky Volpes
Ingénieur SIG - Oslandia</pre>
</body>
</html>