[Qgis-developer] Add plugin to sub-menu

Erik Timmers e.timmers at gmail.com
Wed Aug 19 13:03:15 PDT 2015


Hi all,

It would be great if someone could help me with the following:

I have a plugin[1] that is shown within the Vector menu.
However, I would like to have it show up in the sub-menu *Geoprocessing
Tools*.
For that I tried using the following code:

  self.iface.addPluginToVectorMenu("&Geoprocessing Tools", self.action)

Without success. This simply creates a new sub-menu item with the same name
as the existing one.

Does anybody know how to fix this issue?

Many thanks in advance!

Kind regards.
Erik Timmers

[1] http://plugins.qgis.org/plugins/qgsAffine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150819/9412948f/attachment-0001.html>


More information about the Qgis-developer mailing list