mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#9011 Disable input controls controlled by automation
Disable fields controlled by automation and append label text with (overridden)
This commit is contained in:
@@ -55,6 +55,10 @@ void RimPlotAxisPropertiesInterface::LegendTickmarkCountEnum::setUp()
|
||||
RimPlotAxisPropertiesInterface::RimPlotAxisPropertiesInterface()
|
||||
: settingsChanged( this )
|
||||
{
|
||||
CAF_PDM_InitObject( "Time Axis Interface" );
|
||||
|
||||
CAF_PDM_InitField( &m_isAppearanceOverridden, "IsAppearanceOverridden", false, "IsAppearanceOverridden" );
|
||||
m_isAppearanceOverridden.uiCapability()->setUiHidden( true );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -73,6 +77,14 @@ bool RimPlotAxisPropertiesInterface::isLogarithmicScaleEnabled() const
|
||||
return false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimPlotAxisPropertiesInterface::setAppearanceOverridden( bool isOverridden )
|
||||
{
|
||||
m_isAppearanceOverridden = isOverridden;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -101,6 +113,14 @@ int RimPlotAxisPropertiesInterface::tickmarkCountFromEnum( LegendTickmarkCount c
|
||||
return maxTickmarkCount;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimPlotAxisPropertiesInterface::isAppearanceOverridden() const
|
||||
{
|
||||
return m_isAppearanceOverridden();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user