def eventFilter(self, obj, event):
        if event.type() == QEvent.HoverMove:
            if self.width() - event.pos().x() < 5:
                self.setCursor(Qt.SizeHorCursor)
                self.isCusorRightSide = True
            elif event.pos().y() - self.height() < 5:
                self.setCursor(Qt.SizeVerCursor)
                self.isCusorDownSide = True
            # elif event.pos().x() < 5:
            #     self.setCursor(Qt.SizeHorCursor)
            #     self.isCusorLeftSide = True
            elif not self.isSideClicked:
                self.setCursor(Qt.ArrowCursor)
                self.isCusorLeftSide = False
                self.isCusorRightSide = False
                self.isCusorDownSide = False
            return True
        return super(FMainWindow, self).eventFilter(obj, event)
dataset/ETHPy150Open dragondjf/PFramer/qframer/fmainwindow.py/FMainWindow.eventFilter/swapped operands of `-`