BibleTime
Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
BtBookshelfInstallFinalPage Class Referencefinal

#include <btbookshelfinstallfinalpage.h>

Inheritance diagram for BtBookshelfInstallFinalPage:

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)
 
BtBookshelfWizardbtWizard () 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
 
BtInstallThreadm_thread = nullptr
 
QVBoxLayout * m_verticalLayout
 

Detailed Description

Definition at line 31 of file btbookshelfinstallfinalpage.h.

Constructor & Destructor Documentation

◆ BtBookshelfInstallFinalPage()

BtBookshelfInstallFinalPage::BtBookshelfInstallFinalPage ( QWidget parent = nullptr)

◆ ~BtBookshelfInstallFinalPage()

BtBookshelfInstallFinalPage::~BtBookshelfInstallFinalPage ( )
inlinefinaloverridenoexcept

Definition at line 38 of file btbookshelfinstallfinalpage.h.

References destroyThread().

Member Function Documentation

◆ destroyThread()

void BtBookshelfInstallFinalPage::destroyThread ( )
noexcept

◆ initializePage()

void BtBookshelfInstallFinalPage::initializePage ( )
finaloverride

◆ isComplete()

bool BtBookshelfInstallFinalPage::isComplete ( ) const
finaloverride

Definition at line 143 of file btbookshelfinstallfinalpage.cpp.

References m_installCompleted.

◆ nextId()

int BtBookshelfInstallFinalPage::nextId ( ) const
finaloverride

Definition at line 113 of file btbookshelfinstallfinalpage.cpp.

◆ retranslateUi()

void BtBookshelfInstallFinalPage::retranslateUi ( )
private

◆ selectedWorks()

BtModuleSet BtBookshelfInstallFinalPage::selectedWorks ( ) const

◆ slotInstallStarted

void BtBookshelfInstallFinalPage::slotInstallStarted ( int  moduleIndex)
privateslot

◆ slotOneItemCompleted

void BtBookshelfInstallFinalPage::slotOneItemCompleted ( int  moduleIndex,
bool  status 
)
privateslot

Definition at line 175 of file btbookshelfinstallfinalpage.cpp.

References m_installFailed, m_modules, and m_progressBar.

Referenced by initializePage().

◆ slotStatusUpdated

void BtBookshelfInstallFinalPage::slotStatusUpdated ( int  moduleIndex,
int  status 
)
privateslot

Definition at line 159 of file btbookshelfinstallfinalpage.cpp.

References m_lastStatus, m_modules, and m_progressBar.

Referenced by initializePage().

◆ slotStopInstall

void BtBookshelfInstallFinalPage::slotStopInstall ( )
slot

◆ slotThreadFinished

void BtBookshelfInstallFinalPage::slotThreadFinished ( )
privateslot

Member Data Documentation

◆ m_installCompleted

bool BtBookshelfInstallFinalPage::m_installCompleted = false
private

Definition at line 71 of file btbookshelfinstallfinalpage.h.

Referenced by initializePage(), isComplete(), and slotThreadFinished().

◆ m_installFailed

bool BtBookshelfInstallFinalPage::m_installFailed = false
private

◆ m_lastStatus

int BtBookshelfInstallFinalPage::m_lastStatus = -1
private

Definition at line 74 of file btbookshelfinstallfinalpage.h.

Referenced by slotInstallStarted(), and slotStatusUpdated().

◆ m_modules

QList<CSwordModuleInfo *> BtBookshelfInstallFinalPage::m_modules
private

◆ m_msgLabel

QLabel* BtBookshelfInstallFinalPage::m_msgLabel
private

◆ m_msgLabel2

QLabel* BtBookshelfInstallFinalPage::m_msgLabel2
private

◆ m_progressBar

QProgressBar* BtBookshelfInstallFinalPage::m_progressBar
private

◆ m_stopButton

QPushButton* BtBookshelfInstallFinalPage::m_stopButton
private

◆ m_thread

BtInstallThread* BtBookshelfInstallFinalPage::m_thread = nullptr
private

Definition at line 67 of file btbookshelfinstallfinalpage.h.

Referenced by destroyThread(), initializePage(), and slotStopInstall().

◆ m_verticalLayout

QVBoxLayout* BtBookshelfInstallFinalPage::m_verticalLayout
private

Definition at line 68 of file btbookshelfinstallfinalpage.h.

Referenced by BtBookshelfInstallFinalPage().


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