aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/snippets/data/tumbler/qtquickcontrols2-tumbler-delegate.qml
blob: d7f02c0c9ffdcaa4dae7615d49605f42a3337d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import QtQuick 2.0
import QtQuick.Controls 2.0

Tumbler {
    id: tumbler
    model: 5

    Column {
        Repeater {
            model: 3

            Rectangle {
                width: tumbler.contentItem.width
                height: tumbler.contentItem.height / 3
                color: 'transparent'
                border.color: 'red'
            }
        }
    }
}