X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_Tools.h;h=23477a106afe2e5218320747bc62ec6dcd880e83;hb=cdbbde4803e9c320204d537d22af4ac7ef024962;hp=cae27a1d92115896c1f223a498b840234e95a1fa;hpb=b75fbaee34f661f219f901aa89f72d1d2e906425;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_Tools.h b/src/ModuleBase/ModuleBase_Tools.h index cae27a1d9..23477a106 100644 --- a/src/ModuleBase/ModuleBase_Tools.h +++ b/src/ModuleBase/ModuleBase_Tools.h @@ -339,6 +339,11 @@ bool MODULEBASE_EXPORT askToDelete(const std::set aFeatures, std::set& theReferencesToDelete, const std::string& thePrefixInfo = ""); +/// Shows a message box about conflicting constraints. +/// \param theParent a parent widget for the message box +/// \param theWarningText text describing the cause of the conflict +bool MODULEBASE_EXPORT warningAboutConflict(QWidget* theParent, const std::string& theWarningText); + /// Converts a list of objects to set of corresponded features. If object is result, it is ignored /// because the feature only might be removed. But if result is in a parameter group, the feature /// of this parameter is to be removed