Salome HOME
Constriction type for all sketch entities
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index 3f5d8f2c1f10fb7afe73e430aa7bca542bc4b590..c2b067741db3bb8162dd48b7565ab87046036251 100644 (file)
@@ -166,6 +166,15 @@ Q_OBJECT
   //! Delete features
   void deleteObjects(const QObjectPtrList& theList);
 
+  //! Returns true if there is at least one selected body/construction/group result
+  //! \return boolean value
+  bool canChangeColor() const;
+
+  //! Change color of the features if it is possible
+  //! The operation is available for construction, body and group results
+  //! theObjects a list of selected objects
+  void changeColor(const QObjectPtrList& theObjects);
+
   //! Show the given features in 3d Viewer
   void showObjects(const QObjectPtrList& theList, bool isVisible);