2020-09-28 20:10:33 +08:00
|
|
|
#ifndef ABOUTDIALOG_H
|
|
|
|
#define ABOUTDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QTextBrowser;
|
|
|
|
class QTabWidget;
|
|
|
|
class QDialogButtonBox;
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
class AboutDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit AboutDialog(QWidget *parent = nullptr);
|
2020-10-08 22:24:54 +08:00
|
|
|
~AboutDialog() override;
|
|
|
|
|
|
|
|
QSize sizeHint() const override;
|
2020-09-28 20:10:33 +08:00
|
|
|
|
|
|
|
private:
|
|
|
|
QTabWidget * m_tabWidget = nullptr;
|
|
|
|
QDialogButtonBox * m_buttonBox = nullptr;
|
|
|
|
|
|
|
|
QTextBrowser * m_helpTextEdit = nullptr;
|
|
|
|
QTextBrowser * m_aboutTextEdit = nullptr;
|
2020-10-05 20:43:30 +08:00
|
|
|
QTextBrowser * m_specialThanksTextEdit = nullptr;
|
2020-09-28 20:10:33 +08:00
|
|
|
QTextBrowser * m_licenseTextEdit = nullptr;
|
2020-10-05 20:43:30 +08:00
|
|
|
QTextBrowser * m_3rdPartyLibsTextEdit = nullptr;
|
2020-09-28 20:10:33 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ABOUTDIALOG_H
|