Improve drag and drop features and right click commands (#8854)

This commit is contained in:
Magne Sjaastad
2022-04-29 12:28:09 +02:00
committed by GitHub
parent 172f891be9
commit f54399960d
17 changed files with 700 additions and 55 deletions

View File

@@ -739,11 +739,14 @@ void RiuMultiPlotBook::dropEvent( QDropEvent* event )
RimSummaryMultiPlot* multiPlot = dynamic_cast<RimSummaryMultiPlot*>( m_plotDefinition.p() );
if ( multiPlot )
{
multiPlot->addPlot( objects );
multiPlot->handleDroppedObjects( objects );
}
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RiuMultiPlotBook::eventFilter( QObject* obj, QEvent* event )
{
if ( event->type() == QEvent::Wheel )