光阴似箭催人老,日月如移越少年。
Judge the mouse position in the mouseMoveEvent event and set its position not to exceed the range of QGraphiceScene.
mouseMoveEvent
QGraphiceScene
Judge the mouse position in the
mouseMoveEvent
event and set its position not to exceed the range ofQGraphiceScene
.