Hi all. I'm trying to emulate the symbology dialog for a Python application but I have a trouble. <br><br>When I'm working with QgsGraduatedSymbolRenderer and I try to save the style to a qml file using the saveNamedStyle() method I get the following message: <br>
<p style="margin: 0px; text-indent: 0px; text-align: center;">Could not save symbology because:</p><div>
</div><p style="margin: 0px; text-indent: 0px; text-align: center;">renderer failed to save</p>And in the command line: <br><div style="text-align: center;">NotImplementedError: QgsGraduatedSymbolRenderer.writeXML() is abstract and must be overridden<br clear="all">
</div><br>With the other renderer classes (QgsContinuousColorRenderer, QgsSingleSymbolRenderer, QgsUniqueValueRenderer) the saveNamedStyle() method works well and the qml file is saved without any problem. <br><br>Do you know why can this be happen?<br>
<br>
<br>Thanks in advance.<br><br>Germán<br><br>-- <br>-----------<br> |\__ <br>(:>__)(<br> |/ <br>
<br>Soluciones Geoinformáticas Libres <br>
<a href="http://geotux.tuxfamily.org/" target="_blank">http://geotux.tuxfamily.org/</a><br>
<br>