mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added constructor parameter to RimMultiPlotWindow for hiding contained plots in tree view
This commit is contained in:
parent
3b1b7aafbb
commit
4ce07ebb23
@ -46,7 +46,7 @@ CAF_PDM_SOURCE_INIT( RimMultiPlotWindow, "MultiPlot" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimMultiPlotWindow::RimMultiPlotWindow()
|
||||
RimMultiPlotWindow::RimMultiPlotWindow( bool hidePlotsInTreeView )
|
||||
: m_acceptDrops( true )
|
||||
{
|
||||
CAF_PDM_InitObject( "Multi Plot", ":/WellLogPlot16x16.png", "", "" );
|
||||
@ -56,6 +56,7 @@ RimMultiPlotWindow::RimMultiPlotWindow()
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_plots, "Tracks", "", "", "", "" );
|
||||
m_plots.uiCapability()->setUiHidden( true );
|
||||
m_plots.uiCapability()->setUiTreeChildrenHidden( hidePlotsInTreeView );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_columnCountEnum, "NumberOfColumns", "Number of Columns", "", "", "" );
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
using ColumnCountEnum = caf::AppEnum<ColumnCount>;
|
||||
|
||||
public:
|
||||
RimMultiPlotWindow();
|
||||
RimMultiPlotWindow( bool hidePlotsInTreeView = false );
|
||||
~RimMultiPlotWindow() override;
|
||||
|
||||
RimMultiPlotWindow& operator=( RimMultiPlotWindow&& rhs );
|
||||
|
Loading…
Reference in New Issue
Block a user