mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#665) Icons for cross sections
This commit is contained in:
parent
c588a1fe69
commit
e0b8f6e06b
@ -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", "", "", "");
|
||||
|
@ -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);
|
||||
|
BIN
ApplicationCode/Resources/CrossSection16x16.png
Normal file
BIN
ApplicationCode/Resources/CrossSection16x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 687 B |
BIN
ApplicationCode/Resources/CrossSections16x16.png
Normal file
BIN
ApplicationCode/Resources/CrossSections16x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 848 B |
@ -54,6 +54,8 @@
|
||||
<file>WellLogPlot16x16.png</file>
|
||||
<file>WellLogPlots16x16.png</file>
|
||||
<file>WellLogCurve16x16.png</file>
|
||||
<file>CrossSection16x16.png</file>
|
||||
<file>CrossSections16x16.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/Shader/">
|
||||
<file>fs_CellFace.glsl</file>
|
||||
|
Loading…
Reference in New Issue
Block a user