Symbian: The ListHeading element provides a heading for a list or a section in a list. More...
ListHeading can be used as the header at the top of a list or as a header for sections within the list. A ListHeading has similar padding to ListItem which can be used to anchor items inside the ListHeading.
ListHeading { id: listHeader ListItemText { id: txtHeading anchors.fill: listHeader.padding role: "Heading" text: "Test list" } }
ListHeading { id: sectionHeader ListItemText { id: txtHeading anchors.fill: sectionHeader.padding role: "Heading" text: "Items with " + section + " in them:" } }
See also ListItem and ListItemText.
The invisible padding rectangle for the ListHeading that items can be anchored to.