mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1018 Added loops for making multiple snapshots based on user input in widget. Filnames are generated, but no images saved yet.
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
|
||||
#include "RiaApplication.h"
|
||||
|
||||
#include "RicExportMultipleSnapshotsFeature.h"
|
||||
|
||||
#include "RimCase.h"
|
||||
#include "RimMultiSnapshotDefinition.h"
|
||||
#include "RimProject.h"
|
||||
@@ -164,8 +166,9 @@ void RiuExportMultipleSnapshotsWidget::deleteAllSnapshotItems()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuExportMultipleSnapshotsWidget::exportSnapshots()
|
||||
{
|
||||
// TODO: wire up call of static method
|
||||
// RicExportMultipleSnapshotsFeature::staticMethod()
|
||||
QString dummyFolder = "folder"; //TODO: Must be a real folder before saving images!!!
|
||||
RicExportMultipleSnapshotsFeature::exportMultipleSnapshots(dummyFolder, m_rimProject);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user