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

A simplified progress bar with only one segment. More...

#include <fprogressbar.hxx>

Collaboration diagram for ScfSimpleProgressBar:
[legend]

Public Member Functions

 ScfSimpleProgressBar (std::size_t nSize, SfxObjectShell *pDocShell, const OUString &rText)
 
 ScfSimpleProgressBar (std::size_t nSize, SfxObjectShell *pDocShell, const char *pResId)
 
void ProgressAbs (std::size_t nPos)
 Set progress bar to the specified position. More...
 

Private Member Functions

void Init (std::size_t nSize)
 Initializes and starts the progress bar. More...
 

Private Attributes

ScfProgressBar maProgress
 

Detailed Description

A simplified progress bar with only one segment.

Definition at line 186 of file fprogressbar.hxx.

Constructor & Destructor Documentation

ScfSimpleProgressBar::ScfSimpleProgressBar ( std::size_t  nSize,
SfxObjectShell pDocShell,
const OUString &  rText 
)
explicit

Definition at line 197 of file fprogressbar.cxx.

References Init(), and maProgress.

ScfSimpleProgressBar::ScfSimpleProgressBar ( std::size_t  nSize,
SfxObjectShell pDocShell,
const char *  pResId 
)
explicit

Definition at line 203 of file fprogressbar.cxx.

References Init(), and maProgress.

Member Function Documentation

void ScfSimpleProgressBar::Init ( std::size_t  nSize)
private

Initializes and starts the progress bar.

Definition at line 209 of file fprogressbar.cxx.

References ScfProgressBar::ActivateSegment(), ScfProgressBar::AddSegment(), and maProgress.

Referenced by ScfSimpleProgressBar().

void ScfSimpleProgressBar::ProgressAbs ( std::size_t  nPos)
inline

Set progress bar to the specified position.

Definition at line 193 of file fprogressbar.hxx.

References maProgress, and ScfProgressBar::ProgressAbs().

Member Data Documentation

ScfProgressBar ScfSimpleProgressBar::maProgress
private

Definition at line 200 of file fprogressbar.hxx.

Referenced by Init(), and ProgressAbs().


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