|
BibleTime
|
#include <btbookshelfinstallfinalpage.h>
Public Slots | |
| void | slotStopInstall () |
Public Member Functions | |
| BtBookshelfInstallFinalPage (QWidget *parent=nullptr) | |
| void | destroyThread () noexcept |
| void | initializePage () final override |
| bool | isComplete () const final override |
| int | nextId () const final override |
| BtModuleSet | selectedWorks () const |
| ~BtBookshelfInstallFinalPage () noexcept final override | |
Public Member Functions inherited from BtBookshelfWizardPage | |
| BtBookshelfWizardPage (QWidget *parent=nullptr) | |
| BtBookshelfWizard & | btWizard () const noexcept |
Static Public Attributes | |
| static constexpr int const | MAX_MODULES |
Private Slots | |
| void | slotInstallStarted (int moduleIndex) |
| void | slotOneItemCompleted (int moduleIndex, bool status) |
| void | slotStatusUpdated (int moduleIndex, int status) |
| void | slotThreadFinished () |
Private Member Functions | |
| void | retranslateUi () |
Private Attributes | |
| bool | m_installCompleted = false |
| bool | m_installFailed = false |
| int | m_lastStatus = -1 |
| QList< CSwordModuleInfo * > | m_modules |
| QLabel * | m_msgLabel |
| QLabel * | m_msgLabel2 |
| QProgressBar * | m_progressBar |
| QPushButton * | m_stopButton |
| BtInstallThread * | m_thread = nullptr |
| QVBoxLayout * | m_verticalLayout |
Definition at line 32 of file btbookshelfinstallfinalpage.h.
| BtBookshelfInstallFinalPage::BtBookshelfInstallFinalPage | ( | QWidget * | parent = nullptr | ) |
Definition at line 41 of file btbookshelfinstallfinalpage.cpp.
References BT_CONNECT, m_msgLabel, m_msgLabel2, m_progressBar, m_stopButton, m_verticalLayout, and slotStopInstall().
|
inlinefinaloverridenoexcept |
Definition at line 45 of file btbookshelfinstallfinalpage.h.
References destroyThread().
|
noexcept |
Definition at line 84 of file btbookshelfinstallfinalpage.cpp.
References m_thread, and BtInstallThread::stopInstall().
Referenced by initializePage(), and ~BtBookshelfInstallFinalPage().
|
finaloverride |
Definition at line 113 of file btbookshelfinstallfinalpage.cpp.
References BT_ASSERT, BT_CONNECT, BtBookshelfWizardPage::btWizard(), destroyThread(), BtInstallThread::downloadStarted(), BtInstallThread::installCompleted(), m_installCompleted, m_installFailed, m_modules, m_progressBar, m_stopButton, m_thread, MAX_MODULES, BtInstallThread::preparingInstall(), retranslateUi(), slotInstallStarted(), slotOneItemCompleted(), slotStatusUpdated(), slotThreadFinished(), and BtInstallThread::statusUpdated().
|
finaloverride |
Definition at line 148 of file btbookshelfinstallfinalpage.cpp.
References m_installCompleted.
|
finaloverride |
Definition at line 111 of file btbookshelfinstallfinalpage.cpp.
|
private |
Definition at line 93 of file btbookshelfinstallfinalpage.cpp.
References BtBookshelfWizardPage::btWizard(), m_stopButton, and updateWorks.
Referenced by initializePage().
| BtModuleSet BtBookshelfInstallFinalPage::selectedWorks | ( | ) | const |
|
privateslot |
Definition at line 157 of file btbookshelfinstallfinalpage.cpp.
References CSwordModuleInfo::Description, m_lastStatus, m_modules, m_msgLabel, and m_msgLabel2.
Referenced by initializePage().
|
privateslot |
Definition at line 184 of file btbookshelfinstallfinalpage.cpp.
References BT_ASSERT, m_installFailed, m_modules, and m_progressBar.
Referenced by initializePage().
|
privateslot |
Definition at line 164 of file btbookshelfinstallfinalpage.cpp.
References BT_ASSERT, m_lastStatus, m_modules, and m_progressBar.
Referenced by initializePage().
|
slot |
Definition at line 151 of file btbookshelfinstallfinalpage.cpp.
References m_installFailed, m_stopButton, m_thread, and BtInstallThread::stopInstall().
Referenced by BtBookshelfInstallFinalPage(), and BtBookshelfWizard::stopDownload().
|
privateslot |
Definition at line 195 of file btbookshelfinstallfinalpage.cpp.
References BtBookshelfWizardPage::btWizard(), BtBookshelfWizard::downloadFinished(), CSwordBackend::instance(), m_installCompleted, m_installFailed, m_msgLabel, m_msgLabel2, m_progressBar, m_stopButton, and CSwordBackend::reloadModules().
Referenced by initializePage().
|
private |
Definition at line 78 of file btbookshelfinstallfinalpage.h.
Referenced by initializePage(), isComplete(), and slotThreadFinished().
|
private |
Definition at line 77 of file btbookshelfinstallfinalpage.h.
Referenced by initializePage(), slotOneItemCompleted(), slotStopInstall(), and slotThreadFinished().
|
private |
Definition at line 81 of file btbookshelfinstallfinalpage.h.
Referenced by slotInstallStarted(), and slotStatusUpdated().
|
private |
Definition at line 80 of file btbookshelfinstallfinalpage.h.
Referenced by initializePage(), slotInstallStarted(), slotOneItemCompleted(), and slotStatusUpdated().
|
private |
Definition at line 70 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage(), slotInstallStarted(), and slotThreadFinished().
|
private |
Definition at line 71 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage(), slotInstallStarted(), and slotThreadFinished().
|
private |
Definition at line 72 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage(), initializePage(), slotOneItemCompleted(), slotStatusUpdated(), and slotThreadFinished().
|
private |
Definition at line 73 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage(), initializePage(), retranslateUi(), slotStopInstall(), and slotThreadFinished().
|
private |
Definition at line 74 of file btbookshelfinstallfinalpage.h.
Referenced by destroyThread(), initializePage(), and slotStopInstall().
|
private |
Definition at line 75 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage().
|
staticconstexpr |
Definition at line 39 of file btbookshelfinstallfinalpage.h.
Referenced by initializePage(), and BtBookshelfWorksPage::isComplete().