(#665) Icons for cross sections

This commit is contained in:
Jacob Støren 2015-11-24 13:26:45 +01:00
parent c588a1fe69
commit e0b8f6e06b
5 changed files with 5 additions and 3 deletions

View File

@ -60,7 +60,7 @@ CAF_PDM_SOURCE_INIT(RimCrossSection, "CrossSection");
//--------------------------------------------------------------------------------------------------
RimCrossSection::RimCrossSection()
{
CAF_PDM_InitObject("Intersection", "", "", "");
CAF_PDM_InitObject("Intersection", ":/CrossSection16x16.png", "", "");
CAF_PDM_InitField(&name, "UserDescription", QString("Intersection Name"), "Name", "", "", "");
CAF_PDM_InitField(&isActive, "Active", true, "Active", "", "", "");

View File

@ -32,7 +32,7 @@ CAF_PDM_SOURCE_INIT(RimCrossSectionCollection, "CrossSectionCollection");
//--------------------------------------------------------------------------------------------------
RimCrossSectionCollection::RimCrossSectionCollection()
{
CAF_PDM_InitObject("Intersections", ":/undefined_image.png", "", "");
CAF_PDM_InitObject("Intersections", ":/CrossSections16x16.png", "", "");
CAF_PDM_InitFieldNoDefault(&m_crossSections, "CrossSections", "Intersections", "", "", "");
m_crossSections.uiCapability()->setUiHidden(true);

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 848 B

View File

@ -54,7 +54,9 @@
<file>WellLogPlot16x16.png</file>
<file>WellLogPlots16x16.png</file>
<file>WellLogCurve16x16.png</file>
</qresource>
<file>CrossSection16x16.png</file>
<file>CrossSections16x16.png</file>
</qresource>
<qresource prefix="/Shader/">
<file>fs_CellFace.glsl</file>
<file>vs_CellFace.glsl</file>