diff --git a/logPlus/formdraw.cpp b/logPlus/formdraw.cpp index f1db884..2f3f5ad 100644 --- a/logPlus/formdraw.cpp +++ b/logPlus/formdraw.cpp @@ -4344,6 +4344,7 @@ void FormDraw::s_addDrawImage(QString strUuid, QString strSlfName, QString strWe FormImage *pImg = new FormImage(this, strSlfName, strWellName, strTrackName, strLineName); pImg->setDepthY(m_iY1, m_iY2); pImg->initGeometry(m_strUuid, m_iScale, nW, m_pMinCurve->m_nObjDrawH); + pImg->initBottomDepth(m_pMinCurve->m_dBottomDepth); pImg->m_formTrack = m_formTrack; pImg->show(); _nSamples = 264; diff --git a/logPlus/mainwindowcurve.cpp b/logPlus/mainwindowcurve.cpp index 974afac..e9a37ab 100644 --- a/logPlus/mainwindowcurve.cpp +++ b/logPlus/mainwindowcurve.cpp @@ -775,9 +775,6 @@ void MainWindowCurve::vertScrollBarChanged(int iValue) //通知界面重设范围(三图一表) emit CallManage::getInstance()->sig_vertScrollBarChanged_santuyibiao(m_strUuid, value, -m_iY1, -m_iY2); - - double dv = getVisibleBottomDepth(); - qDebug() << "dv " << dv; //AppendConsole(PAI_INFO, "鼠标滚动结束"); } @@ -6362,6 +6359,8 @@ void MainWindowCurve::s_changeDepth(QString strUuid, QString strSlfName, QString //设置高度 //jyl ui->tableWidget_2->setRowHeight(1, (int)dHightOne); + m_dBottomDepth = this->getVisibleBottomDepth(); + emit CallManage::getInstance()->sig_ResizeDepth(m_strUuid, m_nObjDrawH, m_dBottomDepth); // progressBar->deleteLater(); //update();