PDA

View Full Version : Graphics Item jumps to start position when moved



Ozzi
27th November 2019, 18:17
Hi Guys,

I have just started to learn about QT. I made a small app which adds rectangles to the screen and allows them to move about when dragged with the mouse.

Facing a small problem though. Every time the rectangles are moved, they keep jumping back to their original position at startup.

Anyone know what could the problem be?

My project can be downloaded here.
https://drive.google.com/open?id=1JkQUubB-MjwfoUZ-KLUIj7AKHvc6vAxC