Pythonmyform = uic.loadUi("form.ui") modify class myform.myQListWidget: def keyPressEvent(self, e): print (e.text())
Pythonif e.key() == Qt.Key_A: # делаешь что тебе нужноelse: super.keyPressEvent(self, e)