1
votes

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

1

1 Answers

4
votes

You can call QGraphicsItem::group() on the QGraphicsItem returned by QGraphicsScene::itemAt().