'Enable/disable transition animations.'

def setAnimationEnabled(self, animationEnabled):

    if (self.__animationEnabled != animationEnabled):
        self.__animationEnabled = animationEnabled
        self.transitionAnimation.setDuration((100 if animationEnabled else 0))
