mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename caf::PdmUiItem::setUiIcon(QString) to setUiIconFromResourceString
This commit is contained in:
@@ -543,21 +543,21 @@ void RimIntersectionBox::updateVisibility()
|
||||
if (m_singlePlaneState == PLANE_STATE_X)
|
||||
{
|
||||
m_maxXCoord.uiCapability()->setUiReadOnly(true);
|
||||
this->setUiIcon(QString(":/IntersectionXPlane16x16.png"));
|
||||
this->setUiIconFromResourceString(QString(":/IntersectionXPlane16x16.png"));
|
||||
}
|
||||
else if (m_singlePlaneState == PLANE_STATE_Y)
|
||||
{
|
||||
m_maxYCoord.uiCapability()->setUiReadOnly(true);
|
||||
this->setUiIcon(QString(":/IntersectionYPlane16x16.png"));
|
||||
this->setUiIconFromResourceString(QString(":/IntersectionYPlane16x16.png"));
|
||||
}
|
||||
else if (m_singlePlaneState == PLANE_STATE_Z)
|
||||
{
|
||||
m_maxDepth.uiCapability()->setUiReadOnly(true);
|
||||
this->setUiIcon(QString(":/IntersectionZPlane16x16.png"));
|
||||
this->setUiIconFromResourceString(QString(":/IntersectionZPlane16x16.png"));
|
||||
}
|
||||
else
|
||||
{
|
||||
this->setUiIcon(QString(":/IntersectionBox16x16.png"));
|
||||
this->setUiIconFromResourceString(QString(":/IntersectionBox16x16.png"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user