AsyncProgressDialog
Static Public Member Functions | List of all members
APD::ProgressWidgetFactory Class Reference

A convenience class which contains factory methods for creating progress and velocity bars. More...

Static Public Member Functions

static ProgressWidgetcreateProgressBar (const QString &label, AdditionalWidgets additionalWidgets=AdditionalWidget::NoWidget)
 
static ProgressWidgetcreateProgressBar (AdditionalWidgets additionalWidgets=AdditionalWidget::NoWidget)
 
static ProgressWidgetcreateVelocityBar (const QString &units, AdditionalWidgets additionalWidgets=AdditionalWidget::NoWidget)
 
static ProgressWidgetcreateVelocityBar (AdditionalWidgets additionalWidgets=AdditionalWidget::NoWidget)
 

Detailed Description

A convenience class which contains factory methods for creating progress and velocity bars.

A progress bar as well as velocity bar widget can be composed of multitude of additional widgets for displaying progress, current text, etc.

See also
AdditionalWidget

Member Function Documentation

◆ createProgressBar() [1/2]

ProgressWidget * APD::ProgressWidgetFactory::createProgressBar ( const QString &  label,
AdditionalWidgets  additionalWidgets = AdditionalWidget::NoWidget 
)
static

Create and return a new progress bar widget. The progress bar has an adjanced label and possibly number of additionalWidgets.

See also
AdditionalWidgets

◆ createProgressBar() [2/2]

ProgressWidget * APD::ProgressWidgetFactory::createProgressBar ( AdditionalWidgets  additionalWidgets = AdditionalWidget::NoWidget)
static

Create and return a new progress bar widget. The progress bar may have number of adjanced additionalWidgets.

See also
AdditionalWidgets

◆ createVelocityBar() [1/2]

ProgressWidget * APD::ProgressWidgetFactory::createVelocityBar ( const QString &  units,
AdditionalWidgets  additionalWidgets = AdditionalWidget::NoWidget 
)
static

Create and return a new velocity bar widget. The velocity bar has an adjanced label and possibly number of additionalWidgets.

See also
AdditionalWidgets

◆ createVelocityBar() [2/2]

ProgressWidget * APD::ProgressWidgetFactory::createVelocityBar ( AdditionalWidgets  additionalWidgets = AdditionalWidget::NoWidget)
static

Create and return a new velocity bar widget. The velocity bar may have number of adjanced additionalWidgets.

See also
AdditionalWidgets

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