~ubuntu-branches/ubuntu/trusty/bibletime/trusty

« back to all changes in this revision

Viewing changes to src/frontend/settingsdialogs/cswordsettings.h

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs, Jonathan Marsden, Dmitrijs Ledkovs
  • Date: 2012-04-14 18:11:50 UTC
  • mfrom: (1.3.7)
  • Revision ID: package-import@ubuntu.com-20120414181150-17l2liq7bl7oaxjz
Tags: 2.9.1-1
[ Jonathan Marsden ]
* New upstream version 2.9.1
* debian/patches/*: Remove all patches (incorporated upstream)
* debian/control: bibletime now depends on a matching version of
  bibletime-data.

[ Dmitrijs Ledkovs ]
* Add more strict alternative build-dependency on the libqt4-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#include <QWidget>
15
15
 
16
16
 
17
 
class QCheckBox;
18
 
class QComboBox;
 
17
class CConfigurationDialog;
19
18
class StandardWorksTab;
20
19
class TextFiltersTab;
21
20
 
22
 
class CSwordSettingsPage : public BtConfigPage {
23
 
        Q_OBJECT
24
 
    public:
25
 
        CSwordSettingsPage(QWidget *parent = 0);
26
 
 
27
 
        void save();
28
 
 
29
 
        /** Reimplemented from BtConfigPage. */
30
 
        virtual const QIcon &icon() const;
31
 
 
32
 
        /** Reimplemented from BtConfigPage. */
33
 
        virtual QString header() const;
34
 
 
35
 
    private:
36
 
        StandardWorksTab* m_worksTab;
37
 
        TextFiltersTab* m_filtersTab;
38
 
};
39
 
 
40
 
//Tab pages. To be used only in Sword settings page.
41
 
 
42
 
class StandardWorksTab: public QWidget {
43
 
        Q_OBJECT
44
 
    public:
45
 
        StandardWorksTab();
46
 
        void save();
47
 
 
48
 
    private:
49
 
        QComboBox* m_standardBibleCombo;
50
 
        QComboBox* m_standardCommentaryCombo;
51
 
        QComboBox* m_standardLexiconCombo;
52
 
        QComboBox* m_standardDailyDevotionalCombo;
53
 
        QComboBox* m_standardHebrewStrongCombo;
54
 
        QComboBox* m_standardGreekStrongCombo;
55
 
        QComboBox* m_standardHebrewMorphCombo;
56
 
        QComboBox* m_standardGreekMorphCombo;
57
 
};
58
 
 
59
 
class TextFiltersTab : public QWidget {
60
 
        Q_OBJECT
61
 
    public:
62
 
        TextFiltersTab();
63
 
        void save();
64
 
 
65
 
    private:
66
 
        QCheckBox* m_lineBreaksCheck;
67
 
        QCheckBox* m_verseNumbersCheck;
68
 
        QCheckBox* m_headingsCheck;
69
 
        QCheckBox* m_hebrewPointsCheck;
70
 
        QCheckBox* m_hebrewCantillationCheck;
71
 
        QCheckBox* m_morphSegmentationCheck;
72
 
        QCheckBox* m_greekAccentsCheck;
73
 
        QCheckBox* m_textualVariantsCheck;
74
 
        QCheckBox* m_scriptureReferencesCheck;
 
21
class CSwordSettingsPage: public BtConfigDialog::Page {
 
22
 
 
23
        Q_OBJECT
 
24
 
 
25
    public: /* Methods: */
 
26
 
 
27
        CSwordSettingsPage(CConfigurationDialog *parent = 0);
 
28
 
 
29
        void save();
 
30
 
 
31
    protected: /* Methods: */
 
32
 
 
33
        void retranslateUi();
 
34
 
 
35
    private: /* Fields: */
 
36
 
 
37
        QTabWidget *m_tabWidget;
 
38
        StandardWorksTab *m_worksTab;
 
39
        TextFiltersTab *m_filtersTab;
 
40
 
75
41
};
76
42
 
77
43
#endif