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

#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 OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString 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 47 of file dbui.hxx.

Constructor & Destructor Documentation

◆ CreateMonitor()

CreateMonitor::CreateMonitor ( weld::Window pParent)

Definition at line 48 of file dbui.cxx.

References m_sCountingPattern, and m_xCounting.

◆ ~CreateMonitor()

CreateMonitor::~CreateMonitor ( )
overridevirtual

Definition at line 59 of file dbui.cxx.

Member Function Documentation

◆ SetCurrentPosition()

void CreateMonitor::SetCurrentPosition ( sal_Int32  nCurrent)

Definition at line 80 of file dbui.cxx.

References m_nCurrentPosition, and UpdateCountingText().

◆ SetTotalCount()

void CreateMonitor::SetTotalCount ( sal_Int32  nTotal)

Definition at line 74 of file dbui.cxx.

References m_nTotalCount, and UpdateCountingText().

◆ UpdateCountingText()

void CreateMonitor::UpdateCountingText ( )
private

Definition at line 63 of file dbui.cxx.

References m_nCurrentPosition, m_nTotalCount, m_sCountingPattern, m_xCounting, and u.

Referenced by SetCurrentPosition(), and SetTotalCount().

Member Data Documentation

◆ m_nCurrentPosition

sal_Int32 CreateMonitor::m_nCurrentPosition
private

Definition at line 62 of file dbui.hxx.

Referenced by SetCurrentPosition(), and UpdateCountingText().

◆ m_nTotalCount

sal_Int32 CreateMonitor::m_nTotalCount
private

Definition at line 61 of file dbui.hxx.

Referenced by SetTotalCount(), and UpdateCountingText().

◆ m_sCountingPattern

OUString CreateMonitor::m_sCountingPattern
private

Definition at line 60 of file dbui.hxx.

Referenced by CreateMonitor(), and UpdateCountingText().

◆ m_xCounting

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

Definition at line 64 of file dbui.hxx.

Referenced by CreateMonitor(), and UpdateCountingText().


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