BibleTime
|
#include <btbookshelfsourcespage.h>
Public Member Functions | |
BtBookshelfSourcesPage (QWidget *parent=nullptr) | |
void | initializePage () final override |
bool | isComplete () const final override |
int | nextId () const final override |
QStringList | selectedSources () const |
Public Member Functions inherited from BtBookshelfWizardPage | |
BtBookshelfWizardPage (QWidget *parent=nullptr) | |
BtBookshelfWizard & | btWizard () const noexcept |
Private Slots | |
void | slotButtonClicked (int row) |
Private Member Functions | |
void | retranslateUi () |
void | selectSourcesInModel (QStringList const &sources) |
void | updateSourcesModel () |
Private Attributes | |
bool | m_firstTimeInit = true |
QStandardItemModel * | m_model |
QTableView * | m_sourcesTableView |
QVBoxLayout * | m_verticalLayout |
Definition at line 27 of file btbookshelfsourcespage.h.
BtBookshelfSourcesPage::BtBookshelfSourcesPage | ( | QWidget * | parent = nullptr | ) |
Definition at line 57 of file btbookshelfsourcespage.cpp.
References BT_CONNECT, m_model, m_sourcesTableView, and m_verticalLayout.
|
finaloverride |
Definition at line 90 of file btbookshelfsourcespage.cpp.
References btConfig(), anonymous_namespace{btbookshelfsourcespage.cpp}::initialSelection, m_firstTimeInit, retranslateUi(), selectedSources(), selectSourcesInModel(), anonymous_namespace{btbookshelfsourcespage.cpp}::SourcesKey, updateSourcesModel(), and BtConfigCore::value().
|
finaloverride |
Definition at line 160 of file btbookshelfsourcespage.cpp.
References m_model.
|
finaloverride |
Definition at line 82 of file btbookshelfsourcespage.cpp.
References BtBookshelfWizardPage::btWizard(), installWorksPage, BtBookshelfWizard::languagesPage(), and languagesPage.
|
private |
Definition at line 74 of file btbookshelfsourcespage.cpp.
Referenced by initializePage().
QStringList BtBookshelfSourcesPage::selectedSources | ( | ) | const |
Definition at line 167 of file btbookshelfsourcespage.cpp.
References m_model.
Referenced by initializePage(), BtBookshelfWizard::selectedSources(), and slotButtonClicked().
|
private |
Definition at line 109 of file btbookshelfsourcespage.cpp.
References m_model.
Referenced by initializePage(), and slotButtonClicked().
|
privateslot |
Definition at line 177 of file btbookshelfsourcespage.cpp.
References BtInstallBackend::addSource(), anonymous_namespace{btbookshelfsourcespage.cpp}::buttonPropertyName, anonymous_namespace{btbookshelfsourcespage.cpp}::ButtonTagRemove, BtInstallBackend::deleteSource(), CSwordSetupInstallSourcesDialog::getSource(), m_model, m_sourcesTableView, selectedSources(), selectSourcesInModel(), updateSourcesModel(), and CSwordSetupInstallSourcesDialog::wasRemoteListAdded().
Referenced by updateSourcesModel().
|
private |
Definition at line 117 of file btbookshelfsourcespage.cpp.
References BT_CONNECT, anonymous_namespace{btbookshelfsourcespage.cpp}::buttonPropertyName, anonymous_namespace{btbookshelfsourcespage.cpp}::ButtonTagAdd, anonymous_namespace{btbookshelfsourcespage.cpp}::ButtonTagRemove, m_model, m_sourcesTableView, slotButtonClicked(), BtInstallBackend::source(), and BtInstallBackend::sourceNameList().
Referenced by initializePage(), and slotButtonClicked().
|
private |
Definition at line 52 of file btbookshelfsourcespage.h.
Referenced by initializePage().
|
private |
Definition at line 55 of file btbookshelfsourcespage.h.
Referenced by BtBookshelfSourcesPage(), isComplete(), selectedSources(), selectSourcesInModel(), slotButtonClicked(), and updateSourcesModel().
|
private |
Definition at line 53 of file btbookshelfsourcespage.h.
Referenced by BtBookshelfSourcesPage(), slotButtonClicked(), and updateSourcesModel().
|
private |
Definition at line 54 of file btbookshelfsourcespage.h.
Referenced by BtBookshelfSourcesPage().