LibreOffice Module framework (master) 1
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
framework::VCLStatusIndicator Class Referencefinal

#include <vclstatusindicator.hxx>

Inheritance diagram for framework::VCLStatusIndicator:
[legend]
Collaboration diagram for framework::VCLStatusIndicator:
[legend]

Public Member Functions

 VCLStatusIndicator (css::uno::Reference< css::awt::XWindow > xParentWindow)
 ctor More...
 
virtual ~VCLStatusIndicator () override
 dtor More...
 
virtual void SAL_CALL start (const OUString &sText, sal_Int32 nRange) override
 XStatusIndicator. More...
 
virtual void SAL_CALL reset () override
 
virtual void SAL_CALL end () override
 
virtual void SAL_CALL setText (const OUString &sText) override
 
virtual void SAL_CALL setValue (sal_Int32 nValue) override
 

Static Private Member Functions

static void impl_recalcLayout (vcl::Window *pStatusBar, vcl::Window const *pParentWindow)
 

Private Attributes

css::uno::Reference< css::awt::XWindow > m_xParentWindow
 points to the parent window of this progress and hold it alive. More...
 
VclPtr< StatusBarm_pStatusBar
 shows the progress. More...
 
sal_Int32 m_nRange
 knows the current range of the progress. More...
 
sal_Int32 m_nValue
 knows the current value of the progress. More...
 

Detailed Description

Definition at line 32 of file vclstatusindicator.hxx.

Constructor & Destructor Documentation

◆ VCLStatusIndicator()

framework::VCLStatusIndicator::VCLStatusIndicator ( css::uno::Reference< css::awt::XWindow >  xParentWindow)

ctor

Definition at line 28 of file vclstatusindicator.cxx.

References m_xParentWindow.

◆ ~VCLStatusIndicator()

framework::VCLStatusIndicator::~VCLStatusIndicator ( )
overridevirtual

dtor

Definition at line 40 of file vclstatusindicator.cxx.

Member Function Documentation

◆ end()

void SAL_CALL framework::VCLStatusIndicator::end ( )
overridevirtual

◆ impl_recalcLayout()

void framework::VCLStatusIndicator::impl_recalcLayout ( vcl::Window pStatusBar,
vcl::Window const *  pParentWindow 
)
staticprivate

◆ reset()

void SAL_CALL framework::VCLStatusIndicator::reset ( )
overridevirtual

Definition at line 68 of file vclstatusindicator.cxx.

References m_pStatusBar.

◆ setText()

void SAL_CALL framework::VCLStatusIndicator::setText ( const OUString &  sText)
overridevirtual

Definition at line 94 of file vclstatusindicator.cxx.

References m_pStatusBar.

◆ setValue()

void SAL_CALL framework::VCLStatusIndicator::setValue ( sal_Int32  nValue)
overridevirtual

Definition at line 101 of file vclstatusindicator.cxx.

References m_nRange, m_nValue, m_pStatusBar, and nValue.

◆ start()

void SAL_CALL framework::VCLStatusIndicator::start ( const OUString &  sText,
sal_Int32  nRange 
)
overridevirtual

Member Data Documentation

◆ m_nRange

sal_Int32 framework::VCLStatusIndicator::m_nRange
private

knows the current range of the progress.

Definition at line 52 of file vclstatusindicator.hxx.

Referenced by end(), setValue(), and start().

◆ m_nValue

sal_Int32 framework::VCLStatusIndicator::m_nValue
private

knows the current value of the progress.

Definition at line 55 of file vclstatusindicator.hxx.

Referenced by end(), setValue(), and start().

◆ m_pStatusBar

VclPtr<StatusBar> framework::VCLStatusIndicator::m_pStatusBar
private

shows the progress.

Attention: \n This member is not synchronized using our own mutex!
It's guarded by the solarmutex only. Otherwise we have to lock two of them, which can force a deadlock...

Definition at line 49 of file vclstatusindicator.hxx.

Referenced by end(), reset(), setText(), setValue(), and start().

◆ m_xParentWindow

css::uno::Reference< css::awt::XWindow > framework::VCLStatusIndicator::m_xParentWindow
private

points to the parent window of this progress and hold it alive.

Definition at line 41 of file vclstatusindicator.hxx.

Referenced by start(), and VCLStatusIndicator().


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