mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1071 Added fracture icons (created by JacobStoren)
This commit is contained in:
parent
40cce6f990
commit
d0b669b987
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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", "", "", "");
|
||||
|
||||
|
@ -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", "", "", "");
|
||||
|
||||
|
@ -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", "", "", "");
|
||||
|
||||
|
@ -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", "", "", "");
|
||||
|
||||
|
BIN
ApplicationCode/Resources/Fracture16x16.png
Normal file
BIN
ApplicationCode/Resources/Fracture16x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 665 B |
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user