LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CreateMonitor Class Reference

#include <dbui.hxx>

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

Public Member Functions

 CreateMonitor (weld::Window *pParent)
 
virtual ~CreateMonitor () override
 
void SetTotalCount (sal_Int32 nTotal)
 
void SetCurrentPosition (sal_Int32 nCurrent)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void UpdateCountingText ()
 

Private Attributes

OUString m_sCountingPattern
 
sal_Int32 m_nTotalCount
 
sal_Int32 m_nCurrentPosition
 
std::unique_ptr< weld::Labelm_xCounting
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 48 of file dbui.hxx.

Constructor & Destructor Documentation

CreateMonitor::CreateMonitor ( weld::Window pParent)

Definition at line 52 of file dbui.cxx.

References m_sCountingPattern, and m_xCounting.

CreateMonitor::~CreateMonitor ( )
overridevirtual

Definition at line 64 of file dbui.cxx.

Member Function Documentation

void CreateMonitor::SetCurrentPosition ( sal_Int32  nCurrent)

Definition at line 85 of file dbui.cxx.

References m_nCurrentPosition, and UpdateCountingText().

void CreateMonitor::SetTotalCount ( sal_Int32  nTotal)

Definition at line 79 of file dbui.cxx.

References m_nTotalCount, and UpdateCountingText().

void CreateMonitor::UpdateCountingText ( )
private

Definition at line 68 of file dbui.cxx.

References m_nCurrentPosition, m_nTotalCount, m_sCountingPattern, and m_xCounting.

Referenced by SetCurrentPosition(), and SetTotalCount().

Member Data Documentation

sal_Int32 CreateMonitor::m_nCurrentPosition
private

Definition at line 63 of file dbui.hxx.

Referenced by SetCurrentPosition(), and UpdateCountingText().

sal_Int32 CreateMonitor::m_nTotalCount
private

Definition at line 62 of file dbui.hxx.

Referenced by SetTotalCount(), and UpdateCountingText().

OUString CreateMonitor::m_sCountingPattern
private

Definition at line 61 of file dbui.hxx.

Referenced by CreateMonitor(), and UpdateCountingText().

std::unique_ptr<weld::Label> CreateMonitor::m_xCounting
private

Definition at line 65 of file dbui.hxx.

Referenced by CreateMonitor(), and UpdateCountingText().


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