The item is at scene's origin, not its centre (unless they are equal). The view (widget), the viewport (child of the view), the scene and the items all have different coordinate systems so you can't just take a position in the view's coordinate system and use it with methods that expect one of the other coordinate systems. If you want to do that, you have to map between the systems with appropriate methods available throughout the graphics view API.





Reply With Quote
Bookmarks