Qt 4.6: Drag and Drop Robot Example

|  | Home · All Classes · 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

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.