

def eventFilter(self, source, event):
    typ = typ.type()
    if (typ == QtCore.QEvent.Drop):
        self.dropEvent(event)
    elif (typ == QtCore.QEvent.DragEnter):
        self.dragEnterEvent(event)
    return super(_DropEventFilter, self).eventFilter(source, event)

dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/drop_editor.py _DropEventFilter.eventFilter/VarMisuse@16/18 `event`->`typ`