Re: [QGIS-Developer] Plugin for Layout

2021-09-25 Thread Raymond Nijssen
Hi Zsolt, This code adds a button to the layout toolbar. I don't know of a way to add things to the layout menu as well. def designer_opened(designer): tb = designer.actionsToolbar() action = QAction('Push me!', parent=designer) tb.addAction(action)

[QGIS-Developer] Plugin for Layout

2021-09-25 Thread Gal Zsolt
Hello List! I like to write a plugin to add map corner coordinates as label to the layout. I write a python script wich do this. I make a plugin where I add a menu item to the Qgis main interface. Work. This solution is ugly: I select a menu item to make on action on other window (Layout