LibreOffice Module sfx2 (master) 1
|
This class is the base for the Widget Layout-based sidebar panels. More...
#include <PanelLayout.hxx>
Public Member Functions | |
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 () |
Protected Member Functions | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
Protected Attributes | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (DataChangedEventListener, VclSimpleEvent &, void) | |
DECL_DLLPRIVATE_LINK (DumpAsPropertyTreeHdl, tools::JsonWriter &, void) | |
This class is the base for the Widget Layout-based sidebar panels.
Definition at line 21 of file PanelLayout.hxx.
PanelLayout::PanelLayout | ( | weld::Widget * | pParent, |
const OUString & | rID, | ||
const OUString & | rUIXMLDescription | ||
) |
Definition at line 20 of file PanelLayout.cxx.
References Application::AddEventListener(), LINK, m_xContainer, and m_xContainer.
|
virtual |
Definition at line 71 of file PanelLayout.cxx.
References LINK, m_xBuilder, m_xContainer, and Application::RemoveEventListener().
|
protectedvirtual |
Definition at line 48 of file PanelLayout.cxx.
References DataChangedEvent::GetFlags(), DataChangedEvent::GetType(), and m_xContainer.
|
private |
|
private |
|
protectedvirtual |
Definition at line 35 of file PanelLayout.cxx.
|
inline |
Definition at line 44 of file PanelLayout.hxx.
References m_xContainer.
|
protectedvirtual |
Definition at line 61 of file PanelLayout.cxx.
References sfx2::sidebar::Panel::GetFrameWeld(), m_pPanel, and SAL_WARN.
void PanelLayout::queue_resize | ( | ) |
Definition at line 79 of file PanelLayout.cxx.
References m_xContainer.
void PanelLayout::SetPanel | ( | sfx2::sidebar::Panel * | pPanel | ) |
Definition at line 56 of file PanelLayout.cxx.
References m_pPanel.
|
protected |
Definition at line 26 of file PanelLayout.hxx.
Referenced by GetFrameWeld(), and SetPanel().
|
protected |
Definition at line 24 of file PanelLayout.hxx.
Referenced by ~PanelLayout().
|
protected |
Definition at line 25 of file PanelLayout.hxx.
Referenced by DataChanged(), PanelLayout(), queue_resize(), and ~PanelLayout().