hlp:更新翻译、喷嘴到底后等至少3秒检查相检、状态机统一打印和回收槽状态、修复数字键盘输入bug

This commit is contained in:
kite_lucs
2026-09-18 15:20:13 +08:00
35 changed files with 3840 additions and 3113 deletions
+6 -7
View File
@@ -568,15 +568,14 @@ fi\n" ;
void SystemManage::on_pushButtonUpdateSoftware_pressed()
{
if(sysPara->status.updateSoftEN==0){
QWidget *p = dialogUpateMm->parentWidget();
if (p) {
QPoint topLeft = p->mapToGlobal(QPoint(0, 0));
int x = topLeft.x() + (p->width() - dialogUpateMm->width()) / 2;
int y = topLeft.y() + (p->height() - dialogUpateMm->height()) / 2 - 100;
dialogUpateMm->move(x, y);
}
dialogUpateMm->clearAuth();
dialogUpateMm->show();
QPoint topLeft = this->mapToGlobal(QPoint(0, 0));
int x = topLeft.x() + (this->width() - dialogUpateMm->width()) / 2;
int y = topLeft.y() + (this->height() - dialogUpateMm->height()) / 2 - 200;
dialogUpateMm->move(x, y);
}
else ondialogAuthorizationAccepted();
}