Qt 4.7: Toys: Dynamic Scene Example

Qt Reference Documentation

# Toys: Dynamic Scene Example

Files:

- declarative/toys/dynamicscene/dynamicscene.qml
- declarative/toys/dynamicscene/qml/Button.qml
- declarative/toys/dynamicscene/qml/GenericSceneItem.qml
- declarative/toys/dynamicscene/qml/PaletteItem.qml
- declarative/toys/dynamicscene/qml/PerspectiveItem.qml
- declarative/toys/dynamicscene/qml/Sun.qml
- declarative/toys/dynamicscene/qml/itemCreation.js

Images:

- declarative/toys/dynamicscene/images/face-smile.png
- declarative/toys/dynamicscene/images/moon.png
- declarative/toys/dynamicscene/images/rabbit_brown.png
- declarative/toys/dynamicscene/images/rabbit_bw.png
- declarative/toys/dynamicscene/images/star.png
- declarative/toys/dynamicscene/images/sun.png
- declarative/toys/dynamicscene/images/tree_s.png

This example presents an interactive drag-and-drop scene. It demonstrates how to use QML's Dynamic Object Creation support to dynamically create and destroy objects.