UI Features - UI Elements



ListView is a UI element that takes a set of data (local or web) a populates a scrollable interface to display items. ListView supports multiple data types such as XML, JSON, and SQL. The data, shown through ListItemComponent {} either "header" or "item", can displayed as StandardListItem {} or inside of custom UI Containers. Additionally ListView supports three layout types: FlowListLayout, GridListLayout and StackListLayout. When a list item is selected it emits the onTriggred: {} signal.

Typical "ListView":

        ListView {
            id: myListView
            dataModel: XmlDataModel {
                source: "myData.xml"
            listItemComponents: [
                ListItemComponent {
                    type: "header"
                ListItemComponent {
                    type: "item"
            onTriggered: {

Examples/Tutorials Using This Feature:

ListView to create a RSS Feed

Horizontal ListView