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

#include <layout.hxx>

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

Public Member Functions

 VclScrolledWindow (vcl::Window *pParent)
 
virtual ~VclScrolledWindow () 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
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
bool HasVisibleBorder () const
 
ScrollBargetVertScrollBar ()
 
ScrollBargetHorzScrollBar ()
 
Size getVisibleChildSize () const
 
void setUserManagedScrolling (bool bUserManagedScrolling)
 
void doSetAllocation (const Size &rAllocation, bool bRetryOnFailure)
 
virtual void DumpAsPropertyTree (::tools::JsonWriter &rJsonWriter) override
 

Private Member Functions

virtual Size calculateRequisition () const override
 
virtual void setAllocation (const Size &rAllocation) override
 
int CalcBorderWidth () const
 
 DECL_LINK (ScrollBarHdl, ScrollBar *, void)
 
void InitScrollBars (const Size &rRequest)
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 

Private Attributes

bool m_bUserManagedScrolling
 
tools::Long m_nBorderWidth
 
DrawFrameStyle m_eDrawFrameStyle
 
DrawFrameFlags m_eDrawFrameFlags
 
VclPtr< ScrollBarm_pVScroll
 
VclPtr< ScrollBarm_pHScroll
 
VclPtr< ScrollBarBoxm_aScrollBarBox
 

Detailed Description

Definition at line 483 of file layout.hxx.

Constructor & Destructor Documentation

◆ VclScrolledWindow()

VclScrolledWindow::VclScrolledWindow ( vcl::Window pParent)

◆ ~VclScrolledWindow()

VclScrolledWindow::~VclScrolledWindow ( )
overridevirtual

Definition at line 3083 of file layout.cxx.

Member Function Documentation

◆ CalcBorderWidth()

int VclScrolledWindow::CalcBorderWidth ( ) const
private

◆ calculateRequisition()

Size VclScrolledWindow::calculateRequisition ( ) const
overrideprivatevirtual

◆ DECL_LINK()

VclScrolledWindow::DECL_LINK ( ScrollBarHdl  ,
ScrollBar ,
void   
)
private

◆ dispose()

void VclScrolledWindow::dispose ( void  )
overridevirtual

◆ doSetAllocation()

void VclScrolledWindow::doSetAllocation ( const Size rAllocation,
bool  bRetryOnFailure 
)

◆ DumpAsPropertyTree()

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

◆ EventNotify()

bool VclScrolledWindow::EventNotify ( NotifyEvent rNEvt)
overrideprivatevirtual

◆ get_child() [1/2]

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

Definition at line 1925 of file layout.cxx.

References WindowImpl::mbInDispose, and WindowImpl::mpLastChild.

◆ get_child() [2/2]

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

Definition at line 1932 of file layout.cxx.

References get_child().

Referenced by calculateRequisition(), doSetAllocation(), get_child(), and InitScrollBars().

◆ getHorzScrollBar()

ScrollBar & VclScrolledWindow::getHorzScrollBar ( )
inline

◆ getVertScrollBar()

ScrollBar & VclScrolledWindow::getVertScrollBar ( )
inline

◆ getVisibleChildSize()

Size VclScrolledWindow::getVisibleChildSize ( ) const

◆ HasVisibleBorder()

bool VclScrolledWindow::HasVisibleBorder ( ) const
inline

Definition at line 493 of file layout.hxx.

References NONE.

Referenced by VclBuilder::prepareWidgetOwnScrolling().

◆ InitScrollBars()

void VclScrolledWindow::InitScrollBars ( const Size rRequest)
private

◆ Paint()

void VclScrolledWindow::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overridevirtual

◆ set_property()

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

◆ setAllocation()

void VclScrolledWindow::setAllocation ( const Size rAllocation)
overrideprivatevirtual

Definition at line 2082 of file layout.cxx.

References doSetAllocation().

◆ setUserManagedScrolling()

void VclScrolledWindow::setUserManagedScrolling ( bool  bUserManagedScrolling)
inline

Definition at line 499 of file layout.hxx.

Referenced by SalInstanceScrolledWindow::SalInstanceScrolledWindow().

Member Data Documentation

◆ m_aScrollBarBox

VclPtr<ScrollBarBox> VclScrolledWindow::m_aScrollBarBox
private

Definition at line 515 of file layout.hxx.

Referenced by dispose(), and doSetAllocation().

◆ m_bUserManagedScrolling

bool VclScrolledWindow::m_bUserManagedScrolling
private

Definition at line 509 of file layout.hxx.

Referenced by doSetAllocation(), and DumpAsPropertyTree().

◆ m_eDrawFrameFlags

DrawFrameFlags VclScrolledWindow::m_eDrawFrameFlags
private

Definition at line 512 of file layout.hxx.

Referenced by CalcBorderWidth(), Paint(), and set_property().

◆ m_eDrawFrameStyle

DrawFrameStyle VclScrolledWindow::m_eDrawFrameStyle
private

Definition at line 511 of file layout.hxx.

Referenced by CalcBorderWidth(), Paint(), and set_property().

◆ m_nBorderWidth

tools::Long VclScrolledWindow::m_nBorderWidth
private

◆ m_pHScroll

VclPtr<ScrollBar> VclScrolledWindow::m_pHScroll
private

◆ m_pVScroll

VclPtr<ScrollBar> VclScrolledWindow::m_pVScroll
private

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