On Fri, May 28, 2010 at 11:02 PM, Ron Bentley <[email protected]> wrote: > I'm sure the answer is right in front of me; I just haven't found it yet: > > Given a layer, is there any way to find out if the layer is part of a group > in the legend, and if so which group -- from inside a Python plugin? QGis > 1.4.0 here.
Hi Ron there's a QgsLegendInterface class available for this kind of tasks. Unfortunately it currently doesn't have such functionality, though we would welcome any patches that add such functionality. Regards Martin _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
