Salome HOME
Auto-rebuild management
[modules/shaper.git] / src / PartSet / PartSet_IconFactory.cpp
index 42b3d4d62f6f65b516232f300dbc7f603d3ba098..da1c13a4a2c42a8a55c3752a8819da37708cefa3 100644 (file)
@@ -64,11 +64,12 @@ QIcon PartSet_IconFactory::getIcon(ObjectPtr theObj)
       }
       break;
       case ModelAPI_StateMustBeUpdated: {
-        anIcon = ModuleBase_Tools::lighter(anIconString);
+        anIcon = ModuleBase_Tools::composite(":icons/toWork.png", anIconString);
+        //anIcon = ModuleBase_Tools::lighter(anIconString);
       }
       break;
       case ModelAPI_StateExecFailed: {
-        anIcon = ModuleBase_Tools::composite(":icons/exec_state_failed.png", anIconString);
+        anIcon = ModuleBase_Tools::composite(":icons/isFailed.png", anIconString);
       }
       break;
       case ModelAPI_StateInvalidArgument: {
@@ -80,8 +81,8 @@ QIcon PartSet_IconFactory::getIcon(ObjectPtr theObj)
     }
   }
 
-  if (theObj->data() && theObj->data()->execState() == ModelAPI_StateMustBeUpdated)
-    return QIcon(":pictures/constr_object_modified.png");
+  //if (theObj->data() && theObj->data()->execState() == ModelAPI_StateMustBeUpdated)
+  //  return QIcon(":pictures/constr_object_modified.png");
 
   std::string aGroup = theObj->groupName();
   if (aGroup == ModelAPI_ResultPart::group())