Through tutorials I learned how to add a toolbutton to the plugins-toolbar via python. Now I wonder how to add a complete toolbar with toolbarbuttons via python.
Can anybody give some example-code?
pyqgistoolbar
Through tutorials I learned how to add a toolbutton to the plugins-toolbar via python. Now I wonder how to add a complete toolbar with toolbarbuttons via python.
Can anybody give some example-code?
Best Answer
You can use the addToolBar() API call via QgisInterface (i.e. iface) to create a custom toolbar: