last week

This commit is contained in:
2026-06-15 09:57:51 +08:00
parent a9341db9c8
commit be39714c5e
16 changed files with 423 additions and 181 deletions
+9 -6
View File
@@ -4,6 +4,7 @@
#include "Public.h"
#include "InputMethod.h"
#include <QMessageBox>
#include <QDebug>
SystemUpdate::SystemUpdate(QWidget *parent) :
QWidget(parent),
@@ -49,15 +50,15 @@ void SystemUpdate::applyStyleSheet()
background-color: #BAE7FF;
}
QPushButton {
QPushButton {
background-color: #5396C1;
color: #ffffff;
border: 1px solid #000000;
border-radius: 3px;
font-size: 18px;
font-weight:500;
width: 180px;
height: 90px;
width: 90px;
height: 45px;
}
QPushButton:hover {
@@ -99,9 +100,11 @@ void SystemUpdate::on_pushButtonUpdateCharLib_clicked()
void SystemUpdate::on_pushButtonFontToUdisk_clicked()
{
QMessageBox::StandardButton ret;
ret = QMessageBox::information(this, tr("警告"),
tr("是否确认导出字库到U盘?"),
QMessageBox::Ok | QMessageBox::Cancel);
QMessageBox box(QMessageBox::Information, tr("警告"), tr("是否确认导出字库到U盘?"), QMessageBox::Ok | QMessageBox::Cancel, this);
box.setStyleSheet("");
box.exec();
ret = box.result();
if (ret == QMessageBox::Ok)
{
QFile file("/udisk");