AsyncProgressDialog
ProgressLabel.h
1 #pragma once
2 
3 #include "ProgressWidget.h"
4 
5 #include <memory>
6 
7 class QLabel;
8 
9 namespace APD
10 {
11 
13 {
14  Q_OBJECT
15 
16 public:
17  explicit ProgressLabel(QWidget *parent = nullptr);
18  ~ProgressLabel() override;
19 
20  QLabel* label() const;
21 
22 public slots:
23  void setText(const QString& text) override;
24 
25 private:
26  Q_DISABLE_COPY(ProgressLabel)
27 
28  class Impl;
29  std::unique_ptr<Impl> m_impl;
30 };
31 
32 }
QLabel * label() const
Definition: ProgressLabel.cpp:50
ProgressLabel(QWidget *parent=nullptr)
Definition: ProgressLabel.cpp:39
Base class for all widgets capable of displaying progress for a TaskThread.
Definition: ProgressWidget.h:10
void setText(const QString &text) override
Definition: ProgressLabel.cpp:58
A wrapper around QLabel, which can be added to AsyncProgressDialog.
Definition: ProgressLabel.h:12