界面调整

This commit is contained in:
2024-05-12 09:45:52 +08:00
parent 20130363fb
commit 6661048433
11 changed files with 97 additions and 7 deletions

View File

@@ -1,19 +1,27 @@
#include "aboutwindow.h"
#include "ui_aboutwindow.h"
#include "programinfo.h"
#include <QDateTime>
#include <QProcessEnvironment>
#include <QFile>
AboutWindow::AboutWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::AboutWindow)
{
ui->setupUi(this);
QString info = "";
info += "<pre>";
info += tr("A kernel manager allows users to install or remove kernels easily.") + "\n\n";
info += "<b>" + tr("Warning: You may damage your system unless you know what you will do!") + "</b>\n";
info += "Built Time: " + QString(__DATE__) + " " + __TIME__;
info += "</pre>";
info += "<hr/>";
info += ProgramInfo::updateInfo();
info += "<hr/>";
info += "<h3>" + tr("Website") + "</h3>";
info += "<p>Gitee: <a href='https://gitee.com/GXDE-OS/gxde-kernel-manager'>https://gitee.com/GXDE-OS/gxde-kernel-manager</a></p>";
info += "<p>Github: <a href='https://github.com/GXDE-OS/gxde-kernel-manager'>https://github.com/GXDE-OS/gxde-kernel-manager</a></p>";