![]() |
Home · All Classes · All Functions · Overviews |
[Inherits Item]
The Flow item lines up its children side by side, wrapping as necessary. More...
add : Transition |
This property holds the transition to apply when adding an item to the positioner. The transition will only be applied to the added item(s). Positioner transitions will only affect the position (x,y) of items.
Added can mean that either the object has been created or reparented, and thus is now a child or the positioner, or that the object has had its opacity increased from zero, and thus is now visible.
This property holds the flow of the layout.
Possible values are LeftToRight (default) and TopToBottom.
If flow is LeftToRight, the items are positioned next to to each other from left to right until the width of the Flow is exceeded, then wrapped to the next line. If flow is TopToBottom, the items are positioned next to each other from top to bottom until the height of the Flow is exceeded, then wrapped to the next column.
move : Transition |
This property holds the transition to apply when moving an item within the positioner. Positioner transitions will only affect the position (x,y) of items.
This can happen when other items are added or removed from the positioner, or when items resize themselves.
Flow { id: positioner move: Transition { NumberAnimation { properties: "x,y" ease: "easeOutBounce" } } }
spacing : int |
spacing is the amount in pixels left empty between each adjacent item, and defaults to 0.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.7.0 |