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 |
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 31 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 38 of file btbookshelfinstallfinalpage.h.
References destroyThread().
|
noexcept |
Definition at line 86 of file btbookshelfinstallfinalpage.cpp.
References m_thread, and BtInstallThread::stopInstall().
Referenced by initializePage(), and ~BtBookshelfInstallFinalPage().
|
finaloverride |
Definition at line 115 of file btbookshelfinstallfinalpage.cpp.
References BT_CONNECT, BtBookshelfWizardPage::btWizard(), destroyThread(), BtInstallThread::downloadStarted(), BtInstallThread::installCompleted(), m_installCompleted, m_installFailed, m_modules, m_progressBar, m_stopButton, m_thread, BtInstallThread::preparingInstall(), retranslateUi(), slotInstallStarted(), slotOneItemCompleted(), slotStatusUpdated(), slotThreadFinished(), and BtInstallThread::statusUpdated().
|
finaloverride |
Definition at line 143 of file btbookshelfinstallfinalpage.cpp.
References m_installCompleted.
|
finaloverride |
Definition at line 113 of file btbookshelfinstallfinalpage.cpp.
|
private |
Definition at line 95 of file btbookshelfinstallfinalpage.cpp.
References BtBookshelfWizardPage::btWizard(), m_stopButton, and updateWorks.
Referenced by initializePage().
BtModuleSet BtBookshelfInstallFinalPage::selectedWorks | ( | ) | const |
|
privateslot |
Definition at line 152 of file btbookshelfinstallfinalpage.cpp.
References CSwordModuleInfo::Description, m_lastStatus, m_modules, m_msgLabel, and m_msgLabel2.
Referenced by initializePage().
|
privateslot |
Definition at line 175 of file btbookshelfinstallfinalpage.cpp.
References m_installFailed, m_modules, and m_progressBar.
Referenced by initializePage().
|
privateslot |
Definition at line 159 of file btbookshelfinstallfinalpage.cpp.
References m_lastStatus, m_modules, and m_progressBar.
Referenced by initializePage().
|
slot |
Definition at line 146 of file btbookshelfinstallfinalpage.cpp.
References m_installFailed, m_stopButton, m_thread, and BtInstallThread::stopInstall().
Referenced by BtBookshelfInstallFinalPage(), and BtBookshelfWizard::stopDownload().
|
privateslot |
Definition at line 183 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 71 of file btbookshelfinstallfinalpage.h.
Referenced by initializePage(), isComplete(), and slotThreadFinished().
|
private |
Definition at line 70 of file btbookshelfinstallfinalpage.h.
Referenced by initializePage(), slotOneItemCompleted(), slotStopInstall(), and slotThreadFinished().
|
private |
Definition at line 74 of file btbookshelfinstallfinalpage.h.
Referenced by slotInstallStarted(), and slotStatusUpdated().
|
private |
Definition at line 73 of file btbookshelfinstallfinalpage.h.
Referenced by initializePage(), slotInstallStarted(), slotOneItemCompleted(), and slotStatusUpdated().
|
private |
Definition at line 63 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage(), slotInstallStarted(), and slotThreadFinished().
|
private |
Definition at line 64 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage(), slotInstallStarted(), and slotThreadFinished().
|
private |
Definition at line 65 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage(), initializePage(), slotOneItemCompleted(), slotStatusUpdated(), and slotThreadFinished().
|
private |
Definition at line 66 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage(), initializePage(), retranslateUi(), slotStopInstall(), and slotThreadFinished().
|
private |
Definition at line 67 of file btbookshelfinstallfinalpage.h.
Referenced by destroyThread(), initializePage(), and slotStopInstall().
|
private |
Definition at line 68 of file btbookshelfinstallfinalpage.h.
Referenced by BtBookshelfInstallFinalPage().