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 (weld::Widget *pParent, SfxBindings *pBindings)
 
virtual ~MediaPlaybackPanel () override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState)=0
 
virtual void GetControlState (const sal_uInt16 nSId, boost::property_tree::ptree &rState)=0
 
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *pParent, SfxBindings *pBindings)
 

Protected Member Functions

virtual void UpdateToolBoxes (const avmedia::MediaItem &rMediaItem) override
 
- Protected Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
virtual weld::WindowGetFrameWeld () const
 

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 OUString &, 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
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

This panel provides media playback control in document.

Definition at line 38 of file MediaPlaybackPanel.hxx.

Constructor & Destructor Documentation

◆ MediaPlaybackPanel()

svx::sidebar::MediaPlaybackPanel::MediaPlaybackPanel ( weld::Widget pParent,
SfxBindings pBindings 
)

Definition at line 31 of file MediaPlaybackPanel.cxx.

References Initialize(), and PanelLayout::m_xBuilder.

◆ ~MediaPlaybackPanel()

svx::sidebar::MediaPlaybackPanel::~MediaPlaybackPanel ( )
overridevirtual

Definition at line 75 of file MediaPlaybackPanel.cxx.

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > svx::sidebar::MediaPlaybackPanel::Create ( weld::Widget pParent,
SfxBindings pBindings 
)
static

Definition at line 49 of file MediaPlaybackPanel.cxx.

◆ DECL_LINK() [1/4]

svx::sidebar::MediaPlaybackPanel::DECL_LINK ( PlayToolBoxSelectHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [2/4]

svx::sidebar::MediaPlaybackPanel::DECL_LINK ( SeekHdl  ,
weld::Scale ,
void   
)
private

◆ DECL_LINK() [3/4]

svx::sidebar::MediaPlaybackPanel::DECL_LINK ( TimeoutHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [4/4]

svx::sidebar::MediaPlaybackPanel::DECL_LINK ( VolumeSlideHdl  ,
weld::Scale ,
void   
)
private

◆ GetControlState()

virtual void svx::sidebar::MediaPlaybackPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverrideprivatevirtual

◆ Initialize()

void svx::sidebar::MediaPlaybackPanel::Initialize ( )
private

◆ NotifyItemUpdate()

void svx::sidebar::MediaPlaybackPanel::NotifyItemUpdate ( const sal_uInt16  nSID,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overrideprivatevirtual

◆ Update()

void svx::sidebar::MediaPlaybackPanel::Update ( )
private

Definition at line 101 of file MediaPlaybackPanel.cxx.

References mpMediaItem, and UpdateToolBoxes().

Referenced by NotifyItemUpdate().

◆ UpdateToolBoxes()

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

Definition at line 95 of file MediaPlaybackPanel.cxx.

Referenced by Update().

Member Data Documentation

◆ maIdle

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

Definition at line 58 of file MediaPlaybackPanel.hxx.

Referenced by Initialize().

◆ maMediaController

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

Definition at line 57 of file MediaPlaybackPanel.hxx.

◆ mpBindings

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

Definition at line 59 of file MediaPlaybackPanel.hxx.

Referenced by Initialize().

◆ mpMediaItem

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

Definition at line 56 of file MediaPlaybackPanel.hxx.

Referenced by NotifyItemUpdate(), and Update().


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