~ubuntu-branches/ubuntu/saucy/qtdeclarative-opensource-src/saucy

« back to all changes in this revision

Viewing changes to tests/auto/quick/qquickflickable/data/flickable04.qml

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 14:17:19 UTC
  • Revision ID: package-import@ubuntu.com-20130205141719-qqeyml8wslpyez52
Tags: upstream-5.0.1
ImportĀ upstreamĀ versionĀ 5.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.0
 
2
 
 
3
Flickable {
 
4
    property bool ok: false
 
5
    function check() {
 
6
        if (column.parent == contentItem)
 
7
            ok = true;
 
8
    }
 
9
 
 
10
    width: 100; height: 100
 
11
    contentWidth: column.width; contentHeight: column.height
 
12
    pressDelay: 200; boundsBehavior: Flickable.StopAtBounds; interactive: false
 
13
    maximumFlickVelocity: 2000
 
14
 
 
15
    Column {
 
16
        id: column
 
17
        Repeater {
 
18
            model: 4
 
19
            Rectangle { width: 200; height: 300; color: "blue" }
 
20
        }
 
21
    }
 
22
}