Azad Rasul
SmartRS

SmartRS

21- Add a new menu item to the QGIS software

Azad Rasul's photo
Azad Rasul
·Jun 25, 2021·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Listen to this article
import webbrowser

def open_website():
    webbrowser.open('https://smartrs.hashnode.dev/series/learning-python-qgis')

website_action = QAction('Go to Learning Python QGIS')
website_action.triggered.connect(open_website)
iface.helpMenu().addSeparator()
iface.helpMenu().addAction(website_action)

If you like the content, please SUBSCRIBE to my channel for the future content

 
Share this