--- a/QTfrontend/hwform.cpp Sun Feb 05 17:35:52 2012 -0500
+++ b/QTfrontend/hwform.cpp Sun Feb 05 18:20:02 2012 -0500
@@ -623,7 +623,7 @@
{
/**Start animation :**/
int coeff = 1;
-#ifndef Q_OS_MAC
+#ifdef false
coeff = 2;
QGraphicsOpacityEffect *effectNew = new QGraphicsOpacityEffect(ui.Pages->widget(id));
ui.Pages->widget(id)->setGraphicsEffect(effectNew);
@@ -641,7 +641,7 @@
animationNewSlide->setEndValue(QPoint(0, 0));
animationNewSlide->setEasingCurve(QEasingCurve::OutExpo);
-#ifndef Q_OS_MAC
+#ifdef false
animationNewOpacity = new QPropertyAnimation(effectNew, "opacity");
animationNewOpacity->setDuration(duration);
animationNewOpacity->setStartValue(0.01);
@@ -658,7 +658,7 @@
animationOldSlide->setEndValue(QPoint(-width()/coeff, 0));
animationOldSlide->setEasingCurve(QEasingCurve::OutExpo);
-#ifndef Q_OS_MAC
+#ifdef false
animationOldOpacity = new QPropertyAnimation(effectLast, "opacity");
animationOldOpacity->setDuration(duration);
animationOldOpacity->setStartValue(1);
@@ -669,7 +669,7 @@
QParallelAnimationGroup *group = new QParallelAnimationGroup;
group->addAnimation(animationOldSlide);
group->addAnimation(animationNewSlide);
-#ifndef Q_OS_MAC
+#ifdef false
group->addAnimation(animationOldOpacity);
group->addAnimation(animationNewOpacity);
#endif
@@ -732,7 +732,7 @@
if (curid != 0 && !stopAnim)
{
int coeff = 1;
-#ifndef Q_OS_MAC
+#ifdef false
coeff = 2;
QGraphicsOpacityEffect *effectNew = new QGraphicsOpacityEffect(ui.Pages->widget(id));
effectNew->setOpacity(1);
@@ -751,7 +751,7 @@
animationOldSlide->setEndValue(QPoint(0, 0));
animationOldSlide->setEasingCurve(QEasingCurve::OutExpo);
-#ifndef Q_OS_MAC
+#ifdef false
animationOldOpacity = new QPropertyAnimation(effectLast, "opacity");
animationOldOpacity->setDuration(duration);
animationOldOpacity->setStartValue(1);
@@ -767,7 +767,7 @@
animationNewSlide->setEndValue(QPoint(width()/coeff, 0));
animationNewSlide->setEasingCurve(QEasingCurve::OutExpo);
-#ifndef Q_OS_MAC
+#ifdef false
animationNewOpacity = new QPropertyAnimation(effectNew, "opacity");
animationNewOpacity->setDuration(duration);
animationNewOpacity->setStartValue(0.01);
@@ -778,7 +778,7 @@
QParallelAnimationGroup *group = new QParallelAnimationGroup;
group->addAnimation(animationOldSlide);
group->addAnimation(animationNewSlide);
-#ifndef Q_OS_MAC
+#ifdef false
group->addAnimation(animationOldOpacity);
group->addAnimation(animationNewOpacity);
#endif