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

#include <layout.hxx>

Inheritance diagram for VclExpander:
[legend]
Collaboration diagram for VclExpander:
[legend]

Public Member Functions

 VclExpander (vcl::Window *pParent)
 
virtual ~VclExpander () override
 
virtual void dispose () override
 
virtual vcl::Windowget_child () override
 
virtual const vcl::Windowget_child () const override
 
virtual bool set_property (const OString &rKey, const OUString &rValue) override
 
bool get_expanded () const
 
void set_expanded (bool bExpanded)
 
void set_label (const OUString &rLabel)
 
virtual void StateChanged (StateChangedType nType) override
 
void SetExpandedHdl (const Link< VclExpander &, void > &rLink)
 

Private Member Functions

virtual Size calculateRequisition () const override
 
virtual void setAllocation (const Size &rAllocation) override
 
 DECL_LINK (ClickHdl, CheckBox &, void)
 

Private Attributes

bool m_bResizeTopLevel
 
VclPtr< DisclosureButtonm_pDisclosureButton
 
Link< VclExpander &, voidmaExpandedHdl
 

Detailed Description

Definition at line 471 of file layout.hxx.

Constructor & Destructor Documentation

VclExpander::VclExpander ( vcl::Window pParent)
VclExpander::~VclExpander ( )
overridevirtual

Definition at line 1631 of file layout.cxx.

Member Function Documentation

Size VclExpander::calculateRequisition ( ) const
overrideprivatevirtual
VclExpander::DECL_LINK ( ClickHdl  ,
CheckBox ,
void   
)
private
void VclExpander::dispose ( void  )
overridevirtual
vcl::Window * VclExpander::get_child ( )
overridevirtual

Definition at line 1666 of file layout.cxx.

Referenced by calculateRequisition(), setAllocation(), and StateChanged().

const vcl::Window * VclExpander::get_child ( ) const
overridevirtual
bool VclExpander::get_expanded ( ) const

Definition at line 1636 of file layout.cxx.

References CheckBox::IsChecked(), and m_pDisclosureButton.

void VclExpander::set_expanded ( bool  bExpanded)

Definition at line 1641 of file layout.cxx.

References CheckBox::Check(), and m_pDisclosureButton.

Referenced by set_property().

void VclExpander::set_label ( const OUString &  rLabel)

Definition at line 1646 of file layout.cxx.

References m_pDisclosureButton, and Control::SetText().

bool VclExpander::set_property ( const OString &  rKey,
const OUString &  rValue 
)
overridevirtual

Definition at line 1751 of file layout.cxx.

References m_bResizeTopLevel, set_expanded(), and toBool().

void VclExpander::setAllocation ( const Size rAllocation)
overrideprivatevirtual
void VclExpander::SetExpandedHdl ( const Link< VclExpander &, void > &  rLink)
inline

Definition at line 484 of file layout.hxx.

void VclExpander::StateChanged ( StateChangedType  nType)
overridevirtual

Member Data Documentation

bool VclExpander::m_bResizeTopLevel
private

Definition at line 488 of file layout.hxx.

Referenced by set_property().

VclPtr<DisclosureButton> VclExpander::m_pDisclosureButton
private
Link<VclExpander&,void> VclExpander::maExpandedHdl
private

Definition at line 490 of file layout.hxx.


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