BibleTime
bttextfilterstab.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-2021 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 
15 #include <QWidget>
16 
17 #include <QObject>
18 #include <QString>
19 
20 
21 class CSwordSettingsPage;
22 class QCheckBox;
23 class QLabel;
24 
25 
26 class BtTextFiltersTab: public QWidget {
27 
28  Q_OBJECT
29 
30  public: // methods:
31 
33 
34  void save();
35 
36  protected: // methods:
37 
38  void retranslateUi();
39 
40  private: // fields:
41 
43 
44 #define TEXT_FILTERS_TAB_FIELD(name) QCheckBox * m_ ## name ## Check
45 
46  TEXT_FILTERS_TAB_FIELD(verseNumbers);
48  TEXT_FILTERS_TAB_FIELD(hebrewPoints);
49  TEXT_FILTERS_TAB_FIELD(hebrewCantillation);
50  TEXT_FILTERS_TAB_FIELD(morphSegmentation);
51  TEXT_FILTERS_TAB_FIELD(greekAccents);
52  TEXT_FILTERS_TAB_FIELD(textualVariants);
53  TEXT_FILTERS_TAB_FIELD(scriptureReferences);
54 
55 };
TEXT_FILTERS_TAB_FIELD(scriptureReferences)
TEXT_FILTERS_TAB_FIELD(morphSegmentation)
TEXT_FILTERS_TAB_FIELD(hebrewCantillation)
TEXT_FILTERS_TAB_FIELD(hebrewPoints)
TEXT_FILTERS_TAB_FIELD(verseNumbers)
TEXT_FILTERS_TAB_FIELD(greekAccents)
TEXT_FILTERS_TAB_FIELD(textualVariants)
BtTextFiltersTab(CSwordSettingsPage *parent)
QLabel * m_explanationLabel
TEXT_FILTERS_TAB_FIELD(headings)