mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
1 parent
69d079f942
commit
68d34d7000
12 files changed
+13
-7
No files matched your search
@@ -95,5 +95,5 @@ void RicNew2dContourViewFeature::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
actionToSetup->setText("New Contour Map");
|
||||
}
|
||||
actionToSetup->setIcon(QIcon(":/3DView16x16.png"));
|
||||
actionToSetup->setIcon(QIcon(":/2DMap16x16.png"));
|
||||
}
|
||||
@@ -106,17 +106,17 @@ void RicNewWellPathAttributeFeature::setupActionLook(QAction* actionToSetup)
|
||||
if (attributes.size() == 1u)
|
||||
{
|
||||
actionToSetup->setText(QString("Insert New Attribute before %1").arg(attributes[0]->componentTypeLabel()));
|
||||
actionToSetup->setIcon(QIcon(":/Well.png"));
|
||||
actionToSetup->setIcon(QIcon(":/CasingDesign16x16.png"));
|
||||
}
|
||||
else if (caf::SelectionManager::instance()->selectedItemOfType<RimWellPathAttributeCollection>())
|
||||
{
|
||||
actionToSetup->setText("Append New Attribute");
|
||||
actionToSetup->setIcon(QIcon(":/Well.png"));
|
||||
actionToSetup->setIcon(QIcon(":/CasingDesign16x16.png"));
|
||||
}
|
||||
else if(caf::SelectionManager::instance()->selectedItemOfType<RimWellPath>())
|
||||
{
|
||||
actionToSetup->setText("Create Casing Design");
|
||||
actionToSetup->setIcon(QIcon(":/Well.png"));
|
||||
actionToSetup->setIcon(QIcon(":/CasingDesign16x16.png"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user