View.keyPressEvent

View.keyPressEvent(event)[source]

Callback for the key press event.

Parameters
eventPySide2.QtGui.QMouseEvent

The Qt event.