Qt 4.8: QGraphicsLinearLayout Example

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

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