From ca7bdc2ae546978e8cba79b36a4d367a9abbdecf Mon Sep 17 00:00:00 2001 From: jiayulong Date: Wed, 24 Jun 2026 15:59:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=81=E5=A4=B4=E5=88=87=E6=8D=A2=E5=90=8E?= =?UTF-8?q?=E5=B1=85=E4=B8=AD=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logPlus/mainwindowcurve.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/logPlus/mainwindowcurve.cpp b/logPlus/mainwindowcurve.cpp index b1561b1..2f111c2 100644 --- a/logPlus/mainwindowcurve.cpp +++ b/logPlus/mainwindowcurve.cpp @@ -5242,7 +5242,9 @@ void MainWindowCurve::s_showHeadTable() ui->verticalScrollBar->setRange(-m_iY2*100, -m_iY1*100 - iScreenHeight + iHScrollBarHeight); ui->verticalScrollBar->setValue(-m_iY2*100); - //QMessageBox::information(NULL,"提示","锁头完成!",QMessageBox::Ok); + QMessageBox::information(NULL,"提示","锁头完成!",QMessageBox::Ok); + //居中 + emit sig_resizeWindow(); } else { //第一次显示,判断是否从json加载 @@ -5313,14 +5315,13 @@ void MainWindowCurve::s_showHeadTable() ui->verticalScrollBar->setRange(-m_iY2*100, -m_iY1*100 - iScreenHeight + iHScrollBarHeight); ui->verticalScrollBar->setValue(-m_iY2*100); - //QMessageBox::information(NULL,"提示","锁头取消!",QMessageBox::Ok); - - + //QMessageBox::information(NULL,"提示","锁头取消!",QMessageBox::Ok); } double topDep = getVisibleTopDepth(); m_dBottomDepth = this->getVisibleBottomDepth(); emit CallManage::getInstance()->sig_ResizeDepth(m_strUuid, m_nObjDrawH, topDep, m_dBottomDepth); + } QJsonObject MainWindowCurve::makeJson()