It is always one command, the difference is what the subject of that command is.
QGraphicsItem::childrenBoundingRect() returns a rectangle that encompasses all its children. You can use that to calculate the scale you need to apply to an item that contains the substate items to make all its children cover a particular area.
Bookmarks