Implement doRenderWindowContent

Note: Not tested!
This commit is contained in:
Jørgen Herje 2023-04-17 10:33:17 +02:00 committed by Magne Sjaastad
parent cfca0ac665
commit 0f0cc4c5a8

View File

@ -51,6 +51,8 @@
#include "cvfScalarMapper.h"
#include <QPainter>
CAF_PDM_SOURCE_INIT( RimWellConnectivityTable, "RimWellConnectivityTable" );
//--------------------------------------------------------------------------------------------------
@ -784,7 +786,12 @@ QString RimWellConnectivityTable::description() const
//--------------------------------------------------------------------------------------------------
void RimWellConnectivityTable::doRenderWindowContent( QPaintDevice* paintDevice )
{
return;
// Note: Not tested yet!
if ( m_matrixPlotWidget )
{
QPainter painter( paintDevice );
m_matrixPlotWidget->render( &painter );
}
}
//--------------------------------------------------------------------------------------------------