You need to connect the triggered signal of your action to a handler.
So in the __init__
of your main window, do this:
self.ui.actionFsa_format.triggered.connect(self.openUrl)
And your openUrl
method could be something like this:
def openUrl(self):
url = QtCore.QUrl('http://some.domain.com/path')
if not QtGui.QDesktopServices.openUrl(url):
QtGui.QMessageBox.warning(self, 'Open Url', 'Could not open url')