Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

ScProgressBar Class Reference

A Progress Bar that allows a number (X of Y) style or standard % indicator. More...

#include <scprogressbar.h>

List of all members.

Public Member Functions

 ScProgressBar (bool showNumbers, QWidget *parent=0)
 ScProgressBar (bool showNumbers, int totalSteps, QWidget *parent=0)
virtual bool setIndicator (QString &indicator, int progress, int totalSteps)
 ~ScProgressBar ()

Protected Attributes

bool m_useNumeric


Detailed Description

A Progress Bar that allows a number (X of Y) style or standard % indicator.

Definition at line 31 of file scprogressbar.h.


Constructor & Destructor Documentation

ScProgressBar::ScProgressBar ( bool  showNumbers,
QWidget *  parent = 0 
)

Definition at line 26 of file scprogressbar.cpp.

ScProgressBar::ScProgressBar ( bool  showNumbers,
int  totalSteps,
QWidget *  parent = 0 
)

Definition at line 32 of file scprogressbar.cpp.

ScProgressBar::~ScProgressBar (  ) 

Definition at line 40 of file scprogressbar.cpp.


Member Function Documentation

bool ScProgressBar::setIndicator ( QString &  indicator,
int  progress,
int  totalSteps 
) [virtual]

Definition at line 44 of file scprogressbar.cpp.

References m_useNumeric, and tr().


Member Data Documentation

bool ScProgressBar::m_useNumeric [protected]

Definition at line 43 of file scprogressbar.h.

Referenced by setIndicator().


The documentation for this class was generated from the following files:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.