diff -r f27aebe284bb -r c5af8598d22c logsui/logsapp/src/logseffecthandler.cpp --- a/logsui/logsapp/src/logseffecthandler.cpp Wed Aug 18 09:49:12 2010 +0300 +++ b/logsui/logsapp/src/logseffecthandler.cpp Thu Sep 02 20:27:05 2010 +0300 @@ -23,7 +23,7 @@ #include #include -const int logsMoveByExtra = 20; +const int logsMoveByExtra = 10; const int logsEffectDelayBetween = 200; const int logsEffectAppearDurationInMs = 500; const int logsEffectDissappearDurationInMs = 300; @@ -104,8 +104,10 @@ void LogsEffectHandler::moveAnimationChanged(QAbstractAnimation *currentAnimation) { int indexOfAnimation = mMoveGroup->indexOfAnimation(currentAnimation); - if (indexOfAnimation == logsPauseBetweenDissappearAndAppearIndex ) { + if (indexOfAnimation == logsPauseBetweenDissappearAndAppearIndex ) { emit dissappearByMovingComplete(); + } else if (indexOfAnimation == logsAppearByMovingIndex ) { + emit appearStarting(); } } @@ -205,13 +207,13 @@ LOGS_QDEBUG( "logs [UI] -> LogsEffectHandler::startAppearByMovingEffect()" ); Q_ASSERT(!hbInstance->allMainWindows().isEmpty()); - int moveBy = hbInstance->allMainWindows().at(0)->layoutRect().width() + logsMoveByExtra; + int moveBy = hbInstance->allMainWindows().at(0)->layoutRect().width() - logsMoveByExtra; int startPos = appearFromLeft ? -moveBy : moveBy; QEasingCurve easing(QEasingCurve::OutQuad); // decelerating initMoveHorizontallyEffect( animation, effectTarget, startPos, origX, logsEffectAppearDurationInMs, easing); - + LOGS_QDEBUG( "logs [UI] <- LogsEffectHandler::startAppearByMovingEffect()" ); }