src/eric7/EricWidgets/EricAnimatedWidget.py

branch
eric7
changeset 10475
ee41fab001f2
parent 10439
21c28b0f9e41
child 10476
5182a7c5a9f3
equal deleted inserted replaced
10474:c18ca679259d 10475:ee41fab001f2
18 class EricAnimatedWidget(QWidget): 18 class EricAnimatedWidget(QWidget):
19 """ 19 """
20 Class implementing an animated widget. 20 Class implementing an animated widget.
21 """ 21 """
22 22
23 # TODO: change this to an enum
23 DirectionDown = 0 24 DirectionDown = 0
24 DirectionUp = 1 25 DirectionUp = 1
25 26
26 def __init__(self, direction=DirectionDown, duration=300, parent=None): 27 def __init__(self, direction=DirectionDown, duration=300, parent=None):
27 """ 28 """

eric ide

mercurial