#1173 Hide legend in the Well Log part of the Well Alloc Plot by default

This commit is contained in:
Jacob Støren committed 2017-02-13 08:44:29 +01:00
1 parent 3e7413831a
commit 2e806e0cb7
3 files changed
+10

No files matched your search

@@ -75,6 +75,7 @@ RimWellAllocationPlot::RimWellAllocationPlot()
m_accumulatedWellFlowPlot = new RimWellLogPlot;
m_accumulatedWellFlowPlot->setDepthUnit(RimDefines::UNIT_NONE);
m_accumulatedWellFlowPlot->setDepthType(RimWellLogPlot::CONNECTION_NUMBER);
m_accumulatedWellFlowPlot->setTrackLegendsVisible(false);
CAF_PDM_InitFieldNoDefault(&m_totalWellAllocationPlot, "TotalWellFlowPlot", "Total Well Flow", "", "", "");
m_totalWellAllocationPlot.uiCapability()->setUiHidden(true);
@@ -637,6 +637,14 @@ bool RimWellLogPlot::isTrackLegendsVisible() const
return m_showTrackLegends();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogPlot::setTrackLegendsVisible(bool doShow)
{
m_showTrackLegends = doShow;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -69,6 +69,7 @@ public:
QString depthPlotTitle() const;
bool isTrackLegendsVisible() const;
void setTrackLegendsVisible(bool doShow);
void addTrack(RimWellLogTrack* track);
void insertTrack(RimWellLogTrack* track, size_t index);