mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#849 Added Import Summary Case command
This commit is contained in:
@@ -82,8 +82,6 @@ RimProject::RimProject(void)
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&scriptCollection, "ScriptCollection", "Scripts", ":/Default.png", "", "");
|
||||
scriptCollection.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitFieldNoDefault(&treeViewState, "TreeViewState", "", "", "", "");
|
||||
treeViewState.uiCapability()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&wellPathImport, "WellPathImport", "WellPathImport", "", "", "");
|
||||
wellPathImport = new RimWellPathImport();
|
||||
@@ -100,8 +98,15 @@ RimProject::RimProject(void)
|
||||
CAF_PDM_InitFieldNoDefault(&commandObjects, "CommandObjects", "CommandObjects", "", "", "");
|
||||
//wellPathImport.uiCapability()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(¤tModelIndexPath, "TreeViewCurrentModelIndexPath", "", "", "", "");
|
||||
currentModelIndexPath.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitFieldNoDefault(&mainWindowTreeViewState, "TreeViewState", "", "", "", "");
|
||||
mainWindowTreeViewState.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitFieldNoDefault(&mainWindowCurrentModelIndexPath, "TreeViewCurrentModelIndexPath", "", "", "", "");
|
||||
mainWindowCurrentModelIndexPath.uiCapability()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&plotWindowTreeViewState, "PlotWindowTreeViewState", "", "", "", "");
|
||||
plotWindowTreeViewState.uiCapability()->setUiHidden(true);
|
||||
CAF_PDM_InitFieldNoDefault(&plotWindowCurrentModelIndexPath, "PlotWindowTreeViewCurrentModelIndexPath", "", "", "", "");
|
||||
plotWindowCurrentModelIndexPath.uiCapability()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitField(&m_show3DWindow, "show3DWindow", true, "Show 3D Window", "", "", "");
|
||||
m_show3DWindow.uiCapability()->setUiHidden(true);
|
||||
@@ -177,8 +182,10 @@ void RimProject::close()
|
||||
|
||||
nextValidCaseId = 0;
|
||||
nextValidCaseGroupId = 0;
|
||||
currentModelIndexPath = "";
|
||||
treeViewState = "";
|
||||
mainWindowCurrentModelIndexPath = "";
|
||||
mainWindowTreeViewState = "";
|
||||
plotWindowCurrentModelIndexPath = "";
|
||||
plotWindowTreeViewState = "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -69,9 +69,12 @@ public:
|
||||
caf::PdmChildField<RimMainPlotCollection*> mainPlotCollection;
|
||||
caf::PdmChildField<RimViewLinkerCollection*> viewLinkerCollection;
|
||||
caf::PdmChildArrayField<RimCommandObject*> commandObjects;
|
||||
caf::PdmField<QString> treeViewState;
|
||||
caf::PdmField<QString> currentModelIndexPath;
|
||||
|
||||
caf::PdmField<QString> mainWindowTreeViewState;
|
||||
caf::PdmField<QString> mainWindowCurrentModelIndexPath;
|
||||
|
||||
caf::PdmField<QString> plotWindowTreeViewState;
|
||||
caf::PdmField<QString> plotWindowCurrentModelIndexPath;
|
||||
|
||||
void setScriptDirectories(const QString& scriptDirectories);
|
||||
QString projectFileVersionString() const;
|
||||
|
||||
Reference in New Issue
Block a user