BibleTime
btaboutdialog.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 <QDialog>
16 
17 #include <QObject>
18 #include <QString>
19 #include <Qt>
20 
21 
22 class QDialogButtonBox;
23 class QLabel;
24 class QResizeEvent;
25 class QTabWidget;
26 class QTextBrowser;
27 class QWidget;
28 
29 class BtAboutDialog: public QDialog {
30  Q_OBJECT
31  class LicenseTab;
32  public:
33  BtAboutDialog(QWidget *parent = nullptr, Qt::WindowFlags wflags = Qt::Dialog);
34 
35  protected:
36  void resizeEvent(QResizeEvent* event) override;
37 
38  private:
39 
40  void retranslateUi();
41  void retranslateBtTab();
43  void retranslateSwordTab();
44  void retranslateQtTab();
45  void retranslateLicenceTab();
46 
47  private:
48  QTabWidget *m_tabWidget;
53  LicenseTab * m_licenseTab = nullptr;
54  QDialogButtonBox *m_buttonBox;
55  QLabel *m_iconLabel;
56  QLabel *m_versionLabel;
57 };
QLabel * m_versionLabel
Definition: btaboutdialog.h:56
BtAboutDialog(QWidget *parent=nullptr, Qt::WindowFlags wflags=Qt::Dialog)
QTextBrowser * m_bibletimeTab
Definition: btaboutdialog.h:49
QTextBrowser * m_qtTab
Definition: btaboutdialog.h:52
QTextBrowser * m_swordTab
Definition: btaboutdialog.h:51
QTabWidget * m_tabWidget
Definition: btaboutdialog.h:48
QDialogButtonBox * m_buttonBox
Definition: btaboutdialog.h:54
void retranslateBtTab()
QLabel * m_iconLabel
Definition: btaboutdialog.h:55
void retranslateQtTab()
void retranslateSwordTab()
void retranslateLicenceTab()
void retranslateContributorsTab()
void resizeEvent(QResizeEvent *event) override
QTextBrowser * m_contributorsTab
Definition: btaboutdialog.h:50
LicenseTab * m_licenseTab
Definition: btaboutdialog.h:53