///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2018- Equinor 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 "RimNameConfig.h" //================================================================================================== /// /// //================================================================================================== class RimWellLogPlotNameConfig : public RimNameConfig { CAF_PDM_HEADER_INIT; public: RimWellLogPlotNameConfig(); bool addCaseName() const; bool addWellName() const; bool addTimeStep() const; bool addAirGap() const; bool addWaterDepth() const; void setAutoNameTags( bool addCaseName, bool addWellName, bool addTimeStep, bool addAirGap, bool addWaterDepth ); void setFieldVisibility( bool caseNameVisible, bool wellNameVisible, bool timeStepVisible, bool airGapVisible, bool waterDepthVisible ); protected: void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override; private: void doEnableAllAutoNameTags( bool enable ) override; private: caf::PdmField m_addCaseName; caf::PdmField m_addWellName; caf::PdmField m_addTimestep; caf::PdmField m_addAirGap; caf::PdmField m_addWaterDepth; };