/********* * * In the name of the Father, and of the Son, and of the Holy Spirit. * * This file is part of BibleTime's source code, http://www.bibletime.info/. * * Copyright 1999-2016 by the BibleTime developers. * The BibleTime source code is licensed under the GNU General Public License version 2.0. * **********/ #ifndef BTABOUTDIALOG_H #define BTABOUTDIALOG_H #include class QDialogButtonBox; class QLabel; class QTabWidget; class QUrl; class BtWebEngineView; class BtAboutDialog: public QDialog { Q_OBJECT public: BtAboutDialog(QWidget *parent = nullptr, Qt::WindowFlags wflags = Qt::Dialog); protected: void resizeEvent(QResizeEvent* event) override; private: void initTab(BtWebEngineView *&tab); void retranslateUi(); void retranslateBtTab(); void retranslateContributorsTab(); void retranslateSwordTab(); void retranslateQtTab(); void retranslateLicenceTab(); private slots: void linkClicked(const QUrl &url); private: QTabWidget *m_tabWidget; BtWebEngineView *m_bibletimeTab; BtWebEngineView *m_contributorsTab; BtWebEngineView *m_swordTab; BtWebEngineView *m_qtTab; BtWebEngineView *m_licenceTab; QDialogButtonBox *m_buttonBox; QLabel *m_iconLabel; QLabel *m_versionLabel; }; #endif