Reputation: 55554
I'm having trouble getting a pointer of a QGraphicsItemGroup bellow my cursor. QGraphicsScene::ItemAt
return one of the objects of the group but the not ItemGroup it self.
Any clue how to do it ?
Thx
Upvotes: 1
Views: 923
Reputation: 8788
You can call QGraphicsItem::group()
on the QGraphicsItem returned by QGraphicsScene::itemAt()
.
Upvotes: 4