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 OUString &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)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &rJsonWriter) override
 
virtual FactoryFunction GetUITestFactory () const override
 

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 &, void > maExpandedHdl
 

Detailed Description

Definition at line 455 of file layout.hxx.

Constructor & Destructor Documentation

◆ VclExpander()

VclExpander::VclExpander ( vcl::Window pParent)

◆ ~VclExpander()

VclExpander::~VclExpander ( )
overridevirtual

Definition at line 1681 of file layout.cxx.

Member Function Documentation

◆ calculateRequisition()

Size VclExpander::calculateRequisition ( ) const
overrideprivatevirtual

◆ DECL_LINK()

VclExpander::DECL_LINK ( ClickHdl  ,
CheckBox ,
void   
)
private

◆ dispose()

void VclExpander::dispose ( void  )
overridevirtual

◆ DumpAsPropertyTree()

void VclExpander::DumpAsPropertyTree ( tools::JsonWriter rJsonWriter)
overridevirtual

Definition at line 1839 of file layout.cxx.

References vcl::Window::DumpAsPropertyTree(), and tools::JsonWriter::put().

◆ get_child() [1/2]

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

◆ get_child() [2/2]

vcl::Window * VclExpander::get_child ( )
overridevirtual

Definition at line 1721 of file layout.cxx.

References get_child().

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

◆ get_expanded()

bool VclExpander::get_expanded ( ) const

◆ get_label()

OUString VclExpander::get_label ( ) const

Definition at line 1701 of file layout.cxx.

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

Referenced by SalInstanceExpander::get_label().

◆ get_label_widget() [1/2]

vcl::Window * VclExpander::get_label_widget ( )

◆ get_label_widget() [2/2]

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

Definition at line 1829 of file layout.cxx.

References m_pDisclosureButton.

◆ GetUITestFactory()

FactoryFunction VclExpander::GetUITestFactory ( ) const
overridevirtual

Definition at line 1845 of file layout.cxx.

References ExpanderUIObject::create().

◆ set_expanded()

void VclExpander::set_expanded ( bool  bExpanded)

◆ set_label()

void VclExpander::set_label ( const OUString &  rLabel)

Definition at line 1696 of file layout.cxx.

References m_pDisclosureButton, and Control::SetText().

Referenced by SalInstanceExpander::set_label().

◆ set_property()

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

Definition at line 1806 of file layout.cxx.

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

◆ setAllocation()

void VclExpander::setAllocation ( const Size rAllocation)
overrideprivatevirtual

◆ SetExpandedHdl()

void VclExpander::SetExpandedHdl ( const Link< VclExpander &, void > &  rLink)
inline

◆ StateChanged()

void VclExpander::StateChanged ( StateChangedType  nType)
overridevirtual

Member Data Documentation

◆ m_bResizeTopLevel

bool VclExpander::m_bResizeTopLevel
private

Definition at line 477 of file layout.hxx.

Referenced by set_property().

◆ m_pDisclosureButton

VclPtr<DisclosureButton> VclExpander::m_pDisclosureButton
private

◆ maExpandedHdl

Link<VclExpander&,void> VclExpander::maExpandedHdl
private

Definition at line 479 of file layout.hxx.


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