tests/auto/declarative/qdeclarativeflickable/data/flickable04.qml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 21:20:32 +0300
changeset 34 a33bf25e6f72
parent 33 3e2da88830cd
permissions -rw-r--r--
Revision: 201033 Kit: 201035

import Qt 4.7

Flickable {
    property bool ok: false
    function check() {
        if (column.parent == contentItem)
            ok = true;
    }

    width: 100; height: 100
    contentWidth: column.width; contentHeight: column.height
    pressDelay: 200; boundsBehavior: Flickable.StopAtBounds; interactive: false
    maximumFlickVelocity: 2000

    Column {
        id: column
        Repeater {
            model: 4
            Rectangle { width: 200; height: 300; color: "blue" }
        }
    }
}