[kde-doc-english] [calligra] /: Animation Tool: Shape Animations Docker

Paul Mendez paulestebanms at gmail.com
Sun Sep 2 03:13:46 UTC 2012


Git commit 67079c295666c4908fed4d46a3f04fd1cd47de8d by Paul Mendez.
Committed on 02/09/2012 at 05:06.
Pushed by mendez into branch 'master'.

Animation Tool: Shape Animations Docker

Add a docker to animation tool, intended to alow edition of shape animations. It includes:
- List to display current animations, change order, duration and type of animation
  - Time line view for advanced edition of start time and duration
  - Live preview of animations
- Widget to add new animations
  - Automatic preview of animations (Can be disabled and Stage remembers your preference)
  - Alternative animation preview using hover buttons.
  - Automatic drawing of motion path icons using shape stored on xml description
  - Automatic loading of predefined animations from a xml file (I have added some predefined animations).
- Basic edition of motion path animations (Some predefined motion path animations have been added on the xml file).
- Refactor of KPrAnimateMotion class (class that loads and saves motion paths)
- Data model to store and edit animations of a document.
- Unit test for the animations data model.

My thanks to Thorsten Z. for the review and valuable suggestions

REVIEW: 106093
GUI: animation tool docker for edition of shape animations

M  +1    -1    libs/flake/tools/KoPathTool.cpp
M  +4    -2    libs/flake/tools/KoPathTool.h
M  +14   -2    libs/widgets/KoViewItemContextBar.cpp
M  +2    -0    libs/widgets/KoViewItemContextBar.h
M  +12   -1    stage/part/CMakeLists.txt
M  +17   -5    stage/part/KPrDocument.cpp
M  +2    -0    stage/part/KPrDocument.h
M  +1    -1    stage/part/KPrEndOfSlideShowPage.cpp
M  +2    -1    stage/part/KPrMasterPage.cpp
M  +1    -1    stage/part/KPrMasterPage.h
M  +1    -0    stage/part/KPrPage.cpp
M  +2    -1    stage/part/KPrPageData.cpp
M  +4    -2    stage/part/KPrPageData.h
M  +1117 -7    stage/part/KPrShapeAnimations.cpp
M  +254  -4    stage/part/KPrShapeAnimations.h
M  +9    -1    stage/part/KPrShapeApplicationData.cpp
M  +5    -1    stage/part/KPrShapeApplicationData.h
A  +216  -0    stage/part/KPrViewModePreviewShapeAnimations.cpp     [License: LGPL (v2+)]
A  +84   -0    stage/part/KPrViewModePreviewShapeAnimations.h     [License: LGPL (v2+)]
M  +60   -14   stage/part/animations/KPrAnimateMotion.cpp
M  +14   -2    stage/part/animations/KPrAnimateMotion.h
M  +16   -2    stage/part/animations/KPrAnimationBase.cpp
M  +6    -0    stage/part/animations/KPrAnimationBase.h
M  +3    -1    stage/part/animations/KPrAnimationFactory.h
M  +49   -2    stage/part/animations/KPrAnimationLoader.cpp
M  +2    -1    stage/part/animations/KPrAnimationStep.h
M  +2    -1    stage/part/animations/KPrAnimationSubStep.h
M  +207  -6    stage/part/animations/KPrShapeAnimation.cpp
M  +158  -3    stage/part/animations/KPrShapeAnimation.h
A  +1060 -0    stage/part/animations/animations.xml
M  +1    -3    stage/part/commands/KPrAnimationCreateCommand.cpp
M  +5    -5    stage/part/commands/KPrAnimationCreateCommand.h
A  +51   -0    stage/part/commands/KPrAnimationEditNodeTypeCommand.cpp     [License: LGPL (v2+)]
C  +21   -15   stage/part/commands/KPrAnimationEditNodeTypeCommand.h [from: stage/part/commands/KPrAnimationCreateCommand.h - 052% similarity]
C  +15   -19   stage/part/commands/KPrAnimationRemoveCommand.cpp [from: stage/part/commands/KPrAnimationCreateCommand.cpp - 059% similarity]
C  +13   -12   stage/part/commands/KPrAnimationRemoveCommand.h [from: stage/part/commands/KPrAnimationCreateCommand.h - 066% similarity]
A  +57   -0    stage/part/commands/KPrEditAnimationTimeLineCommand.cpp     [License: LGPL (v2+)]
C  +19   -14   stage/part/commands/KPrEditAnimationTimeLineCommand.h [from: stage/part/commands/KPrAnimationCreateCommand.h - 059% similarity]
C  +15   -20   stage/part/commands/KPrReorderAnimationCommand.cpp [from: stage/part/commands/KPrAnimationCreateCommand.cpp - 051% similarity]
C  +15   -12   stage/part/commands/KPrReorderAnimationCommand.h [from: stage/part/commands/KPrAnimationCreateCommand.h - 061% similarity]
A  +54   -0    stage/part/commands/KPrReplaceAnimationCommand.cpp     [License: LGPL (v2+)]
C  +22   -14   stage/part/commands/KPrReplaceAnimationCommand.h [from: stage/part/commands/KPrAnimationCreateCommand.h - 055% similarity]
M  +10   -4    stage/part/tests/CMakeLists.txt
A  +63   -0    stage/part/tests/MockShapeAnimation.h     [License: LGPL (v2+)]
A  +539  -0    stage/part/tests/ModelTest.cpp     [License: GPL (v2)]
A  +75   -0    stage/part/tests/ModelTest.h     [License: GPL (v2)]
M  +1    -0    stage/part/tests/PAMock.h
M  +466  -89   stage/part/tests/TestShapeAnimations.cpp
M  +15   -10   stage/part/tests/TestShapeAnimations.h
M  +9    -0    stage/part/tools/animationtool/CMakeLists.txt
A  +57   -0    stage/part/tools/animationtool/KPrAnimationGroupProxyModel.cpp     [License: LGPL (v2+)]
A  +58   -0    stage/part/tools/animationtool/KPrAnimationGroupProxyModel.h     [License: LGPL (v2+)]
A  +336  -0    stage/part/tools/animationtool/KPrAnimationSelectorWidget.cpp     [License: LGPL (v2+)]
A  +118  -0    stage/part/tools/animationtool/KPrAnimationSelectorWidget.h     [License: LGPL (v2+)]
M  +233  -15   stage/part/tools/animationtool/KPrAnimationTool.cpp
M  +53   -12   stage/part/tools/animationtool/KPrAnimationTool.h
A  +364  -0    stage/part/tools/animationtool/KPrAnimationsTimeLineView.cpp     [License: LGPL (v2+)]
A  +180  -0    stage/part/tools/animationtool/KPrAnimationsTimeLineView.h     [License: LGPL (v2+)]
A  +80   -0    stage/part/tools/animationtool/KPrCollectionItemModel.cpp     [License: LGPL (v2+)]
A  +74   -0    stage/part/tools/animationtool/KPrCollectionItemModel.h     [License: LGPL (v2+)]
A  +288  -0    stage/part/tools/animationtool/KPrEditAnimationsWidget.cpp     [License: LGPL (v2+)]
A  +149  -0    stage/part/tools/animationtool/KPrEditAnimationsWidget.h     [License: LGPL (v2+)]
A  +446  -0    stage/part/tools/animationtool/KPrPredefinedAnimationsLoader.cpp     [License: LGPL (v2+)]
A  +134  -0    stage/part/tools/animationtool/KPrPredefinedAnimationsLoader.h     [License: LGPL (v2+)]
A  +603  -0    stage/part/tools/animationtool/KPrShapeAnimationDocker.cpp     [License: LGPL (v2+)]
A  +211  -0    stage/part/tools/animationtool/KPrShapeAnimationDocker.h     [License: LGPL (v2+)]
A  +149  -0    stage/part/tools/animationtool/KPrTimeLineHeader.cpp     [License: LGPL (v2+)]
A  +52   -0    stage/part/tools/animationtool/KPrTimeLineHeader.h     [License: LGPL (v2+)]
A  +478  -0    stage/part/tools/animationtool/KPrTimeLineView.cpp     [License: LGPL (v2+)]
A  +89   -0    stage/part/tools/animationtool/KPrTimeLineView.h     [License: LGPL (v2+)]
M  +1    -0    stage/pics/CMakeLists.txt
A  +1    -0    stage/pics/animations/CMakeLists.txt
A  +-    --    stage/pics/animations/hi32-action-after_previous.png
A  +-    --    stage/pics/animations/hi32-action-edit_animation.png
A  +-    --    stage/pics/animations/hi32-action-onclick.png
A  +-    --    stage/pics/animations/hi32-action-unrecognized_animation.png
A  +-    --    stage/pics/animations/hi32-action-with_previous.png
A  +-    --    stage/pics/animations/hi64-action-appear_animation.png
A  +-    --    stage/pics/animations/hi64-action-bounce_animation.png
A  +-    --    stage/pics/animations/hi64-action-collapse_animation.png
A  +-    --    stage/pics/animations/hi64-action-crawl_out_animation.png
A  +-    --    stage/pics/animations/hi64-action-custom_animations.png
A  +-    --    stage/pics/animations/hi64-action-disappear_animation.png
A  +-    --    stage/pics/animations/hi64-action-emphasis_animations.png
A  +-    --    stage/pics/animations/hi64-action-entrance_animations.png
A  +-    --    stage/pics/animations/hi64-action-exit_animations.png
A  +-    --    stage/pics/animations/hi64-action-falling_in_animation.png
A  +-    --    stage/pics/animations/hi64-action-flash_once_animation.png
A  +-    --    stage/pics/animations/hi64-action-fly_in_animation.png
A  +-    --    stage/pics/animations/hi64-action-fly_in_slow_animation.png
A  +-    --    stage/pics/animations/hi64-action-fly_out_animation.png
A  +-    --    stage/pics/animations/hi64-action-horizontal_animations.png
A  +-    --    stage/pics/animations/hi64-action-in_animations.png
A  +-    --    stage/pics/animations/hi64-action-motion_path_animations.png
A  +-    --    stage/pics/animations/hi64-action-movie_credits_animation.png
A  +-    --    stage/pics/animations/hi64-action-out_animations.png
A  +-    --    stage/pics/animations/hi64-action-spiral_in_animation.png
A  +-    --    stage/pics/animations/hi64-action-spiral_out_animation.png
A  +-    --    stage/pics/animations/hi64-action-stretchy_animation.png
A  +-    --    stage/pics/animations/hi64-action-swish_animation.png
A  +-    --    stage/pics/animations/hi64-action-swivel_animation.png
A  +-    --    stage/pics/animations/hi64-action-thread_animation.png
A  +-    --    stage/pics/animations/hi64-action-vertical_animations.png
A  +-    --    stage/pics/animations/hi64-action-zoom_animation.png

http://commits.kde.org/calligra/67079c295666c4908fed4d46a3f04fd1cd47de8d


More information about the kde-doc-english mailing list