Kaydet (Commit) a7b92624 authored tarafından Rishabh Kumar's avatar Rishabh Kumar Kaydeden (comit) Yousuf Philips

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/15929Reviewed-by: 's avatarYousuf Philips <philipz85@hotmail.com>
Tested-by: 's avatarYousuf Philips <philipz85@hotmail.com>
üst 72d30870
...@@ -436,7 +436,6 @@ SlideTransitionPane::SlideTransitionPane( ...@@ -436,7 +436,6 @@ SlideTransitionPane::SlideTransitionPane(
get(mpMF_ADVANCE_AUTO_AFTER, "auto_after_value"); get(mpMF_ADVANCE_AUTO_AFTER, "auto_after_value");
get(mpPB_APPLY_TO_ALL, "apply_to_all"); get(mpPB_APPLY_TO_ALL, "apply_to_all");
get(mpPB_PLAY, "play"); get(mpPB_PLAY, "play");
get(mpPB_SLIDE_SHOW, "slide_show");
get(mpCB_AUTO_PREVIEW, "auto_preview"); get(mpCB_AUTO_PREVIEW, "auto_preview");
mpLB_SLIDE_TRANSITIONS->set_width_request(mpLB_SLIDE_TRANSITIONS->approximate_char_width() * 16); mpLB_SLIDE_TRANSITIONS->set_width_request(mpLB_SLIDE_TRANSITIONS->approximate_char_width() * 16);
...@@ -460,7 +459,6 @@ SlideTransitionPane::SlideTransitionPane( ...@@ -460,7 +459,6 @@ SlideTransitionPane::SlideTransitionPane(
// set handlers // set handlers
mpPB_APPLY_TO_ALL->SetClickHdl( LINK( this, SlideTransitionPane, ApplyToAllButtonClicked )); mpPB_APPLY_TO_ALL->SetClickHdl( LINK( this, SlideTransitionPane, ApplyToAllButtonClicked ));
mpPB_PLAY->SetClickHdl( LINK( this, SlideTransitionPane, PlayButtonClicked )); mpPB_PLAY->SetClickHdl( LINK( this, SlideTransitionPane, PlayButtonClicked ));
mpPB_SLIDE_SHOW->SetClickHdl( LINK( this, SlideTransitionPane, SlideShowButtonClicked ));
mpLB_SLIDE_TRANSITIONS->SetSelectHdl( LINK( this, SlideTransitionPane, TransitionSelected )); mpLB_SLIDE_TRANSITIONS->SetSelectHdl( LINK( this, SlideTransitionPane, TransitionSelected ));
...@@ -501,7 +499,6 @@ void SlideTransitionPane::dispose() ...@@ -501,7 +499,6 @@ void SlideTransitionPane::dispose()
mpMF_ADVANCE_AUTO_AFTER.clear(); mpMF_ADVANCE_AUTO_AFTER.clear();
mpPB_APPLY_TO_ALL.clear(); mpPB_APPLY_TO_ALL.clear();
mpPB_PLAY.clear(); mpPB_PLAY.clear();
mpPB_SLIDE_SHOW.clear();
mpCB_AUTO_PREVIEW.clear(); mpCB_AUTO_PREVIEW.clear();
PanelLayout::dispose(); PanelLayout::dispose();
} }
...@@ -1007,12 +1004,6 @@ IMPL_LINK_NOARG(SlideTransitionPane, PlayButtonClicked) ...@@ -1007,12 +1004,6 @@ IMPL_LINK_NOARG(SlideTransitionPane, PlayButtonClicked)
return 0; return 0;
} }
IMPL_LINK_NOARG(SlideTransitionPane, SlideShowButtonClicked)
{
mrBase.StartPresentation();
return 0;
}
IMPL_LINK_NOARG(SlideTransitionPane, TransitionSelected) IMPL_LINK_NOARG(SlideTransitionPane, TransitionSelected)
{ {
applyToSelectedPages(); applyToSelectedPages();
......
...@@ -89,7 +89,6 @@ private: ...@@ -89,7 +89,6 @@ private:
DECL_LINK( ApplyToAllButtonClicked, void * ); DECL_LINK( ApplyToAllButtonClicked, void * );
DECL_LINK( PlayButtonClicked, void * ); DECL_LINK( PlayButtonClicked, void * );
DECL_LINK( SlideShowButtonClicked, void * );
DECL_LINK( AutoPreviewClicked, void * ); DECL_LINK( AutoPreviewClicked, void * );
DECL_LINK( TransitionSelected, void * ); DECL_LINK( TransitionSelected, void * );
...@@ -116,7 +115,6 @@ private: ...@@ -116,7 +115,6 @@ private:
VclPtr<MetricField> mpMF_ADVANCE_AUTO_AFTER; VclPtr<MetricField> mpMF_ADVANCE_AUTO_AFTER;
VclPtr<PushButton> mpPB_APPLY_TO_ALL; VclPtr<PushButton> mpPB_APPLY_TO_ALL;
VclPtr<PushButton> mpPB_PLAY; VclPtr<PushButton> mpPB_PLAY;
VclPtr<PushButton> mpPB_SLIDE_SHOW;
VclPtr<CheckBox> mpCB_AUTO_PREVIEW; VclPtr<CheckBox> mpCB_AUTO_PREVIEW;
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawView > mxView; ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawView > mxView;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment