On Fri, Oct 5, 2012 at 9:08 PM, Etienne Tourigny
<[email protected]> wrote:
>
> I'd support either Martin's solution or exposing the QgsLegend and
> related classes to python. But even there,  GroupLayerInfo and
> QgsLegend::groupLayerRelationship() have to be modified, or dropped.

Just let me note that exposing QgsLegend is currently not really
possible as it is not (yet) a part of GUI library because there are
some dependencies on other qgis application specific classes that
would need to be removed first. Also, QgsLegend should really be
refactored to use more flexible model/view approach - currently it is
based on QTreeWidget convenience view and that does not fit so well
anymore with the functionality we need.

Martin
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to