BibleTime
|
The Bookshelf Manager wizard. More...
#include <btbookshelfwizard.h>
Public Slots | |
void | accept () final override |
Public Member Functions | |
BtBookshelfWizard (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()) | |
void | downloadFinished () |
void | downloadStarted () |
QString | installPath () const |
BtBookshelfLanguagesPage & | languagesPage () const noexcept |
QStringList | selectedLanguages () const |
QStringList | selectedSources () const |
BtModuleSet | selectedWorks () const |
WizardTaskType | taskType () const |
Static Public Member Functions | |
static bool | autoUpdateSources () |
static void | setAutoUpdateSources (bool value) |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) override |
Private Member Functions | |
void | retranslateUi () |
void | stopDownload () |
Private Attributes | |
QMessageBox * | m_closeMessageBox |
bool | m_closeRequested |
bool | m_downloadInProgress |
BtBookshelfInstallFinalPage *const | m_installFinalPage |
BtBookshelfWorksPage *const | m_installWorksPage |
BtBookshelfLanguagesPage *const | m_languagesPage |
BtBookshelfWorksPage *const | m_removeWorksPage |
BtBookshelfSourcesPage *const | m_sourcesPage |
BtBookshelfSourcesProgressPage *const | m_sourcesProgressPage |
BtBookshelfTaskPage *const | m_taskPage |
BtBookshelfWorksPage *const | m_updateWorksPage |
The Bookshelf Manager wizard.
Definition at line 36 of file btbookshelfwizard.h.
BtBookshelfWizard::BtBookshelfWizard | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | flags = Qt::WindowFlags() |
||
) |
Definition at line 43 of file btbookshelfwizard.cpp.
References btConfig(), anonymous_namespace{btbookshelfwizard.cpp}::GeometryKey, installFinalPage, installWorksPage, languagesPage, m_installFinalPage, m_installWorksPage, m_languagesPage, m_removeWorksPage, m_sourcesPage, m_sourcesProgressPage, m_taskPage, m_updateWorksPage, removeFinalPage, removeWorksPage, retranslateUi(), sourcesPage, sourcesProgressPage, taskPage, and updateWorksPage.
|
finaloverrideslot |
Definition at line 114 of file btbookshelfwizard.cpp.
References btConfig(), anonymous_namespace{btbookshelfwizard.cpp}::GeometryKey, anonymous_namespace{btbookshelfwizard.cpp}::LanguagesKey, m_installFinalPage, selectedLanguages(), selectedSources(), BtConfigCore::setValue(), and anonymous_namespace{btbookshelfwizard.cpp}::SourcesKey.
Referenced by downloadFinished().
|
static |
Definition at line 150 of file btbookshelfwizard.cpp.
References anonymous_namespace{btbookshelfwizard.cpp}::autoSourcesUpdate.
Referenced by BtBookshelfTaskPage::timeToUpdate().
void BtBookshelfWizard::downloadFinished | ( | ) |
Definition at line 179 of file btbookshelfwizard.cpp.
References accept(), m_closeMessageBox, m_closeRequested, and m_downloadInProgress.
Referenced by BtBookshelfInstallFinalPage::slotThreadFinished(), and BtBookshelfSourcesProgressPage::slotThreadFinished().
void BtBookshelfWizard::downloadStarted | ( | ) |
Definition at line 175 of file btbookshelfwizard.cpp.
References m_downloadInProgress.
Referenced by BtBookshelfSourcesProgressPage::initializePage().
QString BtBookshelfWizard::installPath | ( | ) | const |
Definition at line 138 of file btbookshelfwizard.cpp.
References BT_ASSERT, BtBookshelfWorksPage::installPath(), installWorks, m_installWorksPage, m_taskPage, m_updateWorksPage, BtBookshelfTaskPage::taskType(), and updateWorks.
|
overrideprotectedvirtual |
Definition at line 163 of file btbookshelfwizard.cpp.
References m_closeMessageBox, m_closeRequested, m_downloadInProgress, and stopDownload().
|
inlinenoexcept |
Definition at line 53 of file btbookshelfwizard.h.
References m_languagesPage.
Referenced by BtBookshelfSourcesPage::nextId().
|
private |
Definition at line 96 of file btbookshelfwizard.cpp.
References m_closeMessageBox, and translateQWizardStandardButtons().
Referenced by BtBookshelfWizard().
QStringList BtBookshelfWizard::selectedLanguages | ( | ) | const |
Definition at line 111 of file btbookshelfwizard.cpp.
References m_languagesPage, and BtBookshelfLanguagesPage::selectedLanguages().
Referenced by accept(), and BtBookshelfWorksPage::initializePage().
QStringList BtBookshelfWizard::selectedSources | ( | ) | const |
Definition at line 108 of file btbookshelfwizard.cpp.
References m_sourcesPage, and BtBookshelfSourcesPage::selectedSources().
Referenced by accept(), and BtBookshelfWorksPage::initializePage().
BtModuleSet BtBookshelfWizard::selectedWorks | ( | ) | const |
Definition at line 125 of file btbookshelfwizard.cpp.
References BT_ASSERT, BtBookshelfWorksPage::checkedModules(), installWorks, m_installWorksPage, m_removeWorksPage, m_taskPage, m_updateWorksPage, removeWorks, BtBookshelfTaskPage::taskType(), and updateWorks.
|
static |
Definition at line 146 of file btbookshelfwizard.cpp.
References anonymous_namespace{btbookshelfwizard.cpp}::autoSourcesUpdate.
Referenced by BtBookshelfSourcesProgressPage::slotThreadFinished().
|
private |
Definition at line 154 of file btbookshelfwizard.cpp.
References m_installFinalPage, m_sourcesProgressPage, BtBookshelfInstallFinalPage::slotStopInstall(), and BtBookshelfSourcesProgressPage::slotStopInstall().
Referenced by keyPressEvent().
WizardTaskType BtBookshelfWizard::taskType | ( | ) | const |
Definition at line 135 of file btbookshelfwizard.cpp.
References m_taskPage, and BtBookshelfTaskPage::taskType().
|
private |
Definition at line 76 of file btbookshelfwizard.h.
Referenced by downloadFinished(), keyPressEvent(), and retranslateUi().
|
private |
Definition at line 75 of file btbookshelfwizard.h.
Referenced by downloadFinished(), and keyPressEvent().
|
private |
Definition at line 74 of file btbookshelfwizard.h.
Referenced by downloadFinished(), downloadStarted(), and keyPressEvent().
|
private |
Definition at line 85 of file btbookshelfwizard.h.
Referenced by accept(), BtBookshelfWizard(), and stopDownload().
|
private |
Definition at line 82 of file btbookshelfwizard.h.
Referenced by BtBookshelfWizard(), installPath(), and selectedWorks().
|
private |
Definition at line 81 of file btbookshelfwizard.h.
Referenced by BtBookshelfWizard(), languagesPage(), and selectedLanguages().
|
private |
Definition at line 84 of file btbookshelfwizard.h.
Referenced by BtBookshelfWizard(), and selectedWorks().
|
private |
Definition at line 79 of file btbookshelfwizard.h.
Referenced by BtBookshelfWizard(), and selectedSources().
|
private |
Definition at line 80 of file btbookshelfwizard.h.
Referenced by BtBookshelfWizard(), and stopDownload().
|
private |
Definition at line 78 of file btbookshelfwizard.h.
Referenced by BtBookshelfWizard(), installPath(), selectedWorks(), and taskType().
|
private |
Definition at line 83 of file btbookshelfwizard.h.
Referenced by BtBookshelfWizard(), installPath(), and selectedWorks().