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 428 of file layout.hxx.

Constructor & Destructor Documentation

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

Definition at line 437 of file layout.hxx.

VclFrame::~VclFrame ( )
overridevirtual

Definition at line 1366 of file layout.cxx.

Member Function Documentation

Size VclFrame::calculateRequisition ( ) const
overrideprivatevirtual
VclFrame::DECL_LINK ( WindowEventListener  ,
VclWindowEvent ,
void   
)
private
void VclFrame::designate_label ( vcl::Window pWindow)
private
void VclFrame::dispose ( void  )
overridevirtual

Definition at line 1371 of file layout.cxx.

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

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

Definition at line 1495 of file layout.cxx.

References tools::JsonWriter::put().

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

Definition at line 1468 of file layout.cxx.

Referenced by calculateRequisition(), and setAllocation().

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

Definition at line 1480 of file layout.cxx.

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

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

Definition at line 1439 of file layout.cxx.

References assert(), m_pLabel, WindowImpl::mpFirstChild, and WindowImpl::mpLastChild.

OUString VclFrame::getDefaultAccessibleName ( ) const
overrideprivatevirtual

Definition at line 1487 of file layout.cxx.

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

void VclFrame::set_label ( const OUString &  rLabel)

Definition at line 1473 of file layout.cxx.

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

void VclFrame::setAllocation ( const Size rAllocation)
overrideprivatevirtual

Friends And Related Function Documentation

friend class VclBuilder
friend

Definition at line 433 of file layout.hxx.

Member Data Documentation

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

Definition at line 431 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: