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

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

Inheritance diagram for APD::ProgressLabel:
APD::ProgressWidget

Classes

class  Impl
 

Public Slots

void setText (const QString &text) 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

 ProgressLabel (QWidget *parent=nullptr)
 
QLabel * label () const
 
- Public Member Functions inherited from APD::ProgressWidget
 ProgressWidget (QWidget *parent=nullptr)
 

Detailed Description

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

The label shows current progress text as set by TaskThread::setText() method.

Constructor & Destructor Documentation

◆ ProgressLabel()

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

Constructs a progress label with the given parent.

Member Function Documentation

◆ label()

QLabel * APD::ProgressLabel::label ( ) const

Return the wrapped QLabel.

◆ setText

void APD::ProgressLabel::setText ( const QString &  text)
overrideslot

Reimplementation of ProgressWidget::setText()


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