Container QML Type
A container control base type. More...
Import Statement: | import Qt.labs.controls 1.0 |
Inherits: | |
Inherited By: |
Properties
- contentChildren : list<Item>
- contentData : list<Object>
- contentModel : model
- count : int
- currentIndex : int
- currentItem : Item
Methods
- void addItem(Item item)
- void insertItem(int index, Item item)
- Item itemAt(int index)
- void moveItem(int from, int to)
- void removeItem(int index)
Detailed Description
Container is the base type of container-like user interface controls.
Note: Types in the Qt.labs module are not guaranteed to remain compatible in future versions.
See also Container Controls.
Property Documentation
contentChildren : list<Item> |
This property holds the list of content children.
See also Item::children.
This property holds the list of content data.
See also Item::data.
currentItem : Item |
This property holds the current item.
Method Documentation
void addItem(Item item) |
Adds an item.
void insertItem(int index, Item item) |
Inserts an item at index.
Item itemAt(int index) |
Returns the item at index, or null
if it does not exist.
Removes an item at index.
Note: The ownership of the item is transferred to the caller.
© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.