AsyncProgressDialog
Classes | Public Slots | Public Member Functions | List of all members
APD::ProgressBar Class Reference

A wrapper around QProgressBar, which can be added to AsyncProgressDialog. More...

Inheritance diagram for APD::ProgressBar:
APD::ProgressWidget

Classes

class  Impl
 

Public Slots

void setValue (int value, const QVariant &, const TimeStamp &) override
 
void setRange (int minimum, int maximum) override
 
- Public Slots inherited from APD::ProgressWidget
virtual void setValue (int, const QVariant &, const TimeStamp &)
 
virtual void setRange (int, int)
 
virtual void setText (const QString &)
 

Public Member Functions

 ProgressBar (QWidget *parent=nullptr)
 
QProgressBar * progressBar () const
 
- Public Member Functions inherited from APD::ProgressWidget
 ProgressWidget (QWidget *parent=nullptr)
 

Detailed Description

A wrapper around QProgressBar, which can be added to AsyncProgressDialog.

The label shows current progress value as set by TaskThread::setValue() method.

Constructor & Destructor Documentation

◆ ProgressBar()

APD::ProgressBar::ProgressBar ( QWidget *  parent = nullptr)
explicit

Constructs a progress bar with the given parent.

Member Function Documentation

◆ progressBar()

QProgressBar * APD::ProgressBar::progressBar ( ) const

Return the wrapped QProgressBar.

◆ setRange

void APD::ProgressBar::setRange ( int  minimum,
int  maximum 
)
overrideslot

Reimplementation of ProgressWidget::setRange()

◆ setValue

void APD::ProgressBar::setValue ( int  value,
const QVariant &  ,
const TimeStamp &   
)
overrideslot

Reimplementation of ProgressWidget::setValue()


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