summaryrefslogtreecommitdiff
path: root/src/frontend/settingsdialogs/cswordsettings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/settingsdialogs/cswordsettings.h')
-rw-r--r--src/frontend/settingsdialogs/cswordsettings.h85
1 files changed, 83 insertions, 2 deletions
diff --git a/src/frontend/settingsdialogs/cswordsettings.h b/src/frontend/settingsdialogs/cswordsettings.h
index 01f5829..c54630d 100644
--- a/src/frontend/settingsdialogs/cswordsettings.h
+++ b/src/frontend/settingsdialogs/cswordsettings.h
@@ -15,8 +15,89 @@
class CConfigurationDialog;
-class StandardWorksTab;
-class TextFiltersTab;
+class CSwordSettingsPage;
+class QCheckBox;
+class QComboBox;
+class QLabel;
+
+
+/*******************************************************************************
+ StandardWorksTab
+*******************************************************************************/
+
+class StandardWorksTab: public QWidget {
+
+ Q_OBJECT
+
+ public: /* Methods: */
+
+ StandardWorksTab(CSwordSettingsPage *parent);
+
+ void save();
+
+ protected: /* Methods: */
+
+ void retranslateUi();
+
+ private: /* Fields: */
+
+ QLabel *m_explanationLabel;
+
+#define STANDARD_WORKS_TAB_FIELD(name) \
+ QLabel *m_ ## name ## Label; \
+ QComboBox *m_ ## name ## Combo
+
+ STANDARD_WORKS_TAB_FIELD(standardBible);
+ STANDARD_WORKS_TAB_FIELD(standardCommentary);
+ STANDARD_WORKS_TAB_FIELD(standardLexicon);
+ STANDARD_WORKS_TAB_FIELD(standardDailyDevotional);
+ STANDARD_WORKS_TAB_FIELD(standardHebrewStrongsLexicon);
+ STANDARD_WORKS_TAB_FIELD(standardGreekStrongsLexicon);
+ STANDARD_WORKS_TAB_FIELD(standardHebrewMorphLexicon);
+ STANDARD_WORKS_TAB_FIELD(standardGreekMorphLexicon);
+};
+
+
+/*******************************************************************************
+ TextFiltersTab
+*******************************************************************************/
+
+class TextFiltersTab: public QWidget {
+
+ Q_OBJECT
+
+ public: /* Methods: */
+
+ TextFiltersTab(CSwordSettingsPage *parent);
+
+ void save();
+
+ protected: /* Methods: */
+
+ void retranslateUi();
+
+ private: /* Fields: */
+
+ QLabel *m_explanationLabel;
+
+#define TEXT_FILTERS_TAB_FIELD(name) QCheckBox *m_ ## name ## Check
+
+ TEXT_FILTERS_TAB_FIELD(lineBreaks);
+ TEXT_FILTERS_TAB_FIELD(verseNumbers);
+ TEXT_FILTERS_TAB_FIELD(headings);
+ TEXT_FILTERS_TAB_FIELD(hebrewPoints);
+ TEXT_FILTERS_TAB_FIELD(hebrewCantillation);
+ TEXT_FILTERS_TAB_FIELD(morphSegmentation);
+ TEXT_FILTERS_TAB_FIELD(greekAccents);
+ TEXT_FILTERS_TAB_FIELD(textualVariants);
+ TEXT_FILTERS_TAB_FIELD(scriptureReferences);
+
+};
+
+
+/*******************************************************************************
+ CSwordSettingsPage
+*******************************************************************************/
class CSwordSettingsPage: public BtConfigDialog::Page {