From 31407dc23c41fb7f07ed62e049a35b0da7ec9564 Mon Sep 17 00:00:00 2001 From: Rishabh Kumar Date: Wed, 27 May 2015 19:26:43 +0530 Subject: tdf#87862: Rearranging the lower half of slide transition tab Follow up commit for the minor tweaks Change-Id: I9f274e38c7d0adfc431dc9a11000c3ce9fad3a3e Reviewed-on: https://gerrit.libreoffice.org/15929 Reviewed-by: Yousuf Philips Tested-by: Yousuf Philips (cherry picked from commit a7b926243b300daf195467111e10a7bd481828a0) Reviewed-on: https://gerrit.libreoffice.org/15999 Tested-by: Jan Holesovsky Reviewed-by: Jan Holesovsky --- sd/source/ui/animations/SlideTransitionPane.cxx | 9 -- sd/source/ui/animations/SlideTransitionPane.hxx | 2 - sd/uiconfig/simpress/ui/slidetransitionspanel.ui | 155 ++++++++++------------- 3 files changed, 69 insertions(+), 97 deletions(-) diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index 0c41e0905296..86f2afd1f2ca 100644 --- a/sd/source/ui/animations/SlideTransitionPane.cxx +++ b/sd/source/ui/animations/SlideTransitionPane.cxx @@ -436,7 +436,6 @@ SlideTransitionPane::SlideTransitionPane( get(mpMF_ADVANCE_AUTO_AFTER, "auto_after_value"); get(mpPB_APPLY_TO_ALL, "apply_to_all"); get(mpPB_PLAY, "play"); - get(mpPB_SLIDE_SHOW, "slide_show"); get(mpCB_AUTO_PREVIEW, "auto_preview"); mpLB_SLIDE_TRANSITIONS->set_width_request(mpLB_SLIDE_TRANSITIONS->approximate_char_width() * 16); @@ -460,7 +459,6 @@ SlideTransitionPane::SlideTransitionPane( // set handlers mpPB_APPLY_TO_ALL->SetClickHdl( LINK( this, SlideTransitionPane, ApplyToAllButtonClicked )); mpPB_PLAY->SetClickHdl( LINK( this, SlideTransitionPane, PlayButtonClicked )); - mpPB_SLIDE_SHOW->SetClickHdl( LINK( this, SlideTransitionPane, SlideShowButtonClicked )); mpLB_SLIDE_TRANSITIONS->SetSelectHdl( LINK( this, SlideTransitionPane, TransitionSelected )); @@ -501,7 +499,6 @@ void SlideTransitionPane::dispose() mpMF_ADVANCE_AUTO_AFTER.clear(); mpPB_APPLY_TO_ALL.clear(); mpPB_PLAY.clear(); - mpPB_SLIDE_SHOW.clear(); mpCB_AUTO_PREVIEW.clear(); PanelLayout::dispose(); } @@ -1007,12 +1004,6 @@ IMPL_LINK_NOARG(SlideTransitionPane, PlayButtonClicked) return 0; } -IMPL_LINK_NOARG(SlideTransitionPane, SlideShowButtonClicked) -{ - mrBase.StartPresentation(); - return 0; -} - IMPL_LINK_NOARG(SlideTransitionPane, TransitionSelected) { applyToSelectedPages(); diff --git a/sd/source/ui/animations/SlideTransitionPane.hxx b/sd/source/ui/animations/SlideTransitionPane.hxx index 654ce2e8642e..fbfc3cf33e16 100644 --- a/sd/source/ui/animations/SlideTransitionPane.hxx +++ b/sd/source/ui/animations/SlideTransitionPane.hxx @@ -89,7 +89,6 @@ private: DECL_LINK( ApplyToAllButtonClicked, void * ); DECL_LINK( PlayButtonClicked, void * ); - DECL_LINK( SlideShowButtonClicked, void * ); DECL_LINK( AutoPreviewClicked, void * ); DECL_LINK( TransitionSelected, void * ); @@ -116,7 +115,6 @@ private: VclPtr mpMF_ADVANCE_AUTO_AFTER; VclPtr mpPB_APPLY_TO_ALL; VclPtr mpPB_PLAY; - VclPtr mpPB_SLIDE_SHOW; VclPtr mpCB_AUTO_PREVIEW; ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawView > mxView; diff --git a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui index 13a300ce6267..9e046fe9fd81 100644 --- a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui +++ b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui @@ -2,6 +2,11 @@ + + True + False + sd/res/playblue_16.png + True False @@ -26,8 +31,6 @@ True False True - 6 - 12 True @@ -40,15 +43,8 @@ - - - True - False - Apply to Selected Slides - - - - + + @@ -67,8 +63,8 @@ True False - 6 - 12 + 3 + 20 True @@ -248,113 +244,100 @@ False True - 3 + 2 - + True False - 0 - none + vertical - + True False - 6 - 12 + center - + + Apply Transition to All Slides True - False - 6 - - - Automatic - True - True - False - 0 - True - - - False - True - 0 - - - - - Play - True - True - True - - - False - True - 1 - - + True + True + center + + False + True + 0 + + + False + True + 0 + - - - True - False - Preview - - - - - - - - False - True - 4 - - - - - True - False - 12 - start - - Apply to All Slides + True - True - True - center + False False True - 0 + 1 - - Slide Show + True - True - True + False + 12 + 18 + + + Automatic Preview + True + True + False + 0 + True + + + False + True + 0 + + + + + Play + True + True + True + image1 + right + True + + + False + True + 1 + + False True - 1 + 2 False True - 6 + 3 -- cgit v1.2.3