mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 23:50:19 -05:00
Snapshot work in progress
This commit is contained in:
1 parent
361b4bc3db
commit
52df6fd283
20 files changed
+103
-89
No files matched your search
@@ -887,15 +887,9 @@ RiaApplication::ApplicationStatus RiaGuiApplication::handleArguments( gsl::not_n
|
||||
mainPlotWnd->show();
|
||||
mainPlotWnd->raise();
|
||||
|
||||
if ( snapshotHeight > -1 && snapshotWidth > -1 )
|
||||
{
|
||||
// TODO - handle snapshot view sizes
|
||||
// RiuMainWindowTools::setWindowSizeOnWidgetsInViewWindows( mainPlotWnd, snapshotWidth, snapshotHeight );
|
||||
}
|
||||
|
||||
processEvents();
|
||||
|
||||
RicSnapshotAllPlotsToFileFeature::exportSnapshotOfPlotsIntoFolder( snapshotFolder );
|
||||
RicSnapshotAllPlotsToFileFeature::exportSnapshotOfPlotsIntoFolder( snapshotFolder, snapshotWidth, snapshotHeight );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -905,15 +899,9 @@ RiaApplication::ApplicationStatus RiaGuiApplication::handleArguments( gsl::not_n
|
||||
mainWnd->show();
|
||||
mainWnd->raise();
|
||||
|
||||
if ( snapshotHeight > -1 && snapshotWidth > -1 )
|
||||
{
|
||||
// TODO - handle snapshot view sizes
|
||||
// RiuMainWindowTools::setFixedWindowSizeFor3dViews( mainWnd, snapshotWidth, snapshotHeight );
|
||||
}
|
||||
|
||||
processEvents();
|
||||
|
||||
RicSnapshotAllViewsToFileFeature::exportSnapshotOfViewsIntoFolder( snapshotFolder );
|
||||
RicSnapshotAllViewsToFileFeature::exportSnapshotOfViewsIntoFolder( snapshotFolder, snapshotWidth, snapshotHeight );
|
||||
}
|
||||
|
||||
auto mainPlotWnd = mainPlotWindow();
|
||||
|
||||
Reference in new issue
Block a user