From cd815c2de32062ce604a7471804ce8877b6085a2 Mon Sep 17 00:00:00 2001 From: "DESKTOP-7I8SUIC\\zhang" Date: Mon, 17 Nov 2025 18:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=9F=E6=88=90IDC?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.cpp | 24 ++++++++++++++++++++++++ mainwindow.h | 2 ++ mainwindow.ui | 29 +++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 5e2b78e..35980ea 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -749,6 +749,8 @@ void MainWindow::slotNetMgr(QString sAddr, const QVariant &msg) { QJsonValue arrays_value = objec.take("cmd"); qDebug()<<"cmd ="<PostJson(req,sendData); + connect(g_NetMgr,SIGNAL(sigNetMgr(QString, const QVariant&)), this, SLOT(slotNetMgr(QString,const QVariant&))); + +} + diff --git a/mainwindow.h b/mainwindow.h index f8d4c06..4e7bbb5 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -65,6 +65,8 @@ private slots: void on_pushButton_detail_clicked(); void slotNetMgr(QString sAddr,const QVariant& msg); + void on_pushButton_generate_clicked(); + private: Ui::MainWindow *ui; QList btnsConfig; diff --git a/mainwindow.ui b/mainwindow.ui index c6425e6..47ef266 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -1788,6 +1788,35 @@ background-image: url(:/image/bj.jpg); + + + + + 96 + 28 + + + + + 96 + 28 + + + + #pushButton_generate { border-image: url(:/image/Btn/normal_Btn.png); + color:#1f5188 } +#pushButton_generate:hover { border-image: url(:/image/Btn/normal_Btn_p.png); + color:#ffffff} +#pushButton_generate:pressed { border-image: url(:/image/Btn/normal_Btn_p.png); + color:#ffffff} +#pushButton_generate:checked { border-image: url(:/image/Btn/normal_Btn_p.png); + color:#ffffff} + + + 生成ICD文件 + + +