my qgraphicsscene is having qgraphicswidget which constantly adding qgraphicsLayoutItem. in graphicsView i need to get the qgraphicswidget geometry in scene coordinated. i tried QList items = scene()->items(); and check its with type
foreach (QGraphicsItem *item, items) { if(item->type() == ItemType) { }
but how to convert item to qgraphicswidget and change its gemoetry to scene coordinates. normal item.boundingRect returns constantly 0,0, 10x10