|
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 89 of file btbookshelfworkspage.cpp.
References BT_CONNECT, btConfig(), BtBookshelfTreeModel::CHECKED, BtBookshelfTreeModel::Grouping::DEFAULT, BtBookshelfTreeModel::groupingOrderChanged(), CSwordBackend::instance(), BtBookshelfTreeModel::Grouping::loadFrom(), 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(), BtBookshelfGroupingMenu::setGrouping(), BtBookshelfFilterModel::setNameFilterFixedString(), BtBookshelfTreeModel::setSourceModel(), BtBookshelfGroupingMenu::signalGroupingOrderChanged(), CSwordBackend::sigSwordSetupChanged(), slotGroupingActionTriggered(), slotGroupingOrderChanged(), slotInitPathCombo(), slotPathChanged(), and updateWorks.
| BtModuleSet const & BtBookshelfWorksPage::checkedModules | ( | ) | const |
Definition at line 327 of file btbookshelfworkspage.cpp.
References BtBookshelfTreeModel::checkedModules(), and m_installPageModel.
Referenced by isComplete(), and BtBookshelfWizard::selectedWorks().
|
finaloverride |
Definition at line 254 of file btbookshelfworkspage.cpp.
References BtInstallBackend::backend(), BtBookshelfWizardPage::btWizard(), BtBookshelfTreeModel::Grouping::CAT, BtBookshelfTreeModel::Grouping::CAT_LANG, 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 330 of file btbookshelfworkspage.cpp.
References m_pathCombo.
Referenced by BtBookshelfWizard::installPath().
|
finaloverride |
Definition at line 317 of file btbookshelfworkspage.cpp.
References checkedModules().
|
finaloverride |
Definition at line 248 of file btbookshelfworkspage.cpp.
References BtBookshelfWizardPage::btWizard(), installFinalPage, removeFinalPage, and removeWorks.
|
private |
Definition at line 200 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 310 of file btbookshelfworkspage.cpp.
References BtBookshelfTreeModel::Grouping::list(), m_bookshelfView, m_installPageModel, and BtBookshelfTreeModel::setGroupingOrder().
Referenced by BtBookshelfWorksPage(), and initializePage().
|
privateslot |
Definition at line 320 of file btbookshelfworkspage.cpp.
References btConfig(), m_groupingOrder, and BtBookshelfTreeModel::Grouping::saveTo().
Referenced by BtBookshelfWorksPage().
|
privateslot |
Definition at line 345 of file btbookshelfworkspage.cpp.
References btConfig(), installPathIsUsable(), CSwordBackend::instance(), m_pathCombo, m_pathLabel, CSwordBackend::swordDirList(), and BtConfigCore::value().
Referenced by BtBookshelfWorksPage().
|
privateslot |
Definition at line 333 of file btbookshelfworkspage.cpp.
References btConfig(), 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().