#1503 Added icons to fishbones and perforations

This commit is contained in:
Jacob Støren 2017-06-05 11:12:13 +02:00
parent 1a36e0334b
commit c5264f56cb
18 changed files with 17 additions and 10 deletions

View File

@ -82,7 +82,7 @@ RiuWellPathSelectionItem* RicNewFishbonesSubsAtMeasuredDepthFeature::wellPathSel
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RicNewFishbonesSubsAtMeasuredDepthFeature::setupActionLook(QAction* actionToSetup) void RicNewFishbonesSubsAtMeasuredDepthFeature::setupActionLook(QAction* actionToSetup)
{ {
//actionToSetup->setIcon(QIcon(":/FractureSymbol16x16.png")); actionToSetup->setIcon(QIcon(":/FishBoneGroup16x16.png"));
actionToSetup->setText("New Fishbones Subs Definition"); actionToSetup->setText("New Fishbones Subs Definition");
} }

View File

@ -82,7 +82,7 @@ RimFishbonesCollection* RicNewFishbonesSubsFeature::selectedFishbonesCollection(
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RicNewFishbonesSubsFeature::setupActionLook(QAction* actionToSetup) void RicNewFishbonesSubsFeature::setupActionLook(QAction* actionToSetup)
{ {
//actionToSetup->setIcon(QIcon(":/FractureSymbol16x16.png")); actionToSetup->setIcon(QIcon(":/FishBoneGroup16x16.png"));
actionToSetup->setText("New Fishbones Subs Definition"); actionToSetup->setText("New Fishbones Subs Definition");
} }

View File

@ -80,7 +80,7 @@ void RicWellPathImportCompletionsFileFeature::onActionTriggered(bool isChecked)
void RicWellPathImportCompletionsFileFeature::setupActionLook(QAction* actionToSetup) void RicWellPathImportCompletionsFileFeature::setupActionLook(QAction* actionToSetup)
{ {
actionToSetup->setText("Import Completions from File"); actionToSetup->setText("Import Completions from File");
actionToSetup->setIcon(QIcon(":/Well.png")); actionToSetup->setIcon(QIcon(":/FishBoneGroupFromFile16x16.png"));
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------

View File

@ -31,7 +31,7 @@ CAF_PDM_SOURCE_INIT(RimFishboneWellPath, "WellPathCompletion");
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimFishboneWellPath::RimFishboneWellPath() RimFishboneWellPath::RimFishboneWellPath()
{ {
CAF_PDM_InitObject("WellPathCompletion", ":/Well.png", "", ""); CAF_PDM_InitObject("WellPathCompletion", ":/FishBoneLateralFromFile16x16.png", "", "");
CAF_PDM_InitFieldNoDefault(&m_coordinates, "Coordinates", "Coordinates", "", "", ""); CAF_PDM_InitFieldNoDefault(&m_coordinates, "Coordinates", "Coordinates", "", "", "");
m_coordinates.uiCapability()->setUiHidden(true); m_coordinates.uiCapability()->setUiHidden(true);
CAF_PDM_InitFieldNoDefault(&m_measuredDepths, "MeasuredDepth", "MeasuredDepth", "", "", ""); CAF_PDM_InitFieldNoDefault(&m_measuredDepths, "MeasuredDepth", "MeasuredDepth", "", "", "");

View File

@ -38,7 +38,7 @@ CAF_PDM_SOURCE_INIT(RimFishboneWellPathCollection, "WellPathCompletionCollection
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimFishboneWellPathCollection::RimFishboneWellPathCollection() RimFishboneWellPathCollection::RimFishboneWellPathCollection()
{ {
CAF_PDM_InitObject("WellPathCompletions", ":/WellCollection.png", "", ""); CAF_PDM_InitObject("WellPathCompletions", ":/FishBoneGroupFromFile16x16.png", "", "");
m_name.uiCapability()->setUiHidden(true); m_name.uiCapability()->setUiHidden(true);
m_name = "Well Paths"; m_name = "Well Paths";

View File

@ -37,7 +37,7 @@ CAF_PDM_SOURCE_INIT(RimFishbonesCollection, "FishbonesCollection");
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimFishbonesCollection::RimFishbonesCollection() RimFishbonesCollection::RimFishbonesCollection()
{ {
CAF_PDM_InitObject("Fishbones", ":/Folder.png", "", ""); CAF_PDM_InitObject("Fishbones", ":/FishBones16x16.png", "", "");
m_name.uiCapability()->setUiHidden(true); m_name.uiCapability()->setUiHidden(true);
m_name = "Fishbones"; m_name = "Fishbones";

View File

@ -57,7 +57,7 @@ namespace caf {
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimFishbonesMultipleSubs::RimFishbonesMultipleSubs() RimFishbonesMultipleSubs::RimFishbonesMultipleSubs()
{ {
CAF_PDM_InitObject("FishbonesMultipleSubs", ":/Default.png", "", ""); CAF_PDM_InitObject("FishbonesMultipleSubs", ":/FishBoneGroup16x16.png", "", "");
CAF_PDM_InitField(&fishbonesColor, "FishbonesColor", cvf::Color3f(0.999f, 0.333f, 0.999f), "Fishbones Color", "", "", ""); CAF_PDM_InitField(&fishbonesColor, "FishbonesColor", cvf::Color3f(0.999f, 0.333f, 0.999f), "Fishbones Color", "", "", "");

View File

@ -38,7 +38,7 @@ CAF_PDM_SOURCE_INIT(RimPerforationCollection, "PerforationCollection");
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimPerforationCollection::RimPerforationCollection() RimPerforationCollection::RimPerforationCollection()
{ {
CAF_PDM_InitObject("Perforations", ":/Folder.png", "", ""); CAF_PDM_InitObject("Perforations", ":/PerforationIntervals16x16.png", "", "");
m_name.uiCapability()->setUiHidden(true); m_name.uiCapability()->setUiHidden(true);
m_name = "Perforations"; m_name = "Perforations";

View File

@ -36,7 +36,7 @@ CAF_PDM_SOURCE_INIT(RimPerforationInterval, "Perforation");
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimPerforationInterval::RimPerforationInterval() RimPerforationInterval::RimPerforationInterval()
{ {
CAF_PDM_InitObject("Perforation", ":/Default.png", "", ""); CAF_PDM_InitObject("Perforation", ":/PerforationInterval16x16.png", "", "");
CAF_PDM_InitField(&m_startMD, "StartMeasuredDepth", 0.0, "Start MD [m]", "", "", ""); CAF_PDM_InitField(&m_startMD, "StartMeasuredDepth", 0.0, "Start MD [m]", "", "", "");
CAF_PDM_InitField(&m_endMD, "EndMeasuredDepth", 0.0, "End MD [m]", "", "", ""); CAF_PDM_InitField(&m_endMD, "EndMeasuredDepth", 0.0, "End MD [m]", "", "", "");

View File

@ -31,7 +31,7 @@ CAF_PDM_SOURCE_INIT(RimWellPathCompletions, "WellPathCompletions");
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimWellPathCompletions::RimWellPathCompletions() RimWellPathCompletions::RimWellPathCompletions()
{ {
CAF_PDM_InitObject("Completions", ":/WellCollection.png", "", ""); CAF_PDM_InitObject("Completions", ":/CompletionsSymbol16x16.png", "", "");
CAF_PDM_InitFieldNoDefault(&m_perforationCollection, "Perforations", "Perforations", "", "", ""); CAF_PDM_InitFieldNoDefault(&m_perforationCollection, "Perforations", "Perforations", "", "", "");
m_perforationCollection = new RimPerforationCollection; m_perforationCollection = new RimPerforationCollection;

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

View File

@ -80,6 +80,13 @@
<file>RightAxis16x16.png</file> <file>RightAxis16x16.png</file>
<file>BottomAxis16x16.png</file> <file>BottomAxis16x16.png</file>
<file>Axes16x16.png</file> <file>Axes16x16.png</file>
<file>FishBones16x16.png</file>
<file>FishBoneGroup16x16.png</file>
<file>FishBoneGroupFromFile16x16.png</file>
<file>FishBoneLateralFromFile16x16.png</file>
<file>PerforationInterval16x16.png</file>
<file>PerforationIntervals16x16.png</file>
<file>CompletionsSymbol16x16.png</file>
<file>WellAllocPlots16x16.png</file> <file>WellAllocPlots16x16.png</file>
<file>WellAllocPlot16x16.png</file> <file>WellAllocPlot16x16.png</file>
<file>WellFlowPlot16x16.png</file> <file>WellFlowPlot16x16.png</file>