算法画面标题显示处理文件名
This commit is contained in:
parent
b7226361da
commit
eb9149f1b5
|
|
@ -976,6 +976,15 @@ void MainWindowCurve::s_ModuleOpen()
|
||||||
pModuleConsole->m_pWorkflowDataModel = new CWellLogWorkflowDataModel();
|
pModuleConsole->m_pWorkflowDataModel = new CWellLogWorkflowDataModel();
|
||||||
pDialog->m_CurrentSLFFileName = strSlfName;
|
pDialog->m_CurrentSLFFileName = strSlfName;
|
||||||
pDialog->CreatParamControlWidget();
|
pDialog->CreatParamControlWidget();
|
||||||
|
|
||||||
|
QString subStr = strSlfName;
|
||||||
|
int startPos = strSlfName.indexOf("Logdata");
|
||||||
|
if (startPos>=0)
|
||||||
|
{
|
||||||
|
subStr = subStr.right(strSlfName.length() - startPos - 7);
|
||||||
|
}
|
||||||
|
pDialog->setWindowTitle(subStr);
|
||||||
|
|
||||||
pDialog->show();
|
pDialog->show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user