QML LayoutItem ElementThe LayoutItem element allows declarative UI elements to be placed inside Qt's Graphics View layouts. More... This element was introduced in Qt 4.7. Properties
Detailed DescriptionLayoutItem is a variant of Item with additional size hint properties. These properties provide the size hints necessary for items to work in conjunction with Qt Graphics View layout classes such as QGraphicsLinearLayout and QGraphicsGridLayout. The Qt layout mechanisms 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 its properties merely expose the QGraphicsLayoutItem functionality to QML. The LayoutItem example demonstrates how a LayoutItem can be used within a Graphics View scene. Property DocumentationThe maximumSize property can be set to specify the maximum desired size of this LayoutItem The minimumSize property can be set to specify the minimum desired size of this LayoutItem The preferredSize property can be set to specify the preferred size of this LayoutItem © 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia. Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. |