LibreOffice Module sfx2 (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
PanelLayout Class Reference

This class is the base for the Widget Layout-based sidebar panels. More...

#include <PanelLayout.hxx>

Collaboration diagram for PanelLayout:

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::WindowGetFrameWeld () const

Protected Attributes

std::unique_ptr< weld::Builderm_xBuilder
std::unique_ptr< weld::Containerm_xContainer

Private Member Functions

 DECL_DLLPRIVATE_LINK (DataChangedEventListener, VclSimpleEvent &, void)
 DECL_DLLPRIVATE_LINK (DumpAsPropertyTreeHdl, tools::JsonWriter &, void)

Detailed Description

This class is the base for the Widget Layout-based sidebar panels.

Definition at line 21 of file PanelLayout.hxx.

Constructor & Destructor Documentation

◆ PanelLayout()

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.

◆ ~PanelLayout()

PanelLayout::~PanelLayout ( )

Definition at line 71 of file PanelLayout.cxx.

References LINK, m_xBuilder, m_xContainer, and Application::RemoveEventListener().

Member Function Documentation

◆ DataChanged()

void PanelLayout::DataChanged ( const DataChangedEvent rEvent)


PanelLayout::DECL_DLLPRIVATE_LINK ( DataChangedEventListener  ,
VclSimpleEvent ,


PanelLayout::DECL_DLLPRIVATE_LINK ( DumpAsPropertyTreeHdl  ,
tools::JsonWriter ,

◆ DumpAsPropertyTree()

void PanelLayout::DumpAsPropertyTree ( tools::JsonWriter )

Definition at line 35 of file PanelLayout.cxx.

◆ get_preferred_size()

Size PanelLayout::get_preferred_size ( ) const

Definition at line 44 of file PanelLayout.hxx.

References m_xContainer.

◆ GetFrameWeld()

weld::Window * PanelLayout::GetFrameWeld ( ) const

Definition at line 61 of file PanelLayout.cxx.

References sfx2::sidebar::Panel::GetFrameWeld(), m_pPanel, and SAL_WARN.

◆ queue_resize()

void PanelLayout::queue_resize ( )

Definition at line 79 of file PanelLayout.cxx.

References m_xContainer.

◆ SetPanel()

void PanelLayout::SetPanel ( sfx2::sidebar::Panel pPanel)

Definition at line 56 of file PanelLayout.cxx.

References m_pPanel.

Member Data Documentation

◆ m_pPanel

sfx2::sidebar::Panel* PanelLayout::m_pPanel

Definition at line 26 of file PanelLayout.hxx.

Referenced by GetFrameWeld(), and SetPanel().

◆ m_xBuilder

std::unique_ptr<weld::Builder> PanelLayout::m_xBuilder

Definition at line 24 of file PanelLayout.hxx.

Referenced by ~PanelLayout().

◆ m_xContainer

std::unique_ptr<weld::Container> PanelLayout::m_xContainer

Definition at line 25 of file PanelLayout.hxx.

Referenced by DataChanged(), PanelLayout(), queue_resize(), and ~PanelLayout().

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