mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1214 Implemented snapshot of well allocation plot
This commit is contained in:
@@ -599,7 +599,11 @@ QImage RimWellAllocationPlot::snapshotWindowContent()
|
||||
{
|
||||
QImage image;
|
||||
|
||||
// TODO
|
||||
if (m_wellAllocationPlotWidget)
|
||||
{
|
||||
QPixmap pix = QPixmap::grabWidget(m_wellAllocationPlotWidget);
|
||||
image = pix.toImage();
|
||||
}
|
||||
|
||||
return image;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user