mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#498) Picking and displaying well log channel unit from LAS files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user