mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Summary Multiplot: sync plot selection in tree with view (#8788)
* Make sure the subplot selected in the tree is shown in the multiplot viewer. * Clean up multiplot toolbar handling a bit * Remove old summary plot toolbar.
This commit is contained in:
@@ -492,30 +492,6 @@ int RimMultiPlot::rowsPerPage() const
|
||||
return rowCount;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmFieldHandle* RimMultiPlot::columnCountField()
|
||||
{
|
||||
return &m_columnCount;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmFieldHandle* RimMultiPlot::rowsPerPageField()
|
||||
{
|
||||
return &m_rowsPerPage;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmFieldHandle* RimMultiPlot::pagePreviewField()
|
||||
{
|
||||
return &m_pagePreviewMode;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -913,3 +889,11 @@ bool RimMultiPlot::isMouseCursorInsidePlot()
|
||||
if ( !m_viewer ) return false;
|
||||
return m_viewer->underMouse();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<caf::PdmFieldHandle*> RimMultiPlot::fieldsToShowInToolbar()
|
||||
{
|
||||
return { &m_pagePreviewMode, &m_columnCount, &m_rowsPerPage };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user