last week
This commit is contained in:
+9
-6
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user