<div dir="ltr">I was wondering the same as Andreas. And now I get it. No more duplicate layers for different print composers! Nice :)<div><br></div><div>Will this include choosing the layer style by data-defined-properties?</div><div>And could this style choice be saved in the presets? </div><div>It would do wonders in projects with several composers and in atlas generation.</div><div><br></div><div>Thanks for your work!</div><div><br></div><div>Alexandre Neto</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 7, 2015 at 4:33 PM, Martin Dobias <span dir="ltr"><<a href="mailto:wonder.sk@gmail.com" target="_blank">wonder.sk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andreas<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Jan 7, 2015 at 11:15 PM, Andreas Neumann <span dir="ltr"><<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Martin,<br>
<br>
I just saw your recent commit for support of multiple styles - but I don't fully get it how it works. I can add a new style and can switch to another style, but it seems whenever I change the symbology, it resets all styles at once?<br>
<br>
Or maybe I don't fully get it how it is supposed to work.<br></blockquote><div><br></div></span><div>When you change symbology, only the currently active style should be modified - the others should stay the same (if not then there's a bug and please let me know). This should work: 1. add a layer, 2. add a new style to it (will get activated), 3. change symbology, 4. switch back to previous style - you should see the previous symbology.</div><div><br></div><div>The idea is to have the possibility to define several styles for a layer - and quickly switch between them. Before you would need to save and then load the styles from QML files.</div><div><br></div><div>As the style incorporates not only rendering appearance, but also other things like forms, so you could define different forms for different styles. Endless new opportunities :-)</div><span class=""><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
BTW: cool feature - would be cool to also expose the multiple styles in QGIS server (e.g. to support color and black/white styles) for the same layer.<br></blockquote><div><br></div></span><div>Coming soon :-)</div><div><br></div><div>Cheers</div><span class="HOEnZb"><font color="#888888"><div>Martin</div><div><br></div></font></span></div></div></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>