I have a PyQt-GUI with a function to move an object that is connected both via the pressed-signal to a QPushButton and via a QEvent.KeyPress-event to a
pressed
QEvent.KeyPress