spinetoolbox.project_items.shared.animations¶
Animation class for the Exporter and Importer items.
| authors: |
|
|---|---|
| date: | 12.11.2019 |
Module Contents¶
Classes¶
ImporterExporterAnimation |
Initializes animation stuff. |
ImporterAnimation |
Initializes animation stuff. |
ExporterAnimation |
Initializes animation stuff. |
-
class
spinetoolbox.project_items.shared.animations.ImporterExporterAnimation(item, duration=2000, count=5, percentage_size=0.24, x_shift=0)[source]¶ Initializes animation stuff.
Parameters: item (QGraphicsItem) – The item on top of which the animation should play.
-
class
spinetoolbox.project_items.shared.animations.ImporterAnimation(item, duration=2000, count=5, percentage_size=0.24, x_shift=0)[source]¶ Bases:
spinetoolbox.project_items.shared.animations.ImporterExporterAnimationInitializes animation stuff.
Parameters: item (QGraphicsItem) – The item on top of which the animation should play.
-
class
spinetoolbox.project_items.shared.animations.ExporterAnimation(item, duration=2000, count=5, percentage_size=0.24, x_shift=0)[source]¶ Bases:
spinetoolbox.project_items.shared.animations.ImporterExporterAnimationInitializes animation stuff.
Parameters: item (QGraphicsItem) – The item on top of which the animation should play.