BibleTime
btbookshelfsourcesprogresspage.h
Go to the documentation of this file.
1/*********
2*
3* In the name of the Father, and of the Son, and of the Holy Spirit.
4*
5* This file is part of BibleTime's source code, https://bibletime.info/
6*
7* Copyright 1999-2025 by the BibleTime developers.
8* The BibleTime source code is licensed under the GNU General Public License
9* version 2.0.
10*
11**********/
12
13#pragma once
14
16
17#include <QObject>
18#include <QString>
19
20
21class BtSourcesThread;
22class QLabel;
23class QProgressBar;
24class QPushButton;
25class QWidget;
26
28
29 Q_OBJECT
30
31public: // methods:
32
33 BtBookshelfSourcesProgressPage(QWidget * parent = nullptr);
35
36 void destroyThread() noexcept;
37
38 void initializePage() final override;
39 bool isComplete() const final override;
40 int nextId() const final override;
41
42public Q_SLOTS:
43 void slotStopInstall();
44
45private Q_SLOTS:
46
47 void slotThreadFinished();
48
49private: // methods:
50
51 void retranslateUi();
52
53private: // methods:
54
55 bool m_installCompleted = false;
56 QLabel * m_msgLabel;
57 QProgressBar * m_progressBar;
58 QPushButton * m_stopButton;
60
61};