using pyqt4 instead of pyside. I'd like to test pyqt5 but spyder uses pyqt4, so it cannot be used at the same time
action.triggered passes one bool argument in pyqt4 but not in pyside, so we take that into account