[QGIS-Developer] Adding a menu item in "View" menu

TurboGraphxBeige TurboGraphxBeige at runbox.com
Thu Dec 17 08:54:56 PST 2020


Hi everyone,

I am trying to add a menu item in the "View" menu but I am missing something.

I added the action in "qgisapp.ui" but I also need to edit "ui_qgisapp.h" to enable the action in the menu. However, it looks like ui "ui_qgisapp.h" is a file generated when building the application. So this particular menu item is added locally on my machine but making a PR with that new feature I am developping would miss the menu item.

What's the correct way to add a menu item in this context?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20201217/54cb750f/attachment.html>


More information about the QGIS-Developer mailing list