def eventFilter(self, widget, event):
        if event.type() in [QtCore.QEvent.FocusIn, QtCore.QEvent.WindowActivate]:
            self.emit(QtCore.SIGNAL("tabFocused()"))
        return False
dataset/ETHPy150Open mariano/snakefire/snakefire/qtx.py/TabWidgetFocusEventFilter.eventFilter/original