From 9f382743fbe922f7e2ea45f31a065e6c3dc37b6d Mon Sep 17 00:00:00 2001 From: "DESKTOP-450PEFP\\mainc" Date: Mon, 9 Feb 2026 16:12:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E6=B7=BB=E5=8A=A0=E6=B3=A2=E5=88=97?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=20=E8=AE=BE=E7=BD=AE=E6=B7=B1=E5=BA=A6?= =?UTF-8?q?=E5=90=8E=E6=98=BE=E7=A4=BA=E5=8F=98=E5=AF=86=E5=BA=A6=EF=BC=88?= =?UTF-8?q?=E6=88=90=E5=83=8F=EF=BC=89=EF=BC=8C=E5=88=87=E6=8D=A2=E7=BB=98?= =?UTF-8?q?=E5=9B=BE=E7=B1=BB=E5=9E=8B=E6=B3=A2=E5=BD=A2=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BABUG=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logPlus/formdraw.cpp | 2 ++ logPlus/qmycustomplot.cpp | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/logPlus/formdraw.cpp b/logPlus/formdraw.cpp index fd5230d..eb9dfaf 100644 --- a/logPlus/formdraw.cpp +++ b/logPlus/formdraw.cpp @@ -936,6 +936,8 @@ void FormDraw::setRowHeight(double dHight, QProgressBar *progressBar, int iSplit QMyCustomPlot *form = (QMyCustomPlot*)childWidget; if(form) { + form->m_iY1 = m_iY1; + form->m_iY2 = m_iY2; int nw = form->geometry().width(); form->setGeometry(0, 0, nw, (int)dHight);//7500-3184 //深度改变 diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index 46b8c12..2e6f0c3 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -202,8 +202,6 @@ void QMyCustomPlot::initWave(QString strSlfName, QString strWaveName) // m_iY1 = 0.0 -_EDep; // m_iY2 = 0.0 -_SDep; //------------------------ - widget->m_iX1 = vmin; - widget->m_iX2 = vmax; widget->m_iY1 = m_iY1; widget->m_iY2 = m_iY2; // @@ -272,8 +270,8 @@ void QMyCustomPlot::initWave2(QString strSlfName, QString strWaveName) float vmax = 264;// (float)_nSamples; float vmin = 0; - widget->m_iX1 = vmin; - widget->m_iX2 = vmax; + //widget->m_iX1 = vmin; + //widget->m_iX2 = vmax; // widget->xAxis->setRange(vmin, vmax); widget->yAxis->setRange(m_iY1, m_iY2);