<div dir="ltr">A quick test revealed that layer actions added via QgsLegendInterface::addLegendLayerAction() and addLegendLayerActionForLayer() do not show up in the context menu any more.<div><br></div><div>Should the corresponding members be added to QgsLayerTreeLayer class?</div>
<div><br></div><div>cheers</div><div>Etienne</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 21, 2014 at 3:03 PM, Rouzaud Denis <span dir="ltr"><<a href="mailto:denis.rouzaud@gmail.com" target="_blank">denis.rouzaud@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Congratulations for this big cleanup!<br>
<br>
I am really glad we (SIGE) could help this project to come true.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 21 May 2014, at 19:11, Martin Dobias <<a href="mailto:wonder.sk@gmail.com">wonder.sk@gmail.com</a>> wrote:<br>
<br>
> Hi everyone<br>
><br>
> I have just merged the first part of the legend refactoring work to<br>
> master [1]. It does not really bring any new features for the end<br>
> user, the changes are mainly under the hood. Things should ideally<br>
> work as before, if not then probably it is a bug.<br>
><br>
> There will be second part of the work related mainly around improved<br>
> layer symbology display in legend, more interactive legend and more<br>
> options for customization. At Lutra Consulting we are still looking<br>
> for funders willing to co-fund the work. At this point let me thank<br>
> SIGE and Swiss QGIS User Group for supporting the project.<br>
><br>
> Please test thoroughly - the legend has received quite a lot of<br>
> features over time, so there could be still some minor features I have<br>
> missed to port to new implementation.<br>
><br>
> The format of the project file has changed, but there is backward<br>
> compatibility with older projects which should allow seamless<br>
> transition. Once saved with 2.4, the older versions of QGIS will loose<br>
> the information about grouping.<br>
><br>
> If you are interested in studying the new code, there are two new<br>
> folders of interest:<br>
> - src/core/layertree<br>
> - src/gui/layertree<br>
> There is basic doxygen documentation for the new core classes, I plan<br>
> to add more, add python bindings and unit tests.<br>
><br>
> Regards<br>
> Martin<br>
><br>
> [1] <a href="https://github.com/qgis/QGIS/commit/b2a4c765b4e8a3fa00385a56a358952f46a1957a" target="_blank">https://github.com/qgis/QGIS/commit/b2a4c765b4e8a3fa00385a56a358952f46a1957a</a><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>
<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>
</div></div></blockquote></div><br></div>