X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_FeatureMessage.cpp;h=09c288d7d955f7cb0e40c11dc1ab7ccffed92460;hb=d335fa85ad1b38088f011253a3189276556cc959;hp=c650cf48272ac933bacaf73a741fece63dd7f44f;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/Config/Config_FeatureMessage.cpp b/src/Config/Config_FeatureMessage.cpp index c650cf482..09c288d7d 100644 --- a/src/Config/Config_FeatureMessage.cpp +++ b/src/Config/Config_FeatureMessage.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -38,7 +38,10 @@ Config_FeatureMessage::Config_FeatureMessage(const Events_ID theId, const void* myUseInput = false; myNestedFeatures = ""; myModal = false; + myIsTitleInToolbar = true; myIsApplyContinue = false; + myHideFacesPanel = false; + myAbortConfirmation = true; } Config_FeatureMessage::~Config_FeatureMessage() @@ -141,11 +144,12 @@ const std::string& Config_FeatureMessage::pluginLibrary() const return myPluginLibrary; } -void Config_FeatureMessage::setPluginLibrary(const std::string& myPluginLibrary) +void Config_FeatureMessage::setPluginLibrary(const std::string& thePluginLibrary) { - this->myPluginLibrary = myPluginLibrary; + this->myPluginLibrary = thePluginLibrary; } +// LCOV_EXCL_START bool Config_FeatureMessage::isUseInput() const { return myUseInput; @@ -161,6 +165,11 @@ bool Config_FeatureMessage::isAutoPreview() const return myIsAutoPreview; } +bool Config_FeatureMessage::isTitleInToolbar() const +{ + return myIsTitleInToolbar; +} + bool Config_FeatureMessage::isModal() const { return myModal; @@ -170,7 +179,7 @@ bool Config_FeatureMessage::isApplyContinue() const { return myIsApplyContinue; } - +// LCOV_EXCL_STOP void Config_FeatureMessage::setUseInput(bool isUseInput) { @@ -225,4 +234,30 @@ const std::string& Config_FeatureMessage::helpFileName() const void Config_FeatureMessage::setHelpFileName(const std::string& aName) { myHelpFile = aName; -} \ No newline at end of file +} + +void Config_FeatureMessage::setTitleInToolbar(bool theValue) +{ + myIsTitleInToolbar = theValue; +} + +bool Config_FeatureMessage::isHideFacesPanel() const +{ + return myHideFacesPanel; +} + + +void Config_FeatureMessage::setHideFacesPanel(bool theValue) +{ + myHideFacesPanel = theValue; +} + +bool Config_FeatureMessage::isAbortConfirmation() const +{ + return myAbortConfirmation; +} + +void Config_FeatureMessage::setAbortConfirmation(bool theValue) +{ + myAbortConfirmation = theValue; +}