#1214 Implemented snapshot of well allocation plot

This commit is contained in:
Magne Sjaastad
2017-02-13 15:47:24 +01:00
parent 093e02287a
commit 92f4abe7c2
2 changed files with 13 additions and 2 deletions

View File

@@ -599,7 +599,11 @@ QImage RimWellAllocationPlot::snapshotWindowContent()
{
QImage image;
// TODO
if (m_wellAllocationPlotWidget)
{
QPixmap pix = QPixmap::grabWidget(m_wellAllocationPlotWidget);
image = pix.toImage();
}
return image;
}