LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
svx::sidebar::MediaPlaybackPanel Class Reference

This panel provides media playback control in document. More...

#include <MediaPlaybackPanel.hxx>

Inheritance diagram for svx::sidebar::MediaPlaybackPanel:
[legend]
Collaboration diagram for svx::sidebar::MediaPlaybackPanel:
[legend]

Public Member Functions

 MediaPlaybackPanel (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
virtual ~MediaPlaybackPanel () override
 
virtual void dispose () override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~PanelLayout () override
 
virtual Size GetOptimalSize () const override
 
virtual void GetFocus () override
 
virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static VclPtr< vcl::WindowCreate (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 

Protected Member Functions

virtual void UpdateToolBoxes (const avmedia::MediaItem &rMediaItem) override
 

Private Member Functions

void Initialize ()
 
void Update ()
 
virtual void NotifyItemUpdate (const sal_uInt16 nSID, const SfxItemState eState, const SfxPoolItem *pState) override
 
virtual void GetControlState (const sal_uInt16, boost::property_tree::ptree &) override
 
 DECL_LINK (PlayToolBoxSelectHdl, const OString &, void)
 
 DECL_LINK (VolumeSlideHdl, weld::Scale &, void)
 
 DECL_LINK (SeekHdl, weld::Scale &, void)
 
 DECL_LINK (TimeoutHdl, Timer *, void)
 

Private Attributes

std::unique_ptr< ::avmedia::MediaItemmpMediaItem
 
::sfx2::sidebar::ControllerItem maMediaController
 
Idle maIdle
 
SfxBindingsmpBindings
 

Additional Inherited Members

- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
VclPtr< vcl::Windowm_xVclContentArea
 
std::unique_ptr< weld::Containerm_xContainer
 
weld::Widgetm_pInitialFocusWidget
 

Detailed Description

This panel provides media playback control in document.

Definition at line 38 of file MediaPlaybackPanel.hxx.

Constructor & Destructor Documentation

svx::sidebar::MediaPlaybackPanel::MediaPlaybackPanel ( vcl::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
svx::sidebar::MediaPlaybackPanel::~MediaPlaybackPanel ( )
overridevirtual

Definition at line 71 of file MediaPlaybackPanel.cxx.

Member Function Documentation

VclPtr< vcl::Window > svx::sidebar::MediaPlaybackPanel::Create ( vcl::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 53 of file MediaPlaybackPanel.cxx.

References VclPtr< reference_type >::Create().

svx::sidebar::MediaPlaybackPanel::DECL_LINK ( PlayToolBoxSelectHdl  ,
const OString &  ,
void   
)
private
svx::sidebar::MediaPlaybackPanel::DECL_LINK ( VolumeSlideHdl  ,
weld::Scale ,
void   
)
private
svx::sidebar::MediaPlaybackPanel::DECL_LINK ( SeekHdl  ,
weld::Scale ,
void   
)
private
svx::sidebar::MediaPlaybackPanel::DECL_LINK ( TimeoutHdl  ,
Timer ,
void   
)
private
void svx::sidebar::MediaPlaybackPanel::dispose ( void  )
overridevirtual

Reimplemented from PanelLayout.

Definition at line 90 of file MediaPlaybackPanel.cxx.

References PanelLayout::dispose().

virtual void svx::sidebar::MediaPlaybackPanel::GetControlState ( const sal_uInt16  ,
boost::property_tree::ptree &   
)
inlineoverrideprivatevirtual
void svx::sidebar::MediaPlaybackPanel::Initialize ( )
private
void svx::sidebar::MediaPlaybackPanel::NotifyItemUpdate ( const sal_uInt16  nSID,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overrideprivatevirtual
void svx::sidebar::MediaPlaybackPanel::Update ( )
private

Definition at line 117 of file MediaPlaybackPanel.cxx.

References mpMediaItem, and UpdateToolBoxes().

Referenced by NotifyItemUpdate().

void svx::sidebar::MediaPlaybackPanel::UpdateToolBoxes ( const avmedia::MediaItem rMediaItem)
overrideprotectedvirtual

Definition at line 111 of file MediaPlaybackPanel.cxx.

Referenced by Update().

Member Data Documentation

Idle svx::sidebar::MediaPlaybackPanel::maIdle
private

Definition at line 61 of file MediaPlaybackPanel.hxx.

Referenced by Initialize().

::sfx2::sidebar::ControllerItem svx::sidebar::MediaPlaybackPanel::maMediaController
private

Definition at line 60 of file MediaPlaybackPanel.hxx.

SfxBindings* svx::sidebar::MediaPlaybackPanel::mpBindings
private

Definition at line 62 of file MediaPlaybackPanel.hxx.

Referenced by Initialize().

std::unique_ptr< ::avmedia::MediaItem > svx::sidebar::MediaPlaybackPanel::mpMediaItem
private

Definition at line 59 of file MediaPlaybackPanel.hxx.

Referenced by NotifyItemUpdate(), and Update().


The documentation for this class was generated from the following files: