def keyPressEvent(self, event):       
        if (event.key() in [QtCore.Qt.Key_Backspace, QtCore.Qt.Key_Delete]):
            self.removeCurrentAlias()
keyPressEvent(event: QKeyEvent) -> None
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/mashups/alias_list.py/QAliasList.keyPressEvent