#6236 Change Correlation plots to use caf::Signals

This commit is contained in:
Gaute Lindkvist
2020-07-29 15:24:25 +02:00
parent 658cffd8e0
commit eee30f3d1d
7 changed files with 19 additions and 30 deletions

View File

@@ -67,6 +67,7 @@ CAF_PDM_SOURCE_INIT( RimCorrelationPlot, "CorrelationPlot" );
//--------------------------------------------------------------------------------------------------
RimCorrelationPlot::RimCorrelationPlot()
: RimAbstractCorrelationPlot()
, tornadoItemSelected( this )
{
CAF_PDM_InitObject( "Correlation Tornado Plot", ":/CorrelationTornadoPlot16x16.png", "", "" );
@@ -372,7 +373,7 @@ void RimCorrelationPlot::onPlotItemSelected( QwtPlotItem* plotItem, bool toggle,
{
if ( barTitle.text() == param.name )
{
emit tornadoItemSelected( param.name, curveDef );
tornadoItemSelected.send( std::make_pair( param.name, curveDef ) );
}
}
}