三图一表,道宽设置2次,优化为1次统一设置
This commit is contained in:
parent
277346bceb
commit
183826b889
|
|
@ -4948,6 +4948,7 @@ void MainWindowCurve::s_NewTrackChangeWidth(QString strWellName, double nW)
|
||||||
{
|
{
|
||||||
int iWidth = ui->tableWidget_2->columnWidth(i);//设置列宽
|
int iWidth = ui->tableWidget_2->columnWidth(i);//设置列宽
|
||||||
ui->tableWidget_2->setColumnWidth(i, iWidth + ntmpw + 6);
|
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 CallManage::getInstance()->sig_NewTrack(m_strUuid, strWellName, strSlfName, strLineName, strType, nW);
|
||||||
//改变井宽
|
if(strType=="SantuyibiaoObject")
|
||||||
emit sig_NewTrackChangeWidth(strWellName, nW);
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//改变井宽
|
||||||
|
emit sig_NewTrackChangeWidth(strWellName, nW);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user