#1018 : Added PdmUiTableView used to define multiple snapshot definitions

This commit is contained in:
Magne Sjaastad
2016-12-09 14:40:26 +01:00
parent 58caac451c
commit 06d120bd29
5 changed files with 79 additions and 8 deletions

View File

@@ -22,13 +22,14 @@
#include "RimProject.h"
#include "RiuExportMultipleSnapshotsWidget.h"
#include "cafCmdExecCommandManager.h"
#include <QAction>
CAF_CMD_SOURCE_INIT(RicExportMultipleSnapshotsFeature, "RicExportMultipleSnapshotsFeature");
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -48,6 +49,9 @@ void RicExportMultipleSnapshotsFeature::onActionTriggered(bool isChecked)
if (proj)
{
// Enable the command system to be able to assign a value to multiple fields at the same time
caf::CmdExecCommandSystemActivator activator;
RiuExportMultipleSnapshotsWidget dlg(nullptr, proj);
dlg.exec();
}