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

#include <btbookshelfsourcespage.h>

Inheritance diagram for BtBookshelfSourcesPage:

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)
 
BtBookshelfWizardbtWizard () 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
 

Detailed Description

Definition at line 27 of file btbookshelfsourcespage.h.

Constructor & Destructor Documentation

◆ BtBookshelfSourcesPage()

BtBookshelfSourcesPage::BtBookshelfSourcesPage ( QWidget parent = nullptr)

Definition at line 57 of file btbookshelfsourcespage.cpp.

References BT_CONNECT, m_model, m_sourcesTableView, and m_verticalLayout.

Member Function Documentation

◆ initializePage()

void BtBookshelfSourcesPage::initializePage ( )
finaloverride

◆ isComplete()

bool BtBookshelfSourcesPage::isComplete ( ) const
finaloverride

Definition at line 160 of file btbookshelfsourcespage.cpp.

References m_model.

◆ nextId()

int BtBookshelfSourcesPage::nextId ( ) const
finaloverride

◆ retranslateUi()

void BtBookshelfSourcesPage::retranslateUi ( )
private

Definition at line 74 of file btbookshelfsourcespage.cpp.

Referenced by initializePage().

◆ selectedSources()

QStringList BtBookshelfSourcesPage::selectedSources ( ) const

◆ selectSourcesInModel()

void BtBookshelfSourcesPage::selectSourcesInModel ( QStringList const &  sources)
private

Definition at line 109 of file btbookshelfsourcespage.cpp.

References m_model.

Referenced by initializePage(), and slotButtonClicked().

◆ slotButtonClicked

void BtBookshelfSourcesPage::slotButtonClicked ( int  row)
privateslot

◆ updateSourcesModel()

void BtBookshelfSourcesPage::updateSourcesModel ( )
private

Member Data Documentation

◆ m_firstTimeInit

bool BtBookshelfSourcesPage::m_firstTimeInit = true
private

Definition at line 52 of file btbookshelfsourcespage.h.

Referenced by initializePage().

◆ m_model

QStandardItemModel* BtBookshelfSourcesPage::m_model
private

◆ m_sourcesTableView

QTableView* BtBookshelfSourcesPage::m_sourcesTableView
private

◆ m_verticalLayout

QVBoxLayout* BtBookshelfSourcesPage::m_verticalLayout
private

Definition at line 54 of file btbookshelfsourcespage.h.

Referenced by BtBookshelfSourcesPage().


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