Added comments on generating left/right key press events in Qt