Exemplo n.º 1
0
 def __init__(self, method: Callable[[float, MShape], None], start_val: float, end_value: float, duration: int, fps=60):
     MAnimate.__init__(self)
     self.can_run_reversed = True
     self.__remaining_delay = -1
     self.__method = method
     self.__completed = False
     self.__animator = MValueAnimator(start_val, end_value, duration, fps)
Exemplo n.º 2
0
 def __init__(self):
     MAnimate.__init__(self)
     self.can_run_reversed = True
Exemplo n.º 3
0
 def __init__(self):
     MAnimate.__init__(self)
     self.__clip = QPainterPath()