Salome HOME
bos #24513 Dealing with conflicting constraints
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.h
index cae27a1d92115896c1f223a498b840234e95a1fa..23477a106afe2e5218320747bc62ec6dcd880e83 100644 (file)
@@ -339,6 +339,11 @@ bool MODULEBASE_EXPORT askToDelete(const std::set<FeaturePtr> aFeatures,
                                    std::set<FeaturePtr>& 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