Qt Reference Documentation

# QGraphicsLinearLayout Example

Files:

- declarative/cppextensions/qgraphicslayouts/qgraphicslinearlayout/linearlayout.cpp
- declarative/cppextensions/qgraphicslayouts/qgraphicslinearlayout/linearlayout.h
- declarative/cppextensions/qgraphicslayouts/qgraphicslinearlayout/qml/qgraphicslinearlayout/qgraphicslinearlayout.qml
- declarative/cppextensions/qgraphicslayouts/qgraphicslinearlayout/main.cpp
- declarative/cppextensions/qgraphicslayouts/qgraphicslinearlayout/linearlayout.qrc
- declarative/cppextensions/qgraphicslayouts/qgraphicslinearlayout/qgraphicslinearlayout.pro

This example shows how to use QGraphicsLinearLayout to lay out QML items. This is useful if you need to integrate Qt Graphics View layouts with QML.