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 """ |