(#498) Picking and displaying well log channel unit from LAS files

This commit is contained in:
Pål Hagen
2015-09-21 10:10:25 +02:00
parent 22d033669d
commit 5e8a6d90cd
7 changed files with 62 additions and 1 deletions

View File

@@ -112,6 +112,14 @@ void RimWellLogFileCurve::setWellLogChannelName(const QString& name)
m_wellLogChannnelName = name;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogFileCurve::setWellLogChannelUnit(const QString& name)
{
m_wellLogChannnelUnit = name;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -246,6 +254,11 @@ QString RimWellLogFileCurve::createCurveName()
txt += " : ";
txt += m_wellLogChannnelName;
if (!m_wellLogChannnelUnit().isEmpty())
{
txt += QString(" [%1]").arg(m_wellLogChannnelUnit);
}
return txt;
}