|  | Home · All Classes · All Functions · Overviews

# Drag and Drop Robot Example

Files:

- graphicsview/dragdroprobot/coloritem.cpp
- graphicsview/dragdroprobot/coloritem.h
- graphicsview/dragdroprobot/robot.cpp
- graphicsview/dragdroprobot/robot.h
- graphicsview/dragdroprobot/main.cpp
- graphicsview/dragdroprobot/dragdroprobot.pro
- graphicsview/dragdroprobot/robot.qrc

Images:

- graphicsview/dragdroprobot/images/head.png

This GraphicsView example shows how to implement drag and drop in a QGraphicsItem subclass, as well as how to animate items using QGraphicsItemAnimation and QTimeLine.