[Qgis-user] remove menu item from QGIS menu bar - python plugin

Ivan Mincik ivan.mincik at gista.sk
Tue Nov 10 05:53:15 PST 2009


On Tuesday 10 November 2009, you wrote:
> Hi,
>
> it's possible to get a reference to any menu (QMenu instance) from
> QgisInterface. Then it's possible to get list of actions calling
> menu's actions() method and finally to call removeAction() method. See
> QWidget reference for details.

Thanks a lot Martin, I will try.

>
> Martin
>
> On Sun, Nov 8, 2009 at 4:29 PM, Ivan Mincik <ivan.mincik at gmail.com> wrote:
> > Hi list,
> > is there any possibility of removing item from QGIS menu bar using Python
> > ? For example to remove some item from 'Help'.
> >
> > Looking to QGIS class reference does not give me simple ideas.
> >
> > Thanks
> > Ivan
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20091110/f3a0e74b/attachment.sig>


More information about the Qgis-user mailing list