Qaction presionó pyqt5
self.qaction.triggered.connect(self.function)
68Duck
self.qaction.triggered.connect(self.function)