[Qgis-developer] Re: Python - recreate the exact Legend in a QTreeWidget

2011-06-20 Thread kimaidou
Hi all I managed to reconstruct my legend in my QTreeWidget by using a dictionary to store the item I have already added in the tree while looping through groupLayerRelationship ! Cheers Kimaidou 2011/6/20 kimaidou kimai...@gmail.com Hi devs, I am a bit stuck here I would like to

Re: [Qgis-developer] Re: Python - recreate the exact Legend in a QTreeWidget

2011-06-20 Thread Germán Carrillo
Hi Kimaidou, may you share your solution? It may be useful for some people here (including myself). Regards, Germán 2011/6/20 kimaidou kimai...@gmail.com Hi all I managed to reconstruct my legend in my QTreeWidget by using a dictionary to store the item I have already added in the tree

Re: [Qgis-developer] Re: Python - recreate the exact Legend in a QTreeWidget

2011-06-20 Thread kimaidou
Of course ! This is basically what I have done : http://pastebin.com/1yhyuRxA Regards, Kimaidou 2011/6/20 Germán Carrillo carrillo.ger...@gmail.com Hi Kimaidou, may you share your solution? It may be useful for some people here (including myself). Regards, Germán 2011/6/20 kimaidou

Re: [Qgis-developer] Re: Python - recreate the exact Legend in a QTreeWidget

2011-06-20 Thread Germán Carrillo
I appreciate it! Regards 2011/6/20 kimaidou kimai...@gmail.com Of course ! This is basically what I have done : http://pastebin.com/1yhyuRxA Regards, Kimaidou 2011/6/20 Germán Carrillo carrillo.ger...@gmail.com Hi Kimaidou, may you share your solution? It may be useful for some