BibleTime
btstandardworkstab.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
15#include <QWidget>
16
17#include <QObject>
18#include <QString>
19
20
22class QComboBox;
23class QLabel;
24
26
27 Q_OBJECT
28
29 public: // methods:
30
32
33 void save();
34
35 protected: // methods:
36
37 void retranslateUi();
38
39 private: // fields:
40
42
43#define STANDARD_WORKS_TAB_FIELD(name) \
44 QLabel * m_ ## name ## Label; \
45 QComboBox * m_ ## name ## Combo
46
48 STANDARD_WORKS_TAB_FIELD(standardCommentary);
49 STANDARD_WORKS_TAB_FIELD(standardLexicon);
50 STANDARD_WORKS_TAB_FIELD(standardDailyDevotional);
51 STANDARD_WORKS_TAB_FIELD(standardHebrewStrongsLexicon);
52 STANDARD_WORKS_TAB_FIELD(standardGreekStrongsLexicon);
53 STANDARD_WORKS_TAB_FIELD(standardHebrewMorphLexicon);
54 STANDARD_WORKS_TAB_FIELD(standardGreekMorphLexicon);
55#undef STANDARD_WORKS_TAB_FIELD
56};
STANDARD_WORKS_TAB_FIELD(standardGreekMorphLexicon)
STANDARD_WORKS_TAB_FIELD(standardDailyDevotional)
STANDARD_WORKS_TAB_FIELD(standardHebrewMorphLexicon)
STANDARD_WORKS_TAB_FIELD(standardCommentary)
STANDARD_WORKS_TAB_FIELD(standardBible)
STANDARD_WORKS_TAB_FIELD(standardGreekStrongsLexicon)
STANDARD_WORKS_TAB_FIELD(standardHebrewStrongsLexicon)
STANDARD_WORKS_TAB_FIELD(standardLexicon)