mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#889 Added different icons to the intersection box tree items as well
This commit is contained in:
parent
45634df0e9
commit
8d5240aca5
@ -468,14 +468,21 @@ void RimIntersectionBox::updateVisibility()
|
||||
if (m_singlePlaneState == PLANE_STATE_X)
|
||||
{
|
||||
m_maxXCoord.uiCapability()->setUiReadOnly(true);
|
||||
this->setUiIcon(QIcon(QString(":/IntersectionXPlane16x16.png")));
|
||||
}
|
||||
else if (m_singlePlaneState == PLANE_STATE_Y)
|
||||
{
|
||||
m_maxYCoord.uiCapability()->setUiReadOnly(true);
|
||||
this->setUiIcon(QIcon(QString(":/IntersectionYPlane16x16.png")));
|
||||
}
|
||||
else if (m_singlePlaneState == PLANE_STATE_Z)
|
||||
{
|
||||
m_maxDepth.uiCapability()->setUiReadOnly(true);
|
||||
this->setUiIcon(QIcon(QString(":/IntersectionZPlane16x16.png")));
|
||||
}
|
||||
else
|
||||
{
|
||||
this->setUiIcon(QIcon(QString(":/IntersectionBox16x16.png")));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user