Stage: Add automatic slide transition

Desktop / KDE / Calligra - Dag Andersen [get2net.dk] - 5 February 2020 09:48 UTC

Summary: Introduces 2 modes for slide transitions: Manual: Slide transition and animations must be activated manually (any page effect is always run) Automatic: Slide transition included page effects and animations is activated automatically after a user selectable time.

Known bug: The animation docker ui is not updated after undo but this is general bug and not introduced by this patch. See bug 416979.

Reviewers: zachmann

Subscribers: Calligra-Devel-list

Tags: #calligra:_3.0

Differential Revision: https://phabricator.kde.org/D27056

4f414172740 Stage: Add automatic slide transition
stage/part/CMakeLists.txt | 2 +
stage/part/KPrAnimationDirector.cpp | 106 +++++++++++++++++++--
stage/part/KPrAnimationDirector.h | 27 +++++-
stage/part/KPrPage.cpp | 3 +
stage/part/KPrPageApplicationData.cpp | 11 +++
stage/part/KPrPageApplicationData.h | 19 ++++
stage/part/KPrPageTransition.cpp | 100 +++++++++++++++++++
stage/part/KPrPageTransition.h | 70 ++++++++++++++
.../part/commands/KPrPageTransitionSetCommand.cpp | 43 +++++++++
stage/part/commands/KPrPageTransitionSetCommand.h | 47 +++++++++
.../tools/animationtool/KPrPageEffectDocker.cpp | 56 ++++++++++-
.../part/tools/animationtool/KPrPageEffectDocker.h | 5 +
12 files changed, 475 insertions(+), 14 deletions(-)

Upstream: quickgit.kde.org


  • Share