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 OString &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)
 

Private Member Functions

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

Private Attributes

bool m_bUserManagedScrolling
 
DrawFrameStyle m_eDrawFrameStyle
 
VclPtr< ScrollBarm_pVScroll
 
VclPtr< ScrollBarm_pHScroll
 
VclPtr< ScrollBarBoxm_aScrollBarBox
 

Detailed Description

Definition at line 504 of file layout.hxx.

Constructor & Destructor Documentation

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

Definition at line 2851 of file layout.cxx.

Member Function Documentation

Size VclScrolledWindow::calculateRequisition ( ) const
overrideprivatevirtual
VclScrolledWindow::DECL_LINK ( ScrollBarHdl  ,
ScrollBar ,
void   
)
private
void VclScrolledWindow::dispose ( void  )
overridevirtual
void VclScrolledWindow::doSetAllocation ( const Size rAllocation,
bool  bRetryOnFailure 
)
bool VclScrolledWindow::EventNotify ( NotifyEvent rNEvt)
overrideprivatevirtual
vcl::Window * VclScrolledWindow::get_child ( )
overridevirtual

Definition at line 1833 of file layout.cxx.

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

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

Definition at line 1826 of file layout.cxx.

References assert(), WindowImpl::mbInDispose, and WindowImpl::mpLastChild.

ScrollBar& VclScrolledWindow::getHorzScrollBar ( )
inline

Definition at line 516 of file layout.hxx.

Referenced by IMPL_LINK_NOARG().

ScrollBar& VclScrolledWindow::getVertScrollBar ( )
inline

Definition at line 515 of file layout.hxx.

Size VclScrolledWindow::getVisibleChildSize ( ) const
bool VclScrolledWindow::HasVisibleBorder ( ) const
inline

Definition at line 514 of file layout.hxx.

References NONE.

void VclScrolledWindow::InitScrollBars ( const Size rRequest)
private
void VclScrolledWindow::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overridevirtual

Definition at line 2038 of file layout.cxx.

References DecorationView::DrawFrame(), m_eDrawFrameStyle, and Point.

bool VclScrolledWindow::set_property ( const OString &  rKey,
const OUString &  rValue 
)
overridevirtual
void VclScrolledWindow::setAllocation ( const Size rAllocation)
overrideprivatevirtual

Definition at line 1978 of file layout.cxx.

References doSetAllocation().

void VclScrolledWindow::setUserManagedScrolling ( bool  bUserManagedScrolling)
inline

Definition at line 520 of file layout.hxx.

Member Data Documentation

VclPtr<ScrollBarBox> VclScrolledWindow::m_aScrollBarBox
private

Definition at line 532 of file layout.hxx.

Referenced by dispose(), and doSetAllocation().

bool VclScrolledWindow::m_bUserManagedScrolling
private

Definition at line 528 of file layout.hxx.

Referenced by doSetAllocation().

DrawFrameStyle VclScrolledWindow::m_eDrawFrameStyle
private

Definition at line 529 of file layout.hxx.

Referenced by Paint(), and set_property().

VclPtr<ScrollBar> VclScrolledWindow::m_pHScroll
private
VclPtr<ScrollBar> VclScrolledWindow::m_pVScroll
private

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