From 7e377c7f18ec594d7a527c5d18813465da1c8ac8 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Thu, 14 Mar 2024 20:08:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=9F=E4=BA=A7=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E7=94=9F=E6=88=90=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=EF=BC=8C=E7=AE=80=E5=8C=96=E7=95=8C=E9=9D=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.qm | Bin 4598 -> 4548 bytes app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.ts | 2 +- app/HGPdtJsonTool/mainwindow.cpp | 11 --- app/HGPdtJsonTool/mainwindow.ui | 91 +++-------------------- 4 files changed, 12 insertions(+), 92 deletions(-) diff --git a/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.qm b/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.qm index 7923865bdf2e07efd595cf9b44ade830edff78b2..1e643d9232327acdac313f17ba2ee6d6fee9c5de 100644 GIT binary patch delta 44 zcmV+{0Mq~WBg7++6ah$)6+ZzxkyYT6JpsP~5R?4@Yyo1kY65Wr0h+Vi1fvX-sS!tk delta 95 zcmX@2{7rd+2xGuRQG3SJiJ=cTSoiGUVPN1Fm~6_ppV4aaSH>L1p3O;2g-pEjI2eF{ q4TzcivnO9 Ok - 确实 + 确定 diff --git a/app/HGPdtJsonTool/mainwindow.cpp b/app/HGPdtJsonTool/mainwindow.cpp index 84db083..c735d4e 100644 --- a/app/HGPdtJsonTool/mainwindow.cpp +++ b/app/HGPdtJsonTool/mainwindow.cpp @@ -43,16 +43,8 @@ void MainWindow::initDeviceInfo() QStringList sleepTime{ tr("Not dormant"), tr("5 min"), tr("10 min"), tr("20 min"), tr("30 min"), tr("1 hour"), tr("2 hours"), tr("4 hours") }; ui->comboBox_sleepTime->addItems(sleepTime); - ui->comboBox_lockDevice->addItem(tr("Not locked")); ui->comboBox_lockDevice->addItem(tr("Lock")); - - QStringList testStation{ tr("Burn"), tr("Initial inspection"), tr("Image inspection") }; - ui->comboBox_testStation->addItems(testStation); - - QStringList testType{ tr("automatic testing"), tr("Manual testing") }; - ui->comboBox_testType->addItems(testType); - ui->lineEdit_vid->setReadOnly(true); ui->lineEdit_pid->setReadOnly(true); } @@ -391,9 +383,6 @@ void MainWindow::on_tableWidget_itemClicked(QTableWidgetItem *item) ui->tableWidget->selectRow(row); } - ui->lineEdit_testItem->setText(ui->tableWidget->item(row, 2)->text()); - ui->comboBox_testStation->setCurrentText(ui->tableWidget->item(row, 3)->text()); - ui->comboBox_testType->setCurrentText(ui->tableWidget->item(row, 4)->text()); ui->textBrowser_testContent->setText(ui->tableWidget->item(row, 5)->text()); } diff --git a/app/HGPdtJsonTool/mainwindow.ui b/app/HGPdtJsonTool/mainwindow.ui index 21fdee5..0926f6a 100644 --- a/app/HGPdtJsonTool/mainwindow.ui +++ b/app/HGPdtJsonTool/mainwindow.ui @@ -6,8 +6,8 @@ 0 0 - 1010 - 787 + 1008 + 753 @@ -110,7 +110,7 @@ 430 - 690 + 640 131 51 @@ -257,81 +257,12 @@ Lock device: - - - - 40 - 260 - 71 - 16 - - - - Test item: - - - - - - 130 - 260 - 161 - 20 - - - - - - - 350 - 260 - 81 - 21 - - - - Test station: - - - - - - 440 - 260 - 161 - 22 - - - - - - - 660 - 260 - 71 - 21 - - - - Test type: - - - - - - 740 - 260 - 161 - 22 - - - 20 - 320 - 611 + 280 + 621 291 @@ -362,8 +293,8 @@ - 10 - 220 + 20 + 230 971 16 @@ -376,7 +307,7 @@ 20 - 630 + 590 77 16 @@ -388,8 +319,8 @@ - 640 - 320 + 650 + 280 341 291 @@ -401,7 +332,7 @@ 0 0 - 1010 + 1008 22