Re: [Qgis-developer] How to add an action into a layer through python

2017-04-16 Thread Luca Mandolesi
Hi Salvatore, so I will try to extend your python macro for selecting records through relationship with the code of Andrea Borruso!!! Regards Luca Il 16 apr 2017 9:58 PM, "Salvatore Larosa" ha scritto: > Hi Luca, > > On Fri, Apr 14, 2017 at 10:31 PM, Luca Mandolesi > wrote: > > Hi, > > I would

Re: [Qgis-developer] How to add an action into a layer through python

2017-04-16 Thread Salvatore Larosa
Hi Luca, On Fri, Apr 14, 2017 at 10:31 PM, Luca Mandolesi wrote: > Hi, > I would to know if it's possibile to add a python action into a layer > charged inside layer registry? There is a method inside pyQgis API? sure, it is possible. With 2.x version the below example should be working: >>> vl

[Qgis-developer] How to add an action into a layer through python

2017-04-14 Thread Luca Mandolesi
Hi, I would to know if it's possibile to add a python action into a layer charged inside layer registry? There is a method inside pyQgis API? Thanks a lots Regards Luca ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lis