summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicklistview/data/keyNavigationEnabled.qml
blob: 943b0aadbd2b9544ab8dd8c35f8ac81f057dbed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.7

ListView {
    width: 400
    height: 400
    model: 100
    // Ensure that the property is available in QML.
    onKeyNavigationEnabledChanged: {}
    delegate: Rectangle {
        height: 40
        width: 400
        color: index % 2 ? "lightsteelblue" : "lightgray"
    }
}