#include "aboutwindow.h" #include "ui_aboutwindow.h" #include AboutWindow::AboutWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::AboutWindow) { ui->setupUi(this); QString info = ""; info += "
";
    info += tr("A kernel manager allows users to install or remove kernels easily.") + "\n\n";
    info += "" + tr("Warning: You may damage your system unless you know what you will do!") + "\n";
    info += "
"; info += "
"; info += "

" + tr("Website") + "

"; info += "

Gitee: https://gitee.com/GXDE-OS/gxde-kernel-manager

"; info += "

Github: https://github.com/GXDE-OS/gxde-kernel-manager

"; info += "
\n"; info += "

©2023~" + QDateTime::currentDateTime().toString("yyyy") + " gfdgd xi

\n"; ui->textBrowser->setHtml(info); } AboutWindow::~AboutWindow() { delete ui; } void AboutWindow::on_m_closeButton_clicked() { this->close(); }