QGraphicsItem有关问题

QGraphicsItem问题
我写了一个itemA,然后一个ItemB以其为父项,想要实现移动itemA的时候itemB也移动,不是说直接就可以么,为什么不行呢

------解决方案--------------------
用信号来同步
------解决方案--------------------
The QGraphicsItemGroup class provides a container that treats a group of items as a single item.

A QGraphicsItemGroup is a special type of compound item that treats itself and all its children as one item (i.e., all events and geometries for all children are merged together). It's common to use item groups in presentation tools, when the user wants to group several smaller items into one big item in order to simplify moving and copying of items.