BibleTime
btbookshelflanguagespage.h
Go to the documentation of this file.
1/*********
2*
3* In the name of the Father, and of the Son, and of the Holy Spirit.
4*
5* This file is part of BibleTime's source code, https://bibletime.info/
6*
7* Copyright 1999-2025 by the BibleTime developers.
8* The BibleTime source code is licensed under the GNU General Public License
9* version 2.0.
10*
11**********/
12
13#pragma once
14
16
17#include <QObject>
18#include <QString>
19#include <QStringList>
20
21
22class QListView;
23class QStandardItemModel;
24class QVBoxLayout;
25class QWidget;
26
28
29 Q_OBJECT
30
31public: // methods:
32
33 BtBookshelfLanguagesPage(QWidget * parent = nullptr);
34
36 void initializePage() final override;
37 bool isComplete() const final override;
38 int nextId() const final override;
39 QStringList selectedLanguages() const;
40 bool skipPage() const noexcept;
41
42private Q_SLOTS:
43
44 void slotDataChanged();
45
46private: // methods:
47
48 void retranslateUi();
49
50private: // fields:
51
52 bool m_firstTimeInit = true;
54 QVBoxLayout * m_verticalLayout;
55 QStandardItemModel * m_model;
56
57}; /* class BtBookshelfLanguagesPage */
int nextId() const final override
bool isComplete() const final override