LibreOffice Module svtools (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ToolbarPopupContainer Class Referencefinal

#include <toolbarmenu.hxx>

Public Member Functions

 ToolbarPopupContainer (weld::Widget *pParent)
 
 ~ToolbarPopupContainer ()
 
weld::ContainergetTopLevel ()
 
void setPopover (std::unique_ptr< WeldToolbarPopup > xPopup)
 
WeldToolbarPopupgetPopover () const
 
void unsetPopover ()
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (FocusHdl, weld::Widget &, void)
 

Private Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xTopLevel
 
std::unique_ptr< weld::Containerm_xContainer
 
std::unique_ptr< WeldToolbarPopupm_xPopup
 

Detailed Description

Definition at line 65 of file toolbarmenu.hxx.

Constructor & Destructor Documentation

◆ ToolbarPopupContainer()

ToolbarPopupContainer::ToolbarPopupContainer ( weld::Widget pParent)

Definition at line 129 of file toolbarmenu.cxx.

References LINK, m_xContainer, and m_xTopLevel.

◆ ~ToolbarPopupContainer()

ToolbarPopupContainer::~ToolbarPopupContainer ( )

Definition at line 158 of file toolbarmenu.cxx.

References unsetPopover().

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK()

ToolbarPopupContainer::DECL_DLLPRIVATE_LINK ( FocusHdl  ,
weld::Widget ,
void   
)
private

◆ getPopover()

WeldToolbarPopup * ToolbarPopupContainer::getPopover ( ) const
inline

Definition at line 80 of file toolbarmenu.hxx.

◆ getTopLevel()

weld::Container * ToolbarPopupContainer::getTopLevel ( )
inline

Definition at line 77 of file toolbarmenu.hxx.

◆ setPopover()

void ToolbarPopupContainer::setPopover ( std::unique_ptr< WeldToolbarPopup xPopup)

Definition at line 137 of file toolbarmenu.cxx.

References comphelper::LibreOfficeKit::isActive(), m_xContainer, and m_xPopup.

◆ unsetPopover()

void ToolbarPopupContainer::unsetPopover ( )

Definition at line 150 of file toolbarmenu.cxx.

References m_xContainer, and m_xPopup.

Referenced by ~ToolbarPopupContainer().

Member Data Documentation

◆ m_xBuilder

std::unique_ptr<weld::Builder> ToolbarPopupContainer::m_xBuilder
private

Definition at line 70 of file toolbarmenu.hxx.

◆ m_xContainer

std::unique_ptr<weld::Container> ToolbarPopupContainer::m_xContainer
private

Definition at line 72 of file toolbarmenu.hxx.

Referenced by setPopover(), and unsetPopover().

◆ m_xPopup

std::unique_ptr<WeldToolbarPopup> ToolbarPopupContainer::m_xPopup
private

Definition at line 73 of file toolbarmenu.hxx.

Referenced by setPopover(), and unsetPopover().

◆ m_xTopLevel

std::unique_ptr<weld::Container> ToolbarPopupContainer::m_xTopLevel
private

Definition at line 71 of file toolbarmenu.hxx.

Referenced by ToolbarPopupContainer().


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