To create a "layer", add the items to a QGraphicsItemGroup.
The QGraphicsItemGroup
class inherits QGraphicsItem
, so it can be set as animation item, and all its child-items will be animated as a unit. At the same time, the child-items can still be animated separately.