Home · All Classes · All Functions · Overviews

QML LayoutItem Element Reference

The LayoutItem element allows you to place your Fluid UI elements inside a classical Qt layout. More...

Properties

Detailed Description

LayoutItem is a variant of Item with a couple of additional properties. These properties provide the size hints needed for items to work in conjunction with Qt Layouts. The Qt Layout will resize the LayoutItem as appropriate, taking its size hints into account, and you can propagate this to the other elements in your UI via anchors and bindings.

This is a QGraphicsLayoutItem subclass, and the properties merely expose the QGraphicsLayoutItem functionality to QML. See the QGraphicsLayoutItem documentation for further details.


Property Documentation

maximumSize : QSizeF

The maximumSize property can be set to specify the maximum desired size of this LayoutItem


minimumSize : QSizeF

The minimumSize property can be set to specify the minimum desired size of this LayoutItem


preferredSize : QSizeF

The preferredSize property can be set to specify the preferred size of this LayoutItem



Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.7.0