refactoring QGraphicsScene MouseMoveEvent()----one global case