summaryrefslogtreecommitdiffstats
path: root/hyperui
diff options
context:
space:
mode:
authorAdriano Rezende <adriano.rezende@openbossa.org>2009-10-27 18:54:45 -0300
committerAdriano Rezende <adriano.rezende@openbossa.org>2009-10-29 18:25:06 -0300
commitb5ef16f9b6383f45d0590eefe7db260eef731758 (patch)
tree09d0b3e94737563a628af6c6c32f6b2505e9c631 /hyperui
parent3990e5973b67f9b688201d2823397523a51488df (diff)
HiperUI: Adjusted unlock screen animations to use sine easing curve
Diffstat (limited to 'hyperui')
-rw-r--r--hyperui/draggablepreview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/hyperui/draggablepreview.cpp b/hyperui/draggablepreview.cpp
index 93f17dc..e59197b 100644
--- a/hyperui/draggablepreview.cpp
+++ b/hyperui/draggablepreview.cpp
@@ -149,9 +149,11 @@ QAbstractAnimation *DraggablePreview::createAnimation(int time, const char *slot
QParallelAnimationGroup *result = new QParallelAnimationGroup();
QPropertyAnimation *posAnimation = new QPropertyAnimation(this, "pos");
+ posAnimation->setEasingCurve(QEasingCurve::InSine);
posAnimation->setDuration(time);
QPropertyAnimation *scaleAnimation = new QPropertyAnimation(this, "scale");
+ scaleAnimation->setEasingCurve(QEasingCurve::InSine);
scaleAnimation->setDuration(time);
result->addAnimation(posAnimation);