aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/snippets/data/qtlabscontrols-pageindicator.qml
blob: 1800065455d90b25b81b3cbd2fb8352b154abea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick 2.0
import Qt.labs.controls 1.0

Rectangle {
    width: 100
    height: 100
    border.color: Theme.frameColor

    //! [1]
    PageIndicator {
        count: 5
        currentIndex: 2
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.bottom: parent.bottom
    }
    //! [1]
}