GUI - how are the menus created? (adding addons to menus) #1981
Replies: 2 comments 1 reply
-
For the current system, see the gui/wxpython/xml in the source code and the Modules tab: ...but it could be better. Ideas welcome. |
Beta Was this translation helpful? Give feedback.
-
You can customize the menu, see if this would be helpful: It may be a good idea to have the addons in the main menu, I think the concern was it would be too wide. That won't be an issue with a future single window layout though.
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone
I was wondering, how are the menus for the GUI created? From a static file at compilation? Or dynamically at startup?
This is because I was thinking that we should have an easy way to have the installed addons available via the GUI menus.
The way QGIS does it, IMO is a bit messy: some plugins go to the "plugin" menu, while others create their own top-level menu (like MMQGIS)
If the GUI menus are (or can be) created dynamically, we could have it in two ways: adding the module to the "parent" top-level menu (raster, vector, etc), or to a "Extensions" menu (BTW, is there a discussion on "addon x extension"?)
Maybe every addon could have an XML (or similar) file indicating to which menu it should be added?
I think this is important because many new users feel a bit lost when they install an addon but can't find it on the GUI afterward.
Beta Was this translation helpful? Give feedback.
All reactions