mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6236 Change Correlation plots to use caf::Signals
This commit is contained in:
@@ -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 ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user