Files:
This GraphicsView example shows how to implement animated items, and how to detect collision between items.