三图一表,道宽设置2次,优化为1次统一设置

This commit is contained in:
jiayulong 2026-05-28 18:18:30 +08:00
parent 277346bceb
commit 183826b889

View File

@ -4948,6 +4948,7 @@ void MainWindowCurve::s_NewTrackChangeWidth(QString strWellName, double nW)
{
int iWidth = ui->tableWidget_2->columnWidth(i);//设置列宽
ui->tableWidget_2->setColumnWidth(i, iWidth + ntmpw + 6);
break;
}
}
}
@ -4987,8 +4988,15 @@ void MainWindowCurve::NewWellAndTrack(QString strWellName, QString strSlfName, Q
//不在道里,新建道+曲线
//新建道+曲线
emit CallManage::getInstance()->sig_NewTrack(m_strUuid, strWellName, strSlfName, strLineName, strType, nW);
//改变井宽
emit sig_NewTrackChangeWidth(strWellName, nW);
if(strType=="SantuyibiaoObject")
{
}
else
{
//改变井宽
emit sig_NewTrackChangeWidth(strWellName, nW);
}
}
else
{