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)
 
OUString get_label () const
 
vcl::Windowget_label_widget ()
 
const vcl::Windowget_label_widget () const
 
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 475 of file layout.hxx.

Constructor & Destructor Documentation

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

Definition at line 1633 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 1673 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 1638 of file layout.cxx.

References CheckBox::IsChecked(), and m_pDisclosureButton.

OUString VclExpander::get_label ( ) const

Definition at line 1653 of file layout.cxx.

References vcl::Window::GetText(), and m_pDisclosureButton.

vcl::Window * VclExpander::get_label_widget ( )

Definition at line 1786 of file layout.cxx.

const vcl::Window * VclExpander::get_label_widget ( ) const

Definition at line 1781 of file layout.cxx.

References m_pDisclosureButton.

void VclExpander::set_expanded ( bool  bExpanded)

Definition at line 1643 of file layout.cxx.

References CheckBox::Check(), and m_pDisclosureButton.

Referenced by set_property().

void VclExpander::set_label ( const OUString &  rLabel)

Definition at line 1648 of file layout.cxx.

References m_pDisclosureButton, and Control::SetText().

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

Definition at line 1758 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 491 of file layout.hxx.

void VclExpander::StateChanged ( StateChangedType  nType)
overridevirtual

Member Data Documentation

bool VclExpander::m_bResizeTopLevel
private

Definition at line 495 of file layout.hxx.

Referenced by set_property().

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

Definition at line 497 of file layout.hxx.


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