diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-02-22 00:03:14 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-02-22 00:03:14 (GMT) |
commit | 0c24787a2f35a7b0585c9dfb3bf0a8cb34ce867f (patch) | |
tree | bf197586433043dc93b83a425b1407d543a0cdfc /tests | |
parent | 1bcddaaf318fc37c71c5191913f3487c49444ec6 (diff) | |
download | Qt-0c24787a2f35a7b0585c9dfb3bf0a8cb34ce867f.zip Qt-0c24787a2f35a7b0585c9dfb3bf0a8cb34ce867f.tar.gz Qt-0c24787a2f35a7b0585c9dfb3bf0a8cb34ce867f.tar.bz2 |
Add missing test file.
Missed in 1bcddaaf318fc37c71c5191913f3487c49444ec6
Change-Id: I4f71e5fb2b0e67a6e64ee64ae03b9d9cfc7a244f
Task-number: QTBUG-17361
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qdeclarativeflickable/data/nestedPressDelay.qml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeflickable/data/nestedPressDelay.qml b/tests/auto/declarative/qdeclarativeflickable/data/nestedPressDelay.qml new file mode 100644 index 0000000..d0ee545 --- /dev/null +++ b/tests/auto/declarative/qdeclarativeflickable/data/nestedPressDelay.qml @@ -0,0 +1,33 @@ +import QtQuick 1.0 + +Flickable { + property bool pressed: ma.pressed + width: 240 + height: 320 + contentWidth: 480 + contentHeight: 320 + flickableDirection: Flickable.HorizontalFlick + pressDelay: 50 + Flickable { + objectName: "innerFlickable" + flickableDirection: Flickable.VerticalFlick + width: 480 + height: 320 + contentWidth: 480 + contentHeight: 400 + pressDelay: 10000 + Rectangle { + y: 100 + anchors.horizontalCenter: parent.horizontalCenter + width: 240 + height: 100 + color: ma.pressed ? 'blue' : 'green' + MouseArea { + id: ma + objectName: "mouseArea" + anchors.fill: parent + } + } + } +} + |