Salome HOME
Constriction type for all sketch entities
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index 6ef022dfbc1dc8bfc18800935be88cbf45deaa28..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);
 
@@ -217,7 +226,9 @@ signals:
   //! the application is started
   void applicationStarted();
 
+  //! Signal to update Undo history list
   void updateUndoHistory(const QList<ActionInfo>&);
+  //! Signal to update Redo history list
   void updateRedoHistory(const QList<ActionInfo>&);
 
  public slots: