MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML SectionScroller Element

Helps user to scroll a one section of a long list at a time. More...

Inherits Item

This element was introduced in qt-components 4.7.

Properties

Detailed Description

A section scroller is a component that allows the user to scroll through a one section of a list at a time. The sections are defined in the list.

 Item {
     anchors.fill: parent

     ListModel {
         id: testModel
         ListElement { name: "A Cat 1"; alphabet: "A" }
         ListElement { name: "A Cat 2"; alphabet: "A" }
         ...
     }

     ListView {
         id: list
         anchors.fill: parent
         ...
     }

     SectionScroller {
         list: list
     }
 }

Property Documentation

list : ListView

The ListView Item that shows the Section Scroller.