LibreOffice Module svx (master) 1
|
This panel provides media playback control in document. More...
#include <MediaPlaybackPanel.hxx>
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< PanelLayout > | Create (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::Window * | GetFrameWeld () 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::MediaItem > | mpMediaItem |
::sfx2::sidebar::ControllerItem | maMediaController |
Idle | maIdle |
SfxBindings * | mpBindings |
Additional Inherited Members | |
Protected Attributes inherited from PanelLayout | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
This panel provides media playback control in document.
Definition at line 38 of file MediaPlaybackPanel.hxx.
svx::sidebar::MediaPlaybackPanel::MediaPlaybackPanel | ( | weld::Widget * | pParent, |
SfxBindings * | pBindings | ||
) |
Definition at line 31 of file MediaPlaybackPanel.cxx.
References Initialize(), and PanelLayout::m_xBuilder.
|
overridevirtual |
Definition at line 75 of file MediaPlaybackPanel.cxx.
|
static |
Definition at line 49 of file MediaPlaybackPanel.cxx.
|
private |
|
private |
|
private |
|
private |
|
inlineoverrideprivatevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 66 of file MediaPlaybackPanel.hxx.
|
private |
Definition at line 61 of file MediaPlaybackPanel.cxx.
References SfxBindings::Invalidate(), LINK, maIdle, mpBindings, Timer::SetInvokeHandler(), Task::SetPriority(), and Idle::Start().
Referenced by MediaPlaybackPanel().
|
overrideprivatevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 80 of file MediaPlaybackPanel.cxx.
References SfxPoolItem::Clone(), mpMediaItem, and Update().
|
private |
Definition at line 101 of file MediaPlaybackPanel.cxx.
References mpMediaItem, and UpdateToolBoxes().
Referenced by NotifyItemUpdate().
|
overrideprotectedvirtual |
Definition at line 95 of file MediaPlaybackPanel.cxx.
Referenced by Update().
|
private |
Definition at line 58 of file MediaPlaybackPanel.hxx.
Referenced by Initialize().
|
private |
Definition at line 57 of file MediaPlaybackPanel.hxx.
|
private |
Definition at line 59 of file MediaPlaybackPanel.hxx.
Referenced by Initialize().
|
private |
Definition at line 56 of file MediaPlaybackPanel.hxx.
Referenced by NotifyItemUpdate(), and Update().