From b954a9f96d8e0987d2ddd3c5450614bb4b35bb93 Mon Sep 17 00:00:00 2001 From: sunwen Date: Wed, 23 Jul 2025 13:42:04 +0800 Subject: [PATCH] fix: Fix dialog message when empty scan data corruption on the server. --- src/translations/zh_CN.ts | 41 +++++++++++++++++++------------------- src/windows/MainWindow.cpp | 4 ++++ 2 files changed, 25 insertions(+), 20 deletions(-) diff --git a/src/translations/zh_CN.ts b/src/translations/zh_CN.ts index 2498064..d2965e6 100644 --- a/src/translations/zh_CN.ts +++ b/src/translations/zh_CN.ts @@ -473,7 +473,7 @@ - + DMS connection error DMS失去连接 @@ -604,22 +604,22 @@ After lying down, click the confirm buttonto start scanning on the next side.注水启动失败 - + Recon error, can't start scan process 重建软件错误,无法开始检查流程 - + Start auto locate failed 自动化定位启动失败 - + The data quality is low, please restart the data scan. 扫查数据质量较低,请重新开始检查流程 - + Device reset failed, please contact maintenance person 设备复位失败,请联系维修人员 @@ -965,11 +965,12 @@ After lying down, click the confirm buttonto start scanning on the next side. + Auto Drainage 自动排水 - + Please confirm whether to reset the filter usage? 请确认是否重置滤芯用量? @@ -994,17 +995,17 @@ After lying down, click the confirm buttonto start scanning on the next side.中文 - + Used: %1G 使用: %1G - + Total: %1G 总量: %1G - + Get disk used size fail! 磁盘使用空间获取失败! @@ -1015,7 +1016,7 @@ After lying down, click the confirm buttonto start scanning on the next side.默认检查协议 - + Get disk total size fail! 磁盘总空间获取失败! @@ -1600,20 +1601,20 @@ After lying down, click the confirm buttonto start scanning on the next side. - - + + Select 选择 - - + + Scan 扫描 - - + + Recon 重建 @@ -1631,14 +1632,14 @@ After lying down, click the confirm buttonto start scanning on the next side.距离下次空水扫查还有%1天,请用户及时进行空水扫查。 - + Shut down failed, please push emergency button to shutdown. 关机失败,请按紧急按钮进行关机。 Due to empty scan data corruption on the server, needs to be execute the empty scan. No other operations can be conducted until the scan is complete. - 服务器端空水数据损坏,需要进行空水扫查,空水扫查结束前无法进行其他操作。 + 服务器端空水数据损坏,需要进行空水扫查,空水扫查结束前无法进行病人扫查操作。 Empty Scan @@ -1653,8 +1654,8 @@ After lying down, click the confirm buttonto start scanning on the next side.管理 - - + + Settings 设置 diff --git a/src/windows/MainWindow.cpp b/src/windows/MainWindow.cpp index a897a29..53dbdb7 100644 --- a/src/windows/MainWindow.cpp +++ b/src/windows/MainWindow.cpp @@ -61,6 +61,10 @@ MainWindow::MainWindow(QWidget* aParent) { mTopbarWidget->setVisible(true); mInitializWidget->setVisible(false); + update(); + mTopbarWidget->update(); + mInitializWidget->update(); + QGuiApplication::processEvents(); }); connect(EventCenter::Default(), &EventCenter::UserVerificationSuccess, this, [this]()