Hi,

I want to develop a functionality where there is push button which will add QGraphicsRectItem on QGraphicsScene. Once there are multiple QGraphicsRectItem on scene, user will select more than one and there will be another button which will merge these selected QGraphicsRectItems into single QGraphicsRectItem having childrenBoundingRect() as merged entities bounding rect. And when I will select merged item on scene it will show me as single item since this merged item will become parent for other children.

Can anybody help me in merging idea?


Manish