c++ - Qt的图形视图模型框架中,怎么设置QGraphicsItem的移动范围控制在Scene中吗?
大家讲道理
大家讲道理 2017-04-17 14:23:51
0
1
559
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
PHPzhong

Judge the mouse position in the mouseMoveEvent event and set its position not to exceed the range of QGraphiceScene.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template