#1071 Added fracture icons (created by JacobStoren)

This commit is contained in:
Magne Sjaastad 2017-01-04 14:38:06 +01:00
parent 40cce6f990
commit d0b669b987
10 changed files with 9 additions and 8 deletions

View File

@ -72,7 +72,7 @@ void RicNewFractureDefinitionFeature::onActionTriggered(bool isChecked)
//--------------------------------------------------------------------------------------------------
void RicNewFractureDefinitionFeature::setupActionLook(QAction* actionToSetup)
{
// actionToSetup->setIcon(QIcon(":/CrossSection16x16.png"));
actionToSetup->setIcon(QIcon(":/Fracture16x16.png"));
actionToSetup->setText("New Fracture Template");
}

View File

@ -99,7 +99,7 @@ void RicNewSimWellFractureAtPosFeature::onActionTriggered(bool isChecked)
//--------------------------------------------------------------------------------------------------
void RicNewSimWellFractureAtPosFeature::setupActionLook(QAction* actionToSetup)
{
//actionToSetup->setIcon(QIcon(":/CrossSection16x16.png"));
actionToSetup->setIcon(QIcon(":/Fracture16x16.png"));
actionToSetup->setText("New Fracture");
}

View File

@ -81,7 +81,7 @@ void RicNewSimWellFractureFeature::onActionTriggered(bool isChecked)
//--------------------------------------------------------------------------------------------------
void RicNewSimWellFractureFeature::setupActionLook(QAction* actionToSetup)
{
//actionToSetup->setIcon(QIcon(":/CrossSection16x16.png"));
actionToSetup->setIcon(QIcon(":/Fracture16x16.png"));
actionToSetup->setText("New Fracture");
}

View File

@ -82,7 +82,7 @@ void RicNewWellPathFractureFeature::onActionTriggered(bool isChecked)
//--------------------------------------------------------------------------------------------------
void RicNewWellPathFractureFeature::setupActionLook(QAction* actionToSetup)
{
// actionToSetup->setIcon(QIcon(":/CrossSection16x16.png"));
actionToSetup->setIcon(QIcon(":/Fracture16x16.png"));
actionToSetup->setText("New Fracture");
}

View File

@ -43,7 +43,7 @@ CAF_PDM_SOURCE_INIT(RimSimWellFracture, "SimWellFracture");
//--------------------------------------------------------------------------------------------------
RimSimWellFracture::RimSimWellFracture(void)
{
CAF_PDM_InitObject("SimWellFracture", "", "", "");
CAF_PDM_InitObject("SimWellFracture", ":/Fracture16x16.png", "", "");
CAF_PDM_InitField(&name, "UserDescription", QString("Fracture Name"), "Name", "", "", "");

View File

@ -31,7 +31,7 @@ CAF_PDM_SOURCE_INIT(RimSimWellFractureCollection, "SimWellFractureCollection");
//--------------------------------------------------------------------------------------------------
RimSimWellFractureCollection::RimSimWellFractureCollection(void)
{
CAF_PDM_InitObject("Fractures", "", "", "");
CAF_PDM_InitObject("Fractures", ":/Fracture16x16.png", "", "");
CAF_PDM_InitField(&isActive, "Active", true, "Active", "", "", "");

View File

@ -44,7 +44,7 @@ CAF_PDM_SOURCE_INIT(RimWellPathFracture, "WellPathFracture");
//--------------------------------------------------------------------------------------------------
RimWellPathFracture::RimWellPathFracture(void)
{
CAF_PDM_InitObject("Fracture", "", "", "");
CAF_PDM_InitObject("Fracture", ":/Fracture16x16.png", "", "");
CAF_PDM_InitField(&name, "UserDescription", QString("Fracture Name"), "Name", "", "", "");

View File

@ -31,7 +31,7 @@ CAF_PDM_SOURCE_INIT(RimWellPathFractureCollection, "WellPathFractureCollection")
//--------------------------------------------------------------------------------------------------
RimWellPathFractureCollection::RimWellPathFractureCollection(void)
{
CAF_PDM_InitObject("Fractures", "", "", "");
CAF_PDM_InitObject("Fractures", ":/Fracture16x16.png", "", "");
CAF_PDM_InitField(&isActive, "Active", true, "Active", "", "", "");

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

View File

@ -80,6 +80,7 @@
<file>RightAxis16x16.png</file>
<file>BottomAxis16x16.png</file>
<file>Axes16x16.png</file>
<file>Fracture16x16.png</file>
</qresource>
<qresource prefix="/Shader/">
<file>fs_CellFace.glsl</file>