mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1173 Hide legend in the Well Log part of the Well Alloc Plot by default
This commit is contained in:
parent
3e7413831a
commit
2e806e0cb7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user