[Qgis-developer] Legend refactoring branch merged
Etienne Tourigny
etourigny.dev at gmail.com
Wed May 21 11:52:46 PDT 2014
On Wed, May 21, 2014 at 3:46 PM, Etienne Tourigny
<etourigny.dev at gmail.com>wrote:
> A quick test revealed that layer actions added via
> QgsLegendInterface::addLegendLayerAction()
> and addLegendLayerActionForLayer() do not show up in the context menu any
> more.
>
> Should the corresponding members be added to QgsLayerTreeLayer class?
>
I mean QgsLayerTreeRegistryBridge class
and adding the menus in QgsAppLayerTreeViewMenuProvider::createContextMenu()
>
> cheers
> Etienne
>
>
> On Wed, May 21, 2014 at 3:03 PM, Rouzaud Denis <denis.rouzaud at gmail.com>wrote:
>
>> Congratulations for this big cleanup!
>>
>> I am really glad we (SIGE) could help this project to come true.
>>
>>
>>
>> On 21 May 2014, at 19:11, Martin Dobias <wonder.sk at gmail.com> wrote:
>>
>> > Hi everyone
>> >
>> > I have just merged the first part of the legend refactoring work to
>> > master [1]. It does not really bring any new features for the end
>> > user, the changes are mainly under the hood. Things should ideally
>> > work as before, if not then probably it is a bug.
>> >
>> > There will be second part of the work related mainly around improved
>> > layer symbology display in legend, more interactive legend and more
>> > options for customization. At Lutra Consulting we are still looking
>> > for funders willing to co-fund the work. At this point let me thank
>> > SIGE and Swiss QGIS User Group for supporting the project.
>> >
>> > Please test thoroughly - the legend has received quite a lot of
>> > features over time, so there could be still some minor features I have
>> > missed to port to new implementation.
>> >
>> > The format of the project file has changed, but there is backward
>> > compatibility with older projects which should allow seamless
>> > transition. Once saved with 2.4, the older versions of QGIS will loose
>> > the information about grouping.
>> >
>> > If you are interested in studying the new code, there are two new
>> > folders of interest:
>> > - src/core/layertree
>> > - src/gui/layertree
>> > There is basic doxygen documentation for the new core classes, I plan
>> > to add more, add python bindings and unit tests.
>> >
>> > Regards
>> > Martin
>> >
>> > [1]
>> https://github.com/qgis/QGIS/commit/b2a4c765b4e8a3fa00385a56a358952f46a1957a
>> > _______________________________________________
>> > Qgis-developer mailing list
>> > Qgis-developer at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140521/519787ec/attachment.html>
More information about the Qgis-developer
mailing list