'Process keypress event'

def postprocess_keyevent(self, event):

    ShellBaseWidget.postprocess_keyevent(self, event)
    if QToolTip.isVisible():
        (_event, _text, key, _ctrl, _shift) = restore_keyevent(event)
        self.hide_tooltip_if_necessary(key)
