From 5be4488fb15b544926af203feeffa5ced8184f1f Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 20 Dec 2016 15:32:58 +0100 Subject: SwipeDelegate: rename swipe.rebound to swipe.transition The "rebound" name originates from Flickable::rebound, but for swipe delegate the transition is not only applied on release, but also when calling swipe.open() or swipe.close(). Therefore the "rebound" name feels a bit off in this context. Furthermore, this patch adds the missing docs and a changelog entry. [ChangeLog][Controls][SwipeDelegate] Added a swipe.transition property that holds the transition that is applied when a swipe is released, or swipe.open() or swipe.close() is called. Change-Id: Ic38ec850c64dd21b8d9deb08609172c6cb0f6d71 Reviewed-by: Mitch Curtis --- tests/auto/controls/data/tst_swipedelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto') diff --git a/tests/auto/controls/data/tst_swipedelegate.qml b/tests/auto/controls/data/tst_swipedelegate.qml index 85db883f..727f24e5 100644 --- a/tests/auto/controls/data/tst_swipedelegate.qml +++ b/tests/auto/controls/data/tst_swipedelegate.qml @@ -1521,7 +1521,7 @@ TestCase { width: 150 swipe.left: greenLeftComponent swipe.right: redRightComponent - swipe.rebound: null + swipe.transition: null property alias behavior: xBehavior property alias animation: numberAnimation -- cgit v1.2.3