diff options
author | Girish Ramakrishnan <girish@Mini-Me.local> | 2009-11-16 19:09:37 +0530 |
---|---|---|
committer | Girish Ramakrishnan <girish@Mini-Me.local> | 2009-11-16 19:09:37 +0530 |
commit | f3f52a80ae5782ba00ff7cb5ff6ffd27ab827969 (patch) | |
tree | a1d64add3516c7fbbb65c176f59e309e64dbb14c /mainwindow.cpp | |
parent | 856f00d75051c6d379f259f98d5f7f31dafcbc10 (diff) |
change 500ms to 250ms
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index d473a5b..aaf7f57 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -212,13 +212,13 @@ void MainWindow::addScrapToAnimations(WebScrapContainer *container) { Q_ASSERT(m_scrapsLeave); QPropertyAnimation *enterAnim = new QPropertyAnimation(container, "pos", this); - enterAnim->setDuration(500 + 150 * m_scraps.count()); + enterAnim->setDuration(250 + 150 * m_scraps.count()); enterAnim->setEndValue(container->pos()); enterAnim->setEasingCurve(QEasingCurve::OutCubic); m_scrapsEnter->addAnimation(enterAnim); QPropertyAnimation *leaveAnim = new QPropertyAnimation(container, "pos", this); - leaveAnim->setDuration(500 + 150 * m_scraps.count()); + leaveAnim->setDuration(250 + 150 * m_scraps.count()); leaveAnim->setEndValue(sceneRect().center() + m_scrapsFlyOffset); leaveAnim->setEasingCurve(QEasingCurve::InCubic); m_scrapsLeave->addAnimation(leaveAnim); @@ -239,7 +239,7 @@ void MainWindow::removeScrapFromAnimations(WebScrapContainer *container) { QAbstractAnimation* MainWindow::createBrowserAnim(const Movement move, QObject *parent) { QPropertyAnimation *anim = new QPropertyAnimation(m_webView, "opacity", parent); - anim->setDuration(500); + anim->setDuration(250); if (move == Enter) { anim->setStartValue(0.0); anim->setEndValue(1.0); @@ -255,7 +255,7 @@ QAbstractAnimation* MainWindow::createToolbarAnim(GraphicsToolBar *fromToolbar, QSequentialAnimationGroup *seqAnim = new QSequentialAnimationGroup(parent); QPropertyAnimation *rotateAnim1 = new QPropertyAnimation(fromToolbar->rotation(), "angle", seqAnim); fromToolbar->rotation()->setOrigin(QVector3D(fromToolbar->rect().center())); - rotateAnim1->setDuration(500); + rotateAnim1->setDuration(250); rotateAnim1->setStartValue(0.0); if (direction == Clockwise) rotateAnim1->setEndValue(80.0); @@ -270,7 +270,7 @@ QAbstractAnimation* MainWindow::createToolbarAnim(GraphicsToolBar *fromToolbar, QPropertyAnimation *rotateAnim2 = new QPropertyAnimation(toToolbar->rotation(), "angle", seqAnim); toToolbar->rotation()->setOrigin(QVector3D(toToolbar->rect().center())); - rotateAnim2->setDuration(500); + rotateAnim2->setDuration(250); if (direction == Clockwise) rotateAnim2->setStartValue(-80.0); else |