Why primitive mobile than mouse
With the mouse synchronization
CodePudding user response:
This - & gt; SetFlags (QGraphicsItem: : ItemIsSelectable |QGraphicsItem: : ItemIsFocusable |
QGraphicsItem: : ItemIsMovable);
Set the QGraphicsItem: : ItemIsMovable to implement mobile
After the customize mousePress, mouseMove to achieve the same effect, mouse synchronization primitives discord, much faster
How to solve this problem?