初始化formimage底部深度

改变深度后重新计算绘图区域的顶部底部深度
This commit is contained in:
DESKTOP-450PEFP\mainc 2026-06-15 17:47:23 +08:00
parent a887e9c2ab
commit bcdcbe12e8
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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();