Questions tagged «context-menu»

1
向QGIS Desktop应用程序添加新菜单项?
我需要在QGIS Desktop(2.7.0)的顶层菜单中添加新菜单项;即,它应与“项目”,“编辑”,“视图”,“层”等处于同一级别。 据我所知,有一种非常好的方式如何使用QgisInterface(http://qgis.org/api/classQgisInterface.html)隐藏菜单项(“设置”->“自定义”)加上我可以向已经在QGIS中定义的菜单中添加新项(我的插件代码中的addLayerMenu,addPluginToDatabaseMenu等)。 但是我需要顶层的新菜单项(这是客户的要求)。
14 qgis  pyqgis  qt  gui  context-menu 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.