Qt 4.8: QGraphicsGridLayout Example

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# QGraphicsGridLayout Example

Files:

- declarative/cppextensions/qgraphicslayouts/qgraphicsgridlayout/gridlayout.cpp
- declarative/cppextensions/qgraphicslayouts/qgraphicsgridlayout/gridlayout.h
- declarative/cppextensions/qgraphicslayouts/qgraphicsgridlayout/qml/qgraphicsgridlayout/qgraphicsgridlayout.qml
- declarative/cppextensions/qgraphicslayouts/qgraphicsgridlayout/main.cpp
- declarative/cppextensions/qgraphicslayouts/qgraphicsgridlayout/gridlayout.qrc
- declarative/cppextensions/qgraphicslayouts/qgraphicsgridlayout/qgraphicsgridlayout.pro

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