mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
(#665) Icons for cross sections
This commit is contained in:
1 parent
c588a1fe69
commit
e0b8f6e06b
5 files changed
+5
-3
No files matched your search
@@ -60,7 +60,7 @@ CAF_PDM_SOURCE_INIT(RimCrossSection, "CrossSection");
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimCrossSection::RimCrossSection()
|
RimCrossSection::RimCrossSection()
|
||||||
{
|
{
|
||||||
CAF_PDM_InitObject("Intersection", "", "", "");
|
CAF_PDM_InitObject("Intersection", ":/CrossSection16x16.png", "", "");
|
||||||
|
|
||||||
CAF_PDM_InitField(&name, "UserDescription", QString("Intersection Name"), "Name", "", "", "");
|
CAF_PDM_InitField(&name, "UserDescription", QString("Intersection Name"), "Name", "", "", "");
|
||||||
CAF_PDM_InitField(&isActive, "Active", true, "Active", "", "", "");
|
CAF_PDM_InitField(&isActive, "Active", true, "Active", "", "", "");
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ CAF_PDM_SOURCE_INIT(RimCrossSectionCollection, "CrossSectionCollection");
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
RimCrossSectionCollection::RimCrossSectionCollection()
|
RimCrossSectionCollection::RimCrossSectionCollection()
|
||||||
{
|
{
|
||||||
CAF_PDM_InitObject("Intersections", ":/undefined_image.png", "", "");
|
CAF_PDM_InitObject("Intersections", ":/CrossSections16x16.png", "", "");
|
||||||
|
|
||||||
CAF_PDM_InitFieldNoDefault(&m_crossSections, "CrossSections", "Intersections", "", "", "");
|
CAF_PDM_InitFieldNoDefault(&m_crossSections, "CrossSections", "Intersections", "", "", "");
|
||||||
m_crossSections.uiCapability()->setUiHidden(true);
|
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 |
@@ -54,7 +54,9 @@
|
|||||||
<file>WellLogPlot16x16.png</file>
|
<file>WellLogPlot16x16.png</file>
|
||||||
<file>WellLogPlots16x16.png</file>
|
<file>WellLogPlots16x16.png</file>
|
||||||
<file>WellLogCurve16x16.png</file>
|
<file>WellLogCurve16x16.png</file>
|
||||||
</qresource>
|
<file>CrossSection16x16.png</file>
|
||||||
|
<file>CrossSections16x16.png</file>
|
||||||
|
</qresource>
|
||||||
<qresource prefix="/Shader/">
|
<qresource prefix="/Shader/">
|
||||||
<file>fs_CellFace.glsl</file>
|
<file>fs_CellFace.glsl</file>
|
||||||
<file>vs_CellFace.glsl</file>
|
<file>vs_CellFace.glsl</file>
|
||||||
|
|||||||
Reference in new issue
Block a user