mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Implemented 'Change color of list view #6512'. Style of list widget can now be changed in style sheet by using the dynamic property state="ExternalInput".
This commit is contained in:
committed by
Gaute Lindkvist
parent
23f581d7a0
commit
719feac15e
@@ -703,9 +703,11 @@ void RimExtrudedCurveIntersection::setPushButtonText( bool buttonEnable, caf::Pd
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimExtrudedCurveIntersection::setBaseColor( bool enable, caf::PdmUiListEditorAttribute* attribute )
|
||||
{
|
||||
if ( attribute && enable )
|
||||
// if ( attribute && enable )
|
||||
if ( attribute )
|
||||
{
|
||||
attribute->m_baseColor.setRgb( 255, 220, 255 );
|
||||
attribute->m_qssState = enable ? "ExternalInput" : QString();
|
||||
// attribute->m_baseColor.setRgb( 255, 220, 255 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user