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

#include <layout.hxx>

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

Public Member Functions

 VclFrame (vcl::Window *pParent)
 
virtual ~VclFrame () override
 
virtual void dispose () override
 
void set_label (const OUString &rLabel)
 
OUString get_label () const
 
virtual vcl::Windowget_child () override
 
virtual const vcl::Windowget_child () const override
 
vcl::Windowget_label_widget ()
 
const vcl::Windowget_label_widget () const
 
virtual void DumpAsPropertyTree (tools::JsonWriter &) override
 

Private Member Functions

void designate_label (vcl::Window *pWindow)
 
 DECL_LINK (WindowEventListener, VclWindowEvent &, void)
 
virtual Size calculateRequisition () const override
 
virtual void setAllocation (const Size &rAllocation) override
 
virtual OUString getDefaultAccessibleName () const override
 

Private Attributes

VclPtr< vcl::Windowm_pLabel
 

Friends

class VclBuilder
 

Detailed Description

Definition at line 423 of file layout.hxx.

Constructor & Destructor Documentation

◆ VclFrame()

VclFrame::VclFrame ( vcl::Window pParent)
inline

Definition at line 432 of file layout.hxx.

◆ ~VclFrame()

VclFrame::~VclFrame ( )
overridevirtual

Definition at line 1464 of file layout.cxx.

Member Function Documentation

◆ calculateRequisition()

Size VclFrame::calculateRequisition ( ) const
overrideprivatevirtual

◆ DECL_LINK()

VclFrame::DECL_LINK ( WindowEventListener  ,
VclWindowEvent ,
void   
)
private

◆ designate_label()

void VclFrame::designate_label ( vcl::Window pWindow)
private

◆ dispose()

void VclFrame::dispose ( void  )
overridevirtual

Definition at line 1469 of file layout.cxx.

References VclPtr< reference_type >::clear(), and m_pLabel.

◆ DumpAsPropertyTree()

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

Definition at line 1593 of file layout.cxx.

References tools::JsonWriter::put().

◆ get_child() [1/2]

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

◆ get_child() [2/2]

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

Definition at line 1566 of file layout.cxx.

References get_child().

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

◆ get_label()

OUString VclFrame::get_label ( ) const

Definition at line 1578 of file layout.cxx.

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

Referenced by SalInstanceFrame::get_label().

◆ get_label_widget() [1/2]

vcl::Window * VclFrame::get_label_widget ( )

◆ get_label_widget() [2/2]

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

Definition at line 1537 of file layout.cxx.

References m_pLabel, WindowImpl::mpFirstChild, and WindowImpl::mpLastChild.

◆ getDefaultAccessibleName()

OUString VclFrame::getDefaultAccessibleName ( ) const
overrideprivatevirtual

Definition at line 1585 of file layout.cxx.

References get_label_widget(), and vcl::Window::GetAccessibleName().

◆ set_label()

void VclFrame::set_label ( const OUString &  rLabel)

Definition at line 1571 of file layout.cxx.

References get_label_widget(), and vcl::Window::SetText().

Referenced by SalInstanceFrame::set_label().

◆ setAllocation()

void VclFrame::setAllocation ( const Size rAllocation)
overrideprivatevirtual

Friends And Related Function Documentation

◆ VclBuilder

friend class VclBuilder
friend

Definition at line 428 of file layout.hxx.

Member Data Documentation

◆ m_pLabel

VclPtr<vcl::Window> VclFrame::m_pLabel
private

Definition at line 426 of file layout.hxx.

Referenced by designate_label(), dispose(), get_child(), and get_label_widget().


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