[Qgis-developer] Python: viewing properties for an ComposerItem programmatically?

Nyall Dawson nyall.dawson at gmail.com
Thu Sep 25 02:40:44 PDT 2014


On 25 September 2014 00:32, Luca Manganelli <luca76 at gmail.com> wrote:
> Hi, (i'm using qgis 2.4)
>
> how can view the object properties of a composer item I added with my plugin?
> I tried with showItemOptions(...) but it doesn't work
>
> in this example, I add a composerMap, but I cannot find a way on how
> to automatically view the properties in the Composer Window:
>
> # open the composer that I created
> composition = composerView.composition()

What about composition.setSelectedItem( composerMap  ) ? That should work...

Nyall


More information about the Qgis-developer mailing list