Filter out AutoRepeat events from KeyPress events
Qt doesn't have a separate "CharEvent" like VTK does, instead it provides the AutoRepeat property to distinguish the initial press from the autorepeats that are generated thereafter.
For VTK, the autorepeats should only generate CharEvent, not KeyPressEvent.