Qt 4.7: LayoutItem Example

Qt Reference Documentation

# LayoutItem Example

Files:

- declarative/cppextensions/qgraphicslayouts/layoutitem/layoutitem.qml
- declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp
- declarative/cppextensions/qgraphicslayouts/layoutitem/layoutitem.pro
- declarative/cppextensions/qgraphicslayouts/layoutitem/layoutitem.qrc

This example show how to use the LayoutItem element to integrate QML items into an existing Graphics View-based application.