Azad Rasul
SmartRS

SmartRS

21- Add a new menu item to the QGIS software

Azad Rasul's photo
Azad Rasul

Published on Jun 18, 2021

1 min read

Subscribe to my newsletter and never miss my upcoming articles

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)
 
Share this
Proudly part of