BibleTime
|
#include <btbookshelfworkspage.h>
Public Member Functions | |
BtBookshelfWorksPage (WizardTaskType iType, QWidget *parent=nullptr) | |
BtModuleSet const & | checkedModules () const |
void | initializePage () final override |
QString | installPath () const |
bool | isComplete () const final override |
int | nextId () const final override |
Public Member Functions inherited from BtBookshelfWizardPage | |
BtBookshelfWizardPage (QWidget *parent=nullptr) | |
BtBookshelfWizard & | btWizard () const noexcept |
Private Slots | |
void | slotGroupingActionTriggered (BtBookshelfTreeModel::Grouping const &grouping) |
void | slotGroupingOrderChanged (BtBookshelfTreeModel::Grouping const &g) |
void | slotInitPathCombo () |
void | slotPathChanged (int const index) |
Private Member Functions | |
void | retranslateUi () |
Private Attributes | |
std::shared_ptr< BtBookshelfModel > | m_bookshelfModel |
BtBookshelfView * | m_bookshelfView |
QMenu * | m_contextMenu |
QToolButton * | m_groupingButton |
QLabel * | m_groupingLabel |
BtBookshelfGroupingMenu * | m_groupingMenu |
BtBookshelfTreeModel::Grouping | m_groupingOrder |
BtInstallPageModel * | m_installPageModel |
QMenu * | m_itemContextMenu |
QLabel * | m_msgLabel |
QLineEdit * | m_nameFilterEdit |
QLabel * | m_nameFilterLabel |
QComboBox * | m_pathCombo |
QLabel * | m_pathLabel |
WizardTaskType const | m_taskType |
std::vector< std::unique_ptr< CSwordBackend const > > | m_usedBackends |
Definition at line 38 of file btbookshelfworkspage.h.
BtBookshelfWorksPage::BtBookshelfWorksPage | ( | WizardTaskType | iType, |
QWidget * | parent = nullptr |
||
) |
Definition at line 90 of file btbookshelfworkspage.cpp.
References BT_CONNECT, BtBookshelfTreeModel::CHECKED, BtBookshelfTreeModel::groupingOrderChanged(), CSwordBackend::instance(), m_bookshelfModel, m_bookshelfView, m_contextMenu, m_groupingButton, m_groupingLabel, m_groupingMenu, m_groupingOrder, m_installPageModel, m_itemContextMenu, m_msgLabel, m_nameFilterEdit, m_nameFilterLabel, m_pathCombo, m_pathLabel, m_taskType, BtBookshelfTreeModel::moduleChecked(), BtBookshelfModel::newInstance(), removeWorks, retranslateUi(), BtBookshelfTreeModel::setDefaultChecked(), BtBookshelfFilterModel::setNameFilterFixedString(), BtBookshelfTreeModel::setSourceModel(), BtBookshelfGroupingMenu::signalGroupingOrderChanged(), CSwordBackend::sigSwordSetupChanged(), slotGroupingActionTriggered(), slotGroupingOrderChanged(), slotInitPathCombo(), slotPathChanged(), and updateWorks.
BtModuleSet const & BtBookshelfWorksPage::checkedModules | ( | ) | const |
Definition at line 326 of file btbookshelfworkspage.cpp.
References BtBookshelfTreeModel::checkedModules(), and m_installPageModel.
Referenced by isComplete(), and BtBookshelfWizard::selectedWorks().
|
finaloverride |
Definition at line 252 of file btbookshelfworkspage.cpp.
References BtInstallBackend::backend(), BtBookshelfWizardPage::btWizard(), anonymous_namespace{btbookshelfworkspage.cpp}::filter(), BtBookshelfTreeModel::GROUP_CATEGORY, installWorks, m_bookshelfModel, m_bookshelfView, m_groupingButton, m_groupingLabel, m_groupingOrder, m_msgLabel, m_taskType, m_usedBackends, BtBookshelfWizard::selectedLanguages(), BtBookshelfWizard::selectedSources(), slotGroupingActionTriggered(), BtInstallBackend::source(), and BtInstallBackend::sourceNameList().
QString BtBookshelfWorksPage::installPath | ( | ) | const |
Definition at line 329 of file btbookshelfworkspage.cpp.
References m_pathCombo.
Referenced by BtBookshelfWizard::installPath().
|
finaloverride |
Definition at line 316 of file btbookshelfworkspage.cpp.
References checkedModules().
|
finaloverride |
Definition at line 246 of file btbookshelfworkspage.cpp.
References BtBookshelfWizardPage::btWizard(), installFinalPage, removeFinalPage, and removeWorks.
|
private |
Definition at line 198 of file btbookshelfworkspage.cpp.
References BT_ASSERT, installWorks, m_groupingButton, m_groupingLabel, m_msgLabel, m_nameFilterLabel, m_pathCombo, m_pathLabel, m_taskType, removeWorks, and updateWorks.
Referenced by BtBookshelfWorksPage().
|
privateslot |
Definition at line 309 of file btbookshelfworkspage.cpp.
References m_bookshelfView, m_installPageModel, and BtBookshelfTreeModel::setGroupingOrder().
Referenced by BtBookshelfWorksPage(), and initializePage().
|
privateslot |
Definition at line 319 of file btbookshelfworkspage.cpp.
References btConfig(), anonymous_namespace{btbookshelfworkspage.cpp}::groupingOrderKey(), m_groupingOrder, and BtBookshelfTreeModel::Grouping::saveTo().
Referenced by BtBookshelfWorksPage().
|
privateslot |
Definition at line 344 of file btbookshelfworkspage.cpp.
References btConfig(), installPathIsUsable(), anonymous_namespace{btbookshelfworkspage.cpp}::installPathKey(), CSwordBackend::instance(), m_pathCombo, m_pathLabel, and BtConfigCore::value().
Referenced by BtBookshelfWorksPage().
|
privateslot |
Definition at line 332 of file btbookshelfworkspage.cpp.
References btConfig(), anonymous_namespace{btbookshelfworkspage.cpp}::installPathKey(), and BtConfigCore::setValue().
Referenced by BtBookshelfWorksPage().
|
private |
Definition at line 81 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), and initializePage().
|
private |
Definition at line 70 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), initializePage(), and slotGroupingActionTriggered().
|
private |
Definition at line 83 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage().
|
private |
Definition at line 69 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), initializePage(), and retranslateUi().
|
private |
Definition at line 73 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), initializePage(), and retranslateUi().
|
private |
Definition at line 84 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage().
|
private |
Definition at line 67 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), initializePage(), and slotGroupingOrderChanged().
|
private |
Definition at line 79 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), checkedModules(), and slotGroupingActionTriggered().
|
private |
Definition at line 85 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage().
|
private |
Definition at line 71 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), initializePage(), and retranslateUi().
|
private |
Definition at line 77 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage().
|
private |
Definition at line 76 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), and retranslateUi().
|
private |
Definition at line 74 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), installPath(), retranslateUi(), and slotInitPathCombo().
|
private |
Definition at line 72 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), retranslateUi(), and slotInitPathCombo().
|
private |
Definition at line 66 of file btbookshelfworkspage.h.
Referenced by BtBookshelfWorksPage(), initializePage(), and retranslateUi().
|
private |
Definition at line 80 of file btbookshelfworkspage.h.
Referenced by initializePage().