///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2017 Statoil ASA // // ResInsight is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or // FITNESS FOR A PARTICULAR PURPOSE. // // See the GNU General Public License at // for more details. // ///////////////////////////////////////////////////////////////////////////////// #pragma once #include "cafPdmChildField.h" #include "cafPdmObject.h" class RicExportCarfinUi; class RicExportCompletionDataSettingsUi; class RicExportEclipseSectorModelUi; class RiuCreateMultipleFractionsUi; class RicHoloLensExportToFolderUi; class RicExportWellPathsUi; class RicExportLgrUi; class RimMockModelSettings; class RicCreateEnsembleSurfaceUi; class RicCreateEnsembleWellLogUi; //================================================================================================== /// /// This class is used as a container for UI specific data that is not part of the project tree view /// Example of use is to store export settings for complex export dialogs or settings for advanced /// creation of multiple objects /// /// The data in this object will be stored in the project file, as RimDialogData is a child object of /// RimProject /// //================================================================================================== class RimDialogData : public caf::PdmObject { CAF_PDM_HEADER_INIT; public: RimDialogData(); void clearProjectSpecificData(); RicExportCarfinUi* exportCarfin() const; QString exportCarfinDataAsString() const; void setExportCarfinDataFromString( const QString& data ); RicExportCompletionDataSettingsUi* exportCompletionData() const; RiuCreateMultipleFractionsUi* multipleFractionsData() const; RicHoloLensExportToFolderUi* holoLensExportToFolderData() const; RicExportWellPathsUi* wellPathsExportData() const; RicExportLgrUi* exportLgrData() const; RicExportEclipseSectorModelUi* exportSectorModelUi() const; RimMockModelSettings* mockModelSettings() const; RicCreateEnsembleSurfaceUi* createEnsembleSurfaceUi() const; RicCreateEnsembleWellLogUi* createEnsembleWellLogUi() const; private: caf::PdmChildField m_exportCarfin; caf::PdmChildField m_exportCompletionData; caf::PdmChildField m_multipleFractionsData; caf::PdmChildField m_holoLenseExportToFolderData; caf::PdmChildField m_exportWellPathsData; caf::PdmChildField m_exportLgrData; caf::PdmChildField m_exportSectorModelData; caf::PdmChildField m_mockModelSettings; caf::PdmChildField m_createEnsembleSurfaceUi; caf::PdmChildField m_createEnsembleWellLogUi; };