Qt 4.3: Drag and Drop Robot Example

|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# 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/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.