View Full Version : Calculate scene coordinates from QGraphicsLinearLayout
onurozcelik
21st January 2011, 07:14
In my application I used custom objects which derive from QGraphicsWidget and I put them inside QGraphicsLinearLayout. But now I need to find scene coordinates of each item. Is it possible? How?
tbscope
21st January 2011, 07:24
Lookin at a few posts below your post I can find this link:
http://doc.qt.nokia.com/4.7/graphicsview.html#scene-coordinates
MarekR22
21st January 2011, 08:38
See QGraphicsItem there is large collection of methods: QGraphicsItem::mapToItem, QGraphicsItem::mapToScene, and so on.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.