mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7453 StimPlanModel: Add pressure date to pressure table.
Also start using it in header and plot.
This commit is contained in:
committed by
Magne Sjaastad
parent
f051f009bc
commit
c1ff038642
@@ -84,3 +84,14 @@ void RimPressureTableItem::fieldChangedByUi( const caf::PdmFieldHandle* changedF
|
||||
{
|
||||
changed.send();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimPressureTableItem::setPressureDate( const QString& pressureDate )
|
||||
{
|
||||
if ( pressureDate.isEmpty() )
|
||||
m_pressure.uiCapability()->setUiName( "Pressure [Bar]" );
|
||||
else
|
||||
m_pressure.uiCapability()->setUiName( QString( "Pressure %1 [Bar]" ).arg( pressureDate ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user