Revision 67079c2...

Go back to digest for 9th September 2012

Features in Office

Paul Mendez committed changes in [calligra] /:

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

File Changes

Added 28 files
  •   stage/part/KPrViewModePreviewShapeAnimations.cpp
  •   stage/part/KPrViewModePreviewShapeAnimations.h
  •   stage/part/animations/animations.xml
  •   stage/part/commands/KPrAnimationEditNodeTypeCommand.cpp
  •   stage/part/commands/KPrEditAnimationTimeLineCommand.cpp
  •   stage/part/commands/KPrReplaceAnimationCommand.cpp
  •   stage/part/tests/MockShapeAnimation.h
  •   stage/part/tests/ModelTest.cpp
  •   stage/part/tests/ModelTest.h
  •   stage/pics/animations/CMakeLists.txt
  •   stage/part/tools/animationtool/KPrAnimationGroupProxyModel.cpp
  •   stage/part/tools/animationtool/KPrAnimationGroupProxyModel.h
  •   stage/part/tools/animationtool/KPrAnimationSelectorWidget.cpp
  •   stage/part/tools/animationtool/KPrAnimationSelectorWidget.h
  •   stage/part/tools/animationtool/KPrAnimationsTimeLineView.cpp
  •   stage/part/tools/animationtool/KPrAnimationsTimeLineView.h
  •   stage/part/tools/animationtool/KPrCollectionItemModel.cpp
  •   stage/part/tools/animationtool/KPrCollectionItemModel.h
  •   stage/part/tools/animationtool/KPrEditAnimationsWidget.cpp
  •   stage/part/tools/animationtool/KPrEditAnimationsWidget.h
  •   stage/part/tools/animationtool/KPrPredefinedAnimationsLoader.cpp
  •   stage/part/tools/animationtool/KPrPredefinedAnimationsLoader.h
  •   stage/part/tools/animationtool/KPrShapeAnimationDocker.cpp
  •   stage/part/tools/animationtool/KPrShapeAnimationDocker.h
  •   stage/part/tools/animationtool/KPrTimeLineHeader.cpp
  •   stage/part/tools/animationtool/KPrTimeLineHeader.h
  •   stage/part/tools/animationtool/KPrTimeLineView.cpp
  •   stage/part/tools/animationtool/KPrTimeLineView.h
Modified 37 files
  •   libs/widgets/KoViewItemContextBar.cpp
  •   libs/widgets/KoViewItemContextBar.h
  •   stage/part/CMakeLists.txt
  •   stage/part/KPrDocument.cpp
  •   stage/part/KPrDocument.h
  •   stage/part/KPrEndOfSlideShowPage.cpp
  •   stage/part/KPrMasterPage.cpp
  •   stage/part/KPrMasterPage.h
  •   stage/part/KPrPage.cpp
  •   stage/part/KPrPageData.cpp
  •   stage/part/KPrPageData.h
  •   stage/part/KPrShapeAnimations.cpp
  •   stage/part/KPrShapeAnimations.h
  •   stage/part/KPrShapeApplicationData.cpp
  •   stage/part/KPrShapeApplicationData.h
  •   stage/pics/CMakeLists.txt
  •   libs/flake/tools/KoPathTool.cpp
  •   libs/flake/tools/KoPathTool.h
  •   stage/part/animations/KPrAnimateMotion.cpp
  •   stage/part/animations/KPrAnimateMotion.h
  •   stage/part/animations/KPrAnimationBase.cpp
  •   stage/part/animations/KPrAnimationBase.h
  •   stage/part/animations/KPrAnimationFactory.h
  •   stage/part/animations/KPrAnimationLoader.cpp
  •   stage/part/animations/KPrAnimationStep.h
  •   stage/part/animations/KPrAnimationSubStep.h
  •   stage/part/animations/KPrShapeAnimation.cpp
  •   stage/part/animations/KPrShapeAnimation.h
  •   stage/part/commands/KPrAnimationCreateCommand.cpp
  •   stage/part/commands/KPrAnimationCreateCommand.h
  •   stage/part/tests/CMakeLists.txt
  •   stage/part/tests/PAMock.h
  •   stage/part/tests/TestShapeAnimations.cpp
  •   stage/part/tests/TestShapeAnimations.h
  •   stage/part/tools/animationtool/CMakeLists.txt
  •   stage/part/tools/animationtool/KPrAnimationTool.cpp
  •   stage/part/tools/animationtool/KPrAnimationTool.h
65 files changed in total